T08 · Insecure Dependencies
- Location
SKILL.md:6- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
Pillow== ``` 2. Generate and verify cryptographic hashes for every direct and transitive dependency, then install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lockfile or fully resolved requirements file so transitive dependencies are also pinned. 4. Configure installation to use an approved package index or internally controlled mirror. 5. Review dependency updates before changing pinned versions and enable automated vulnerability monitoring. 6. Install dependencies inside an isolated virtual environment or container under a non-privileged account. 7. Avoid running package installation as `root` or with administrative privileges. ]]>
