T08 · Insecure Dependencies
Warning
- Location
README.md:29- Finding
Unpinned External Dependencies and Mutable Repository Code
- Content
View full analysis
- Remediation
View remediation
``` 2. Pin the MCP server to a reviewed immutable commit: ```bash git clone https://github.com/Strykr-Prism/PRISM-MCP-Server.git cd PRISM-MCP-Server git checkout ``` 3. Include a committed lockfile and use deterministic installation commands such as `npm ci` rather than unconstrained dependency resolution. 4. Publish and verify package integrity hashes or signed release provenance. Protect publisher accounts with strong multifactor authentication and restricted release permissions. 5. Disable lifecycle scripts during dependency installation when they are unnecessary: ```bash npm ci --ignore-scripts ``` If lifecycle or build scripts are required, inspect them and their transitive dependencies before execution. 6. Include the relevant SDK and MCP source code in the auditable artifact, or conduct a separate audit of the exact package version, Git commit, build scripts, and complete dependency tree. 7. Run installation and the resulting SDK in a least-privileged container or sandbox. Expose only required credentials, files, and network destinations. 8. Add automated dependency monitoring, provenance verification, vulnerability scanning, and release-diff review to the update process. ]]>
