T08 · Insecure Dependencies
- Location
SKILL.md:35- Finding
Unpinned Global Installation of a Third-Party CLI Package
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish and verify the expected package integrity digest or registry signature before installation. 3. Document a trusted publisher identity and a process for validating new releases. 4. Prefer a project-local installation with a committed lockfile over global installation where operationally possible. 5. Review package lifecycle scripts before approving a release. Use `--ignore-scripts` if lifecycle scripts are not required. 6. Deploy packages through an internal allowlisted mirror that retains reviewed, immutable artifacts. 7. Avoid recommending elevated installation and explicitly state that users must not use `sudo` unless it is demonstrably required. 8. Add an update policy requiring security review before changing the pinned version. ]]>
