T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Global Installation of a Third-Party npm Package
- Content
View full analysis
- Remediation
View remediation
`, rather than resolving the latest release. - Document the official package publisher and authoritative source repository so users can verify package provenance. - Use a project-local dependency and lockfile instead of a global installation where practical. - Verify registry integrity metadata and package signatures or provenance attestations before installation. - Review package contents and lifecycle scripts for each approved version. - Disable lifecycle scripts during installation where compatible with the package, and run the CLI under a dedicated least-privilege account or isolated environment. - Establish an explicit upgrade process requiring review before changing the pinned version. ]]>
