T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Global Installation of an Executable npm Package
- Content
View full analysis
- Remediation
View remediation
``` 2. Verify the package archive against an expected integrity hash or signed release before execution. 3. Review whether the package requires lifecycle scripts. Disable them with `--ignore-scripts` when they are unnecessary. 4. Install the CLI in a temporary, project-scoped directory or isolated container instead of modifying the global host environment. 5. Use a lockfile where applicable and incorporate dependency scanning and release-review procedures. 6. Run the client as an unprivileged account with access limited to the files required for provisioning. ]]>
