T08 · Insecure Dependencies
- Location
SKILL.md:59- Finding
Unpinned Runtime Dependency Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:59-71
Vulnerability Type: Supply-chain exposure through unpinned Python dependencies
Risk Level: Mediumbash pip install python-docx openpyxl pymupdfTechnical Analysis
The Skill instructs users to install three packages without exact version pins, integrity hashes, a lockfile, or an isolated environment. Although minimum versions are documented separately, the installation command resolves the latest matching packages from the configured Python package index.
This makes the effective code installed at runtime mutable after the Skill has been reviewed. Security depends on the integrity of the package registry, index configuration, package maintainers, and all transitive dependencies.
Attack Path
- An attacker compromises a listed package, one of its transitive dependencies, or the package index used by the environment.
- The victim follows the documented installation command.
pipresolves and installs the attacker-controlled release.- Malicious installation hooks or imported package code execute under the victim's account when the dependency is installed or the Skill processes a document.
Impact Assessment
Successful exploitation could execute arbitrary code with the privileges of the user running
pipor invoking the Skill. This may expose local documents, credentials accessible to that account, and other files within the account's permission scope. If installation is performed with elevated privileges, the impact could extend to system-wide compromise.- Remediation
View remediation
Remediation Suggestions
- Pin every direct and transitive dependency to a reviewed version.
- Use a lockfile or constraints file generated from a trusted environment.
- Require package hashes, such as through
pip install --require-hashes. - Install dependencies inside a dedicated, non-privileged virtual environment.
- Configure an approved package index and disable untrusted supplemental indexes.
- Add automated dependency vulnerability and integrity scanning.
- Upgrade packages through a controlled review process rather than resolving mutable versions during Skill execution.
