T08 · Insecure Dependencies
- Location
references/setup.md:15- Finding
Unpinned Third-Party Packages Can Execute Unreviewed Code
- Content
View full analysis
- Remediation
View remediation
` for pip. 2. Commit lockfiles for any locally managed npm or Python environment. 3. Verify package integrity using registry checksums, pip hash checking, signed artifacts, or an internal artifact repository. 4. Install the verified npm dependency separately and start it with `npx --no-install` or an equivalent command that cannot fetch a new package at runtime. 5. Pin and audit transitive dependencies where feasible. 6. Document a controlled dependency-update process that includes source review, vulnerability scanning, and regression testing. 7. Run the MCP server under a restricted account or sandbox with access only to the files, environment variables, and network destinations required for its function. ]]>
