T08 · Insecure Dependencies
- Location
SKILL.md:104- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and verify cryptographic hashes for the approved distribution files: ```text Pillow== \ --hash=sha256: ``` 3. Install with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Use a virtual environment and avoid installing dependencies with administrator privileges. 5. Periodically review and update the pinned version to incorporate security patches. 6. Obtain packages only from an explicitly trusted package index or internal mirror. 7. Add the lock file or hashed requirements file to the project so installations are reproducible. ]]>
