T08 · Insecure Dependencies
- Location
requirements.txt:1- Finding
Unpinned Third-Party Runtime Dependencies
- Content
View full analysis
- Remediation
View remediation
pandas== scipy== ``` 2. Generate a fully resolved lock file that also pins transitive dependencies. 3. Record SHA-256 hashes for all permitted distributions and install with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Use a trusted, explicitly configured package index and disable unneeded fallback indexes. 5. Run dependency vulnerability and provenance checks in CI. 6. Review and deliberately update the lock file on a controlled schedule rather than resolving unrestricted versions during deployment. 7. Install and run the analyzer in a least-privileged virtual environment or container. ]]>
