T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Store dependencies in a lock file or requirements file containing cryptographic hashes. 3. Install with hash enforcement, for example: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Pin and review relevant transitive dependencies through a reproducible dependency-management process. 5. Explicitly document the trusted package index and, where appropriate, disable untrusted supplemental indexes. 6. Run installation and execution in a dedicated virtual environment or sandbox under a non-privileged account. 7. Add automated dependency scanning and review dependency updates before changing the pinned version. ]]>
