T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Globally Installed npm CLI Creates Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish and verify an integrity checksum, signed release artifact, or package provenance attestation before installation. 3. Document the canonical source repository and validate that npm package releases correspond to reviewed source commits. 4. Prefer a project-local installation with a committed lockfile over a global installation. 5. Disable npm lifecycle scripts during installation where they are not required: ```bash npm install --ignore-scripts --save-exact @jovaylabs/jovay-cli@ ``` 6. Audit direct and transitive dependencies and automate monitoring for package ownership changes, unexpected release activity, and known vulnerabilities. 7. Run the CLI under a dedicated, least-privileged account and isolate it from unrelated secrets and files. ]]>
