T08 · Insecure Dependencies
- Location
SKILL.md:103- Finding
Unpinned third-party dependency installation in the primary skill documentation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 103-111
Vulnerability Type: Unpinned and integrity-unverified Python dependencies
Risk Level: MediumVulnerable Code
bash ## Installation ```bash # Install dependencies pip3 install aiohttp loguru pycryptodome getuseragent # Or use the install script chmod +x install.sh ./install.shTechnical Analysis
The installation command resolves mutable package releases from the Python package index configured in the user's environment. It does not specify exact versions, cryptographic hashes, a lockfile, or an explicitly trusted package source.
Consequently, the effective code installed by this command can change independently of the reviewed skill. Relevant supply-chain threats include compromise of a legitimate package release, use of an untrusted package index, dependency confusion, and package substitution. When source distributions are selected, package build backends can execute code during installation. Installed dependencies can also execute code when subsequently imported by the described assistant.
The alternative instructions refer to
install.sh, but that file is not included in the audited artifact. Its behavior therefore cannot be reviewed, and the command will fail for the package as provided.No evidence establishes that any named package is currently malicious. The vulnerability is the absence of dependency pinning, integrity verification, and reproducible dependency metadata.
Attack Path
- A user or agent follows the documented installation procedure.
pip3queries the package indexes configured in the execution environment.- Because no versions or hashes are constrained,
pip3accepts whatever compatible releases the index currently supplies. - An attacker who compromises a selected release or influences package resolution supplies malicious package or build code.
- The malicious code runs during ...[truncated 857 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin every direct and transitive dependency to an exact reviewed version.
- Generate and ship a lockfile containing cryptographic hashes for all supported platforms.
- Install dependencies using hash enforcement, such as
pip install --require-hashes -r requirements.txt. - Document the trusted package index and prevent unintended fallback to uncontrolled indexes.
- Regularly scan the locked dependency set for known vulnerabilities and review updates before changing pins.
- Perform installation inside an isolated virtual environment or container using a non-privileged account.
- Include
install.shin the package for review or remove all references to it. - If an installer is added, ensure it uses the same pinned, hash-verified dependency manifest and does not download or execute unreviewed remote content.
