T08 · Insecure Dependencies
- Location
SKILL.md:50- Finding
Unpinned Third-Party Dependencies and Mutable Repository Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish and verify the expected commit SHA through a trusted release channel. 3. Pin every direct and transitive Python dependency to an exact version. 4. Generate a reviewed lockfile containing cryptographic hashes and install with: ```bash pip install --require-hashes -r requirements.lock ``` 5. Include the lockfile and dependency inventory in the Skill artifact so they can be audited. 6. Use an isolated virtual environment or container with minimal filesystem and network permissions. 7. Disable unnecessary package indexes and explicitly configure a trusted package source. 8. Add automated dependency scanning, provenance verification, and reproducible-build checks. 9. Test upgrades separately and require review before changing repository commits or dependency versions. ]]>
