T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Third-Party CLI Dependency
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Generate and commit a lock file that fixes all transitive dependency versions. 3. Require cryptographic hashes for resolved packages where supported, and fail installation on a hash mismatch. 4. Configure installation to use an explicitly trusted package index and disable unintended fallback indexes to reduce dependency-confusion exposure. 5. Review package provenance, release signatures, maintainers, and dependency changes before updating the pinned version. 6. Run installation and the CLI as an unprivileged user in an isolated virtual environment or container. 7. Warn users not to expose sensitive API keys or files until the installed package version and source have been verified. ]]>
