T08 · Insecure Dependencies
- Location
SKILL.md:64- Finding
Unpinned Third-Party Plugin and Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Verify the package against a documented cryptographic digest or trusted package signature before enabling it. 3. Publish and audit a dependency lockfile for the plugin. 4. Replace unrestricted `npm install` with a deterministic command such as `npm ci` against the reviewed lockfile. 5. Disable or carefully review npm lifecycle scripts during installation where operationally possible. 6. Validate package provenance and publisher identity through the registry's supported provenance mechanism. 7. Review the installed plugin source before enabling it, particularly its conversation hooks, file access, credential handling, and network destinations. 8. Run the plugin under a least-privileged account or sandbox with access limited to the files and network endpoints necessary for its stated function. ]]>
