T08 · Insecure Dependencies
- Location
SKILL.md:51- Finding
Unpinned and Inconsistently Named External Python Dependency
- Content
View full analysis
- Remediation
View remediation
\ --hash=sha256: ``` Install from a reviewed requirements file using: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Include the library source code in the audited repository, or provide a verifiable mapping between the package-index release, source commit, and signed release tag. 5. Prefer reviewed binary wheels and disable unnecessary source builds where practical: ```bash python -m pip install --only-binary=:all: --require-hashes -r requirements.txt ``` 6. Document the expected package publisher, official package-index URL, source repository, release signature, and artifact hashes. 7. Add automated checks that fail when documentation contains inconsistent package names or unpinned installation commands. 8. Install and run the dependency in a least-privileged virtual environment or container, without unrelated credentials or sensitive filesystem access. ]]>
