T08 · Insecure Dependencies
- Location
SKILL.md:194- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and verify cryptographic hashes for the package and all transitive dependencies: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lock file produced from a controlled build process and commit it to the project. 4. Explicitly document the trusted package index and avoid untrusted extra indexes. 5. Prefer a dedicated virtual environment rather than installing into the user's global Python environment. 6. Review dependency updates before changing the pinned version. 7. Replace all bare `pip3 install imapclient` instructions with the locked, hash-verified installation procedure. ]]>
