T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Third-Party Dependency Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Maintain dependencies in a lock file or requirements file containing cryptographic hashes. 3. Install with hash enforcement where practical: ```bash pip install --require-hashes -r requirements.txt ``` 4. Review and pin transitive dependencies rather than relying only on a top-level version constraint. 5. Document the expected package index and avoid untrusted or supplemental indexes that could enable dependency confusion. 6. Periodically scan pinned dependencies for disclosed vulnerabilities before upgrading them. ]]>
