T08 · Insecure Dependencies
- Location
SKILL.md:34- Finding
Unpinned Security-Sensitive Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
``` 2. Maintain a lock file that also pins transitive dependencies. 3. Require package hashes, for example through a hash-locked requirements file and: ```bash pip install --require-hashes -r requirements.txt ``` 4. Review dependency changes before updating the lock file, with particular attention to installation hooks, networking, and cookie handling. 5. Install and execute the CLI in an isolated virtual environment under a non-privileged user. 6. Use automated dependency vulnerability and provenance checks in the release process. 7. Document the expected package index and disable unintended extra indexes to reduce dependency-confusion exposure. ]]>
