T08 · Insecure Dependencies
- Location
SKILL.md:26- Finding
Unpinned Third-Party CLI Installed Globally
- Content
View full analysis
- Remediation
View remediation
``` 2. Maintain a lockfile and verify the resolved package integrity before installation. 3. Avoid global installation. Install the CLI in a dedicated project directory or isolated container. 4. Where compatible, disable lifecycle scripts during installation: ```bash npm install --ignore-scripts ``` 5. Review any required lifecycle scripts separately before enabling them. 6. Run the CLI under a dedicated, minimally privileged account with restricted filesystem and network access. 7. Use an internal registry mirror or allowlist that serves only reviewed package versions. 8. Document the reviewed package version and repeat the security review before upgrading it. ]]>
