T08 · Insecure Dependencies
- Location
SKILL.md:7- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Use a requirements or lock file with cryptographic hashes, and install with hash enforcement: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Configure `pip` to use the expected authenticated package index rather than untrusted mirrors. 4. Review and pin transitive dependencies where applicable. 5. Run installation and EPUB generation in an isolated virtual environment or sandbox with minimal filesystem and network permissions. 6. Periodically update pinned versions only after reviewing release provenance, dependency changes, and known vulnerabilities. ]]>
