T08 · Insecure Dependencies
- Location
README.md:64- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and publish cryptographic hashes for every supported distribution, then require hash verification: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lockfile or constraints file to make dependency resolution reproducible. 4. Document installation from the official package index using an explicit index URL where appropriate. 5. Periodically review pinned versions for security advisories and update them through a controlled review process. 6. Prefer installation inside a dedicated virtual environment with no unnecessary access to sensitive files or credentials. ]]>
