T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party Dependencies Permit Supply-Chain Drift
- Content
View full analysis
- Remediation
View remediation
`. 2. Generate and commit a lockfile that also fixes all transitive dependency versions. 3. Require cryptographic hashes for downloaded distributions and reject artifacts whose hashes do not match. 4. Prefer reviewed binary wheels from a trusted package index, and explicitly restrict the allowed package index. 5. Configure installation to reject unexpected source distributions where practical, reducing exposure to build-time code execution. 6. Use automated dependency vulnerability and provenance scanning in CI. 7. Periodically update dependencies through a controlled review process rather than resolving unrestricted current releases during installation. ]]>
