T08 · Insecure Dependencies
- Location
SKILL.md:35- Finding
Unpinned Third-Party Python Dependency
- Content
View full analysis
- Remediation
View remediation
" ``` - Record and verify cryptographic hashes in a requirements or lock file, and install with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.txt ``` - Lock and review all transitive dependencies, not only the direct `wikipedia` dependency. - Obtain packages exclusively from an explicitly configured trusted index. - Prefer reviewed binary wheels where appropriate and prohibit unexpected source builds. - Install the dependency in an isolated virtual environment using an unprivileged account. - Integrate dependency vulnerability and provenance checks into the release process, and update the pinned version only after review and testing. ]]>
