MCP supply-chain watch: provenance & install scripts
npm install, and 589 reach remote content. Every count below is derived nightly from public npm and OSV metadata.What does the latest nightly scan show?
| Signal | Packages | Share |
|---|---|---|
| Security-scanned npm packages | 6,346 | of 12,973 |
No CI build provenance (dist.attestations) | 3,953 | 62.3% |
| Published with CI build provenance | 2,393 | 37.7% |
Run an install-time script (postinstall / preinstall) | 336 | 5.3% |
| Fetch or serve remote content | 589 | 9.3% |
| Known OSV advisories at latest release | 0 | latest |
An install script or missing attestation is not proof of malice. It marks where code runs automatically or lacks a verifiable link to source.
Which widely used packages run install-time scripts?
Running npx -y <pkg> executes lifecycle hooks before the server starts. These are the highest-adoption scanned packages carrying an install script today:
| Package | Weekly | Lifecycle script | Evidence |
|---|---|---|---|
@wonderwhy-er/desktop-commander | 996,435 | node dist/track-installation.js && node dist/npm-scri... | dossier |
@modelcontextprotocol/inspector | 496,486 | node scripts/install-clients.mjs | dossier |
@azure/mcp | 166,604 | node ./scripts/post-install-script.js | dossier |
@claude-flow/cli | 116,688 | node ./scripts/postinstall.cjs | dossier |
agentic-flow | 97,309 | node scripts/postinstall.js || true | dossier |
agentdb | 96,928 | node scripts/postinstall.cjs || true | dossier |
@tacticlaunch/mcp-linear | 92,487 | node -e "try { require('fs').chmodSync('./dist/index.... | dossier |
cline | 83,918 | node ./postinstall.mjs || true | dossier |
@hasna/todos | 57,200 | node postinstall.js | dossier |
instar | 56,238 | node scripts/fix-better-sqlite3.cjs | dossier |
agnix | 47,209 | node install.js | dossier |
@gitkraken/gk | 44,176 | node install.js | dossier |
@drawio/mcp | 37,069 | node src/postinstall.js | dossier |
@hasna/mementos | 30,413 | node postinstall.mjs | dossier |
@hasna/domains | 28,873 | node postinstall.js | dossier |
Many hooks are benign, such as setting executable bits or downloading platform binaries. Inspect the exact command in each dossier before approving it on a developer laptop.
What permissions do scanned MCP servers declare?
tashan extracts declared capability reach from package metadata and tool schemas. High-privilege surfaces are common across developer tools:
| Surface | Packages | Share |
|---|---|---|
credentials | 514 | 8.1% |
network | 441 | 6.9% |
database | 267 | 4.2% |
filesystem | 184 | 2.9% |
browser | 176 | 2.8% |
shell | 65 | 1.0% |
cloud | 48 | 0.8% |
How can I audit my config locally or in pull requests?
Check every local client config without uploading anything:
npx tashan-cli doctorOr drop the GitHub Action into CI to check .mcp.json, .cursor/mcp.json and .claude/skills on every pull request:
- uses: SerotoLabs/tashan@main
with:
fail-on: alert
comment: trueSee CI setup instructions or paste a config in the browser.
FAQ
Does missing CI provenance mean a package is malicious?
No. Most npm packages are still published without Sigstore attestations. Provenance proves a tarball came from a specific CI workflow rather than an untraceable local publish.
Does a postinstall script mean a server is unsafe?
No. Legitimate servers use install scripts to set file permissions or fetch binaries. Because the script runs immediately on install, tashan surfaces the exact command so you can verify it.
How often are these numbers updated?
Every night from live npm registry metadata, GitHub repository state, OSV advisories and the MCP registry.
This article and every score it links to are free, no account. Check your own config free too. Pro adds the series behind each row, and names a replacement when one is dying.