T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Third-Party Package Is Downloaded and Executed Through npx
- Content
View full analysis
- Remediation
View remediation
``` 2. Verify the pinned package using an integrity hash and a committed lockfile. 3. Publish or link to reproducible source code and document how the distributed npm artifact corresponds to that source. 4. Verify the package publisher and signing provenance before installation. 5. Disable lifecycle scripts where practical and review all installation and runtime scripts before execution. 6. Run the MCP server in a sandbox or isolated operating-system account with restricted filesystem and network access. 7. Establish a controlled update process in which new versions are reviewed before deployment rather than automatically consumed. 8. Restrict the MCP process to only the credentials and filesystem resources necessary for its operation. ]]>
