T08 · Insecure Dependencies
- Location
SKILL.md:120- Finding
Unpinned Third-Party Package Installation in Generated Practice Instructions
- Content
View full analysis
- Remediation
View remediation
\ pandas== \ scikit-learn== ``` 2. Maintain dependencies in a lockfile or requirements file generated from a reviewed environment. 3. Require package hashes and enforce them with `pip install --require-hashes -r requirements.txt`. 4. Review and pin transitive dependencies, not only direct dependencies. 5. Use an explicitly trusted package index and prevent unintended fallback to untrusted or privately configured indexes where practical. 6. Run installation inside a dedicated virtual environment or sandbox with minimal filesystem and network privileges. 7. Require explicit user confirmation before an Agent executes any package-installation command. 8. Add automated dependency scanning and periodically review pinned versions for known vulnerabilities before updating them. ]]>
