T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:59
- Finding
- Unpinned Runtime Dependency Installation## Vulnerability Details **File Location**: `SKILL.md:59-71` **Vulnerability Type**: Supply-chain exposure through unpinned Python dependencies **Risk Level**: Medium ```bash pip install python-docx openpyxl pymupdf ``` ### Technical 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 1. An attacker compromises a listed package, one of its transitive dependencies, or the package index used by the environment. 2. The victim follows the documented installation command. 3. `pip` resolves and installs the attacker-controlled release. 4. 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 `pip` or 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
- ## 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.
