T08 · Insecure Dependencies
- Location
SKILL.md:34- Finding
Unpinned Third-Party Python Dependencies Create a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
soundfile== scipy== pyloudnorm== pesq== pystoi== librosa== ``` 2. Generate cryptographic hashes for every direct and transitive package. 3. Require hash validation during installation: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Use a dependency lock or constraints file so transitive dependency resolution is reproducible. 5. Document the trusted package index and avoid implicitly using arbitrary mirrors or additional indexes. 6. Run dependency vulnerability and provenance checks in continuous integration. 7. Review and update pinned packages through a controlled process rather than allowing automatic installation of newly published releases. ]]>
