T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
Pillow== ``` 2. Generate a lock file that includes all transitive dependencies rather than constraining only direct dependencies. 3. Record cryptographic hashes for every permitted distribution and enforce them during installation: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Configure installation to use an explicitly trusted package index, and prevent fallback to untrusted or unintended indexes. 5. Remove the unconstrained upgrade recommendation. Dependency updates should be reviewed, tested, and accompanied by regenerated hashes before publication. 6. Run installation and the Skill as a non-administrative user inside an isolated virtual environment. Do not use `sudo pip` or an equivalent elevated installation process. 7. Add automated dependency scanning and provenance checks to the release process. Review both direct and transitive dependency changes before updating the lock file. 8. Update `SKILL.md` and `README.md` so all documented and automated installation paths use the same locked, hash-verified dependency set. ]]>
