T08 · Insecure Dependencies
- Location
references/airbnb.md:14- Finding
Unpinned Global npm Package Installation
- Content
View full analysis
- Remediation
View remediation
``` - Prefer a project-local installation over `npm install -g` so the dependency is isolated and represented in a lockfile. - Commit and review `package-lock.json`, and use `npm ci` for reproducible installation. - Record and verify the expected package publisher, source repository, release provenance, and integrity metadata. - Audit package lifecycle scripts and transitive dependencies before approving upgrades. - Run the MCP server under a restricted account or sandbox with only the filesystem and network access required for travel searches. - Treat every version upgrade as a new code-review event rather than allowing automatic resolution to the latest release. ]]>
