T08 · Insecure Dependencies
- Location
SKILL.md:168- Finding
Unpinned Third-Party Package Installation Creates Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Obtain the package from its verified official source and document the expected publisher and repository. 3. Download and review the exact distribution artifact before recommending it. 4. Record cryptographic hashes in a requirements file and enforce them: ```text adata== --hash=sha256: ``` ```bash python -m pip install --require-hashes -r requirements.txt ``` 5. Pin and hash all transitive dependencies using a lockfile or reproducible dependency-management process. 6. Install the package in an isolated virtual environment or container under an unprivileged account. 7. Add automated dependency vulnerability, provenance, and integrity checks to the release-review process. ]]>
