T08 · Insecure Dependencies
- Location
SKILL.md:13- Finding
Unpinned Third-Party Dependency Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
``` 2. Maintain a lock file that records all transitive dependency versions. 3. Require package hashes, such as through `pip install --require-hashes -r requirements.txt`. 4. Document the expected package index and prohibit untrusted alternative indexes. 5. Review dependency updates before changing the pinned version. 6. Run the Skill in a least-privileged environment without access to unrelated secrets or files. 7. Do not allow an agent to install or upgrade dependencies automatically without explicit user authorization. ]]>
