T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Security-Sensitive Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
``` 2. Maintain dependencies in a lock file with cryptographic hashes, such as a hash-locked `requirements.txt`. 3. Install with hash verification: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Document the expected package index and upstream repository rather than relying on the user's default package-index configuration. 5. Review dependency updates before changing the pinned version, including package ownership, release provenance, build configuration, and transitive dependencies. 6. Run the Skill under a dedicated, minimally privileged operating-system account or sandbox with access only to the required credentials and network destinations. 7. Prefer short-lived authentication tokens over reusable account passwords if the upstream service and library add support for them. ]]>
