T08 · Insecure Dependencies
- Location
SKILL.md:24- Finding
Unpinned High-Privilege Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
``` 2. Use a lockfile that also pins all transitive dependencies. 3. Require package hashes through a hashed requirements file: ```bash pip install --require-hashes -r requirements.txt ``` 4. Document and enforce a trusted package index rather than allowing resolution from arbitrary configured indexes. 5. Review package provenance and release signatures before updating the pinned version. 6. Launch the dependency with a minimal environment containing only variables it strictly requires. 7. Isolate the automation process using a dedicated low-privilege operating-system account, container, virtual machine, or equivalent desktop sandbox. ]]>
