T08 · Insecure Dependencies
- Location
SKILL.md:4- Finding
Unpinned Third-Party Dependencies Execute with User Privileges
- Content
View full analysis
- Remediation
View remediation
' ``` 2. Use a locked dependency specification that also constrains transitive dependencies. 3. Require cryptographic hashes for downloaded artifacts where the installation mechanism supports them. 4. Document and restrict installation to a trusted package index. 5. Review the selected package artifacts and their dependency tree before release. 6. Avoid modifying pipx environments through hard-coded paths. Use supported pipx commands, such as dependency injection, with platform-independent environment discovery. 7. Run installation without administrative privileges and in an isolated environment. 8. Establish an update process in which dependency changes receive a new security review before constraints are modified. ]]>
