T08 · Insecure Dependencies
- Location
SKILL.md:11- Finding
Unpinned and Unverified Runtime Dependency Installation
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Publish and verify cryptographic hashes for the package and all transitive dependencies. Use a requirements file with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Generate the requirements file from a trusted index and commit it to the Skill package so installations are reproducible. 4. Explicitly document the authoritative package source and configure the expected index URL. Avoid untrusted additional package indexes. 5. Re-audit the pinned dependency before updating it, including its release artifacts, installation hooks, transitive dependencies, and CLI runtime behavior. 6. Install and run the CLI in an isolated virtual environment or container under a least-privileged account. Do not expose unrelated credentials or sensitive environment variables to that environment. 7. Where supported, verify signed release provenance or other publisher attestations before installation. ]]>
