T08 · Insecure Dependencies
- Location
SKILL.md:64- Finding
Unpinned Runtime Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and verify cryptographic hashes for every direct and transitive dependency, then install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lock-file workflow that records the complete dependency graph. 4. Install dependencies inside a dedicated virtual environment rather than the system Python environment. 5. Use only a trusted package index and explicitly configure the index URL in controlled deployment environments. 6. Integrate dependency vulnerability and integrity scanning into release maintenance. ]]>
