T08 · Insecure Dependencies
- Location
requirements.txt:1- Finding
Unpinned Third-Party Dependencies Allow Uncontrolled Package Resolution
- Content
View full analysis
- Remediation
View remediation
scipy== ``` 2. Generate a locked dependency file that includes all transitive dependencies. 3. Record cryptographic hashes and install with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.lock ``` 4. Configure installation to use an explicitly trusted package index rather than inheriting arbitrary user index settings. 5. Scan locked dependencies for known vulnerabilities and review updates before changing pinned versions. 6. Perform installation in an isolated, least-privileged virtual environment or container. ]]>
