T08 · Insecure Dependencies
- Location
SKILL.md:74- Finding
Unpinned Third-Party CLI Installation Enables Supply-Chain Substitution
- Content
View full analysis
- Remediation
View remediation
' ``` 2. Maintain a dependency lock file containing hashes and install with hash verification: ```bash python3 -m pip install --require-hashes -r requirements.lock ``` 3. Pin and review relevant transitive dependencies where feasible. 4. Remove the instruction to perform an unconditional upgrade before every use. 5. Upgrade only through a deliberate review process that validates release provenance, package signatures where available, changelogs, and dependency changes. 6. Prefer an isolated virtual environment or `pipx` installation rather than modifying the user's global Python environment. 7. Use a trusted, explicitly configured package index and prevent fallback to untrusted indexes. ]]>
