T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Unpinned Global Installation of a Third-Party CLI Package
- Content
View full analysis
- Remediation
View remediation
``` Commit the generated lockfile and use `npm ci` in automated environments. 4. Verify package provenance and registry integrity metadata before installation. Where supported, require npm provenance attestations and review the package contents and lifecycle scripts. 5. Avoid executing dependency lifecycle scripts unless they are required and audited. For initial inspection, use: ```bash npm install --ignore-scripts --save-dev --save-exact creek@ ``` 6. Run the CLI with least privilege in an isolated environment. Provide only the files and credentials needed for the deployment, and never install the package with administrator or root privileges. 7. Rotate `CREEK_TOKEN` and review deployment activity if an untrusted package release may already have been installed or executed. ]]>
