T08 · Insecure Dependencies
- Location
SKILL.md:227- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
--hash=sha256: ``` Install it with hash enforcement: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Pin npm or skill sources to an immutable package version or reviewed commit identifier. 4. Remove `-U` from the pip command so installation does not silently upgrade to an unreviewed release. 5. Document the authoritative package registry, publisher identity, and package provenance. 6. Verify available package signatures, attestations, checksums, and software bills of materials before installation. 7. Review package lifecycle hooks, setup scripts, plugin initialization code, and transitive dependencies before approving a new version. 8. Perform installation in an isolated environment with least-privilege filesystem access, restricted credentials, and limited network access. 9. Establish a controlled update process in which new versions are reviewed and tested before the pinned version is changed. ]]>
