T08 · Insecure Dependencies
- Location
SKILL.md:24- Finding
Unpinned Third-Party Dependencies Create a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
requests== ``` 2. Generate and publish cryptographic hashes for every permitted distribution, then require hash verification: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Use a lock-file workflow such as `pip-tools`, Poetry, or an equivalent reproducible dependency manager. 4. Pin transitive dependencies as well as direct dependencies. 5. Review and update dependencies through a controlled process with vulnerability and provenance checks. 6. Advise users not to install the Skill with `sudo` or into a privileged global Python environment. 7. Consider isolating dependencies in a dedicated virtual environment. ]]>
