T08 · Insecure Dependencies
- Location
SKILL.md:23- Finding
Unpinned Global Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
`. - Record the dependency in a lockfile and use reproducible installation commands such as `npm ci`. - Verify package provenance, registry origin, signatures, and integrity hashes before installation. - Prefer a project-local installation over a global installation. - Run the package in an isolated environment with restricted filesystem, credential, and network access. - Disable npm lifecycle scripts where compatible with the package, or separately review every required lifecycle script. - Establish an update process that requires security review before changing the pinned version. ]]>
