T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Package Execution Through npx
- Content
View full analysis
- Remediation
View remediation
`. - Use a lockfile or equivalent mechanism to pin transitive dependencies. - Retrieve packages only from an explicitly configured, trusted registry. - Verify package provenance and integrity through registry signatures, checksums, or an approved internal mirror. - Disable or review dependency lifecycle scripts where the package manager supports doing so. - Re-audit the package before updating the pinned version. - In managed deployments, install the reviewed CLI ahead of time and invoke the trusted local binary rather than allowing `npx` to resolve the latest remote release dynamically. ]]>
