T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Distribute a hash-locked requirements file containing hashes for the package and all transitive dependencies. 3. For `pip` installations, enforce integrity verification: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Record the expected package provenance, release version, artifact filenames, and SHA-256 hashes in the project. 5. Audit the pinned package and its transitive dependency graph before recommending installation. 6. Perform upgrades explicitly rather than resolving the latest release automatically, and repeat the security review whenever the pinned version or dependency set changes. 7. Prefer isolated installation with `pipx` and avoid running installation or package commands with administrator privileges. ]]>
