T08 · Insecure Dependencies
- Location
SKILL.md:127- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Publish and verify SHA-256 hashes, using a requirements file with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. For source installation, pin and verify an immutable commit or signed tag rather than the default branch. 4. Document the expected package publisher, repository, release signature, and checksum. 5. Install inside a dedicated virtual environment with no elevated privileges. 6. Audit and lock transitive dependencies. 7. Re-review the installed package whenever the pinned version changes. ]]>
