NPMScan
io.github.salemalem/npmscan · Website · Repository
Detect malicious or vulnerable npm packages: registry search, OSV.dev and GitHub advisory lookups
On 2026-11-29 04:27 UTC, the BOTERNITY MCP Index scored NPMScan (io.github.salemalem/npmscan) 82/100 (grade B); 23 tools, 32057 tokens for tools/list; healthy in 100 % of 3 checks over 30 days. Source: https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan
Free to reuse under CC BY 4.0 with a link. Permanent link: this page · JSON (status, score and the last 30 checks) · key numbers of the whole index.
Score breakdown
| Reliability initialize, ping, response time | 30 / 30 |
| Protocol conformance protocol revision, server info, instructions | 20 / 20 |
| Tool definitions descriptions, documented and typed parameters, annotations | 32 / 40 |
| Context cost tokens that tools/list adds to every agent's context | 0 / 10 |
Tools this server declares
23 tools listed by the server at the check of 2026-11-29.
analyze_install_script— Statically scans a package's preinstall/install/postinstall/prepare lifecycle scripts AND the file(s) they reference — fetched directly from the published tarball, not just the command string in package.json — against npmscan's documented r (parameters: name*, version · read-only)analyze_transitive_dependencies— Walk one or more root packages' dependency trees (e.g. a package.json "dependencies" section) up to `maxDepth` levels (default 2, max 3) and check every resolved package@version against OSV.dev, so vulnerabilities several levels down still (parameters: maxDepth, packages* · read-only)audit_github_repository— Audit a GitHub repository's npm dependencies from its URL — no pasted files needed. Fetches package.json plus the first lockfile found (pnpm-lock.yaml, then package-lock.json, then yarn.lock) from the default branch (or `ref`), and detects (parameters: includeDevDependencies, includePeerDependencies, policy, ref, url* · read-only)batch_query_vulnerabilities— Check a whole npm dependency inventory against OSV.dev in one call: pass `packages: [{name, version?}]`, or raw package.json / package-lock / yarn.lock / pnpm-lock / CycloneDX / SPDX content via `content`. Large inventories are chunked auto (parameters: content, includeDevDependencies, includePeerDependencies, packages · read-only)check_license_compliance— Given a list of packages (name + optional exact version or semver range — e.g. straight from a package.json "dependencies" object) and an optional allow/deny license policy, resolves each package's declared SPDX license and reports a compli (parameters: packages*, policy · read-only)check_maintainer_blast_radius— Given an npm username, lists the packages npm's maintainer:<username> search index returns for that account and looks for a tight cluster of packages whose latest version was published within a short rolling window of each other — the shape (parameters: limit, maintainerUsername* · read-only)check_maintainer_changes— Reconstruct who has controlled an npm package and when, straight from the packument (each version records the maintainer list at publish time and who ran `npm publish`). Use it for the 'who controls this package, and did that change recentl (parameters: name* · read-only)check_package_provenance— Checks whether a package version was published with npm's own Sigstore-backed publish provenance (`npm publish --provenance`), and cross-checks that provenance against reality rather than just reporting its presence. Three checks: (1) parse (parameters: name*, version · read-only)compare_packages— Compare 2-5 candidate packages for the same job (e.g. "axios vs got vs node-fetch") side by side and get a deterministic pick. More than 5 names is rejected, never truncated; duplicate names are rejected. Use search_packages first if you ha (parameters: packages* · read-only)diff_dependencies— Compare two snapshots of a package.json, package-lock.json (v1-v3), yarn.lock (classic or Berry) or pnpm-lock.yaml (e.g. before/after a PR; formats can differ) and report added, removed and changed packages. Lockfiles cover the full resolve (parameters: after*, before* · read-only)enrich_npm_audit— Given the raw output of `npm audit --json` (npm 7+'s `{vulnerabilities: {...}}` format, or legacy npm 6's `{advisories: {...}}`), parses it directly — no need to re-paste package.json/lockfile content — and runs it through the same remove-n (parameters: content* · read-only)generate_sbom— Given the same inputs batch_query_vulnerabilities accepts — either a flat {packages:[...]} list, or raw package.json / lockfile / CycloneDX JSON / SPDX JSON content via `content` — emits a spec-valid CycloneDX 1.6 or SPDX 2.3 JSON document (parameters: componentName, componentVersion, content, format, includeDevDependencies, includeLicenses, includePeerDependencies, includeVulnerabilities, packages, policy · read-only)get_cve— Look up authoritative NIST NVD data for one exact CVE ID (e.g. "CVE-2026-2950"), or browse/search NVD by keyword, CVSS severity, CWE, or a publication-date range. Every result is enriched with CISA KEV status (`kev`, non-null only if this C (parameters: cveId, cweId, keywordSearch, publishedSince, publishedUntil, resultsPerPage, severity, startIndex · read-only)get_latest_advisories— Browse recently published npm security advisories and known-malicious-package findings. Three disjoint sources, selected via type: "reviewed" (default) is GitHub's curated, mostly CVE-backed advisories; "malware" is GitHub's own known-malic (parameters: affects, category, cursor, cveId, direction, ghsaId, severity, type · read-only)get_maintainer_profile— Given an npm username, returns every package npm's own maintainer:<username> search index currently returns for that account (registry.npmjs.org's /-/v1/search — the public registry API has no dedicated 'list packages by maintainer' endpoin (parameters: limit, maintainerUsername* · read-only)get_package— Fetch npm registry metadata for a package: latest version, install scripts (preinstall/postinstall are a key risk signal), maintainers, license, recent version history, weekly downloads, GitHub stars, TypeScript support, days since last pub (parameters: name* · read-only)get_package_version— Fetch registry metadata for one exact version of a package (dependencies, install scripts, tarball) AND check that exact version against OSV.dev for known vulnerabilities — isVulnerable/highestSeverity give a direct answer, and each finding (parameters: name*, version* · read-only)get_remediation_playbook— Maps a finding's `rule` value from analyze_install_script, check_maintainer_changes, or check_package_provenance to the matching human-authored incident-response playbook (the same content published at /docs/playbooks) and returns its concr (parameters: id, rules · read-only)prioritize_remediation— Rank vulnerability findings other tools already returned (batch_query_vulnerabilities, query_vulnerabilities, analyze_transitive_dependencies, diff_dependencies...) by what to fix first. Pass up to 200 `{packageName, cveId?, severity?, advi (parameters: findings* · read-only)query_vulnerabilities— Query OSV.dev for known vulnerabilities affecting an npm package, optionally scoped to one exact version (e.g. to check whether a version pinned in a lockfile is safe). Returns isVulnerable and highestSeverity as a direct answer, plus each (parameters: ecosystem, name, packageName, version · read-only)search_packages— Search the npm registry by name or keywords. Each result includes its current weekly/monthly download counts, dependentsCount (how many other npm packages depend on it), topPackagesRank (position among npmscan's own top-100k-by-downloads sn (parameters: limit, query* · read-only)simulate_dependency_upgrade— Before running npm install, check whether upgrading a package from a current to a target version is safe. Pass `packageName` + `currentVersion` + `targetVersion` (omit target for "latest"), or `packages: [...]` (1-100) to check many in one (parameters: currentVersion, name, packageName, packages, targetVersion · read-only)suggest_alternative— Given a package that looks deprecated, vulnerable, abandoned, or suspicious, suggest better-maintained alternatives in the same category. This tool first checks the source package's own latest-version health (deprecation, latest-version OSV (parameters: limit, name*, reason · read-only)
Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do. Parameters marked * are required.
Similar MCP servers
Healthy servers of the same category (Security) that share this server's need (vulnerable), from their latest check:
- Security Intel MCP com.datakoot/cve-vulnerability-lookup · 100/100 · 5 tools · 1976 tokens of tool definitions (lighter than this one)
Same need: vulnerable
What it does: It provides vulnerability intelligence for AI agents, including CVE lookups and package vulnerability checks. Excerpts - CyberDetails org.cyberdetails/vulnerability-intelligence · 97/100 · 6 tools · 2584 tokens of tool definitions (lighter than this one)
Same need: vulnerable
What it does: CyberDetails looks up known vulnerabilities and checks whether a software version is affected. Excerpts - AgentDiet Real-Time Open-Source Package CVE & GHSA Vulnerability Scanner (OSV.dev) dev.agentdiet/cve-intel · 93/100 · 2 tools · 1141 tokens of tool definitions (lighter than this one)
Same need: vulnerable - UK Data: Software packages and vulnerabilities uk.co.reliness/software-supply-chain · 92/100 · 2 tools · 363 tokens of tool definitions (lighter than this one)
Same need: vulnerable - UK Data: CVEs and package popularity uk.co.reliness/dev-security · 92/100 · 4 tools · 624 tokens of tool definitions (lighter than this one)
Same need: vulnerable
Same rule as alternatives: same category and need, healthy, best first, 2 at most per publisher. BOTERNITY never lists itself; no one pays for a place. Full Security ranking. “What it does” is based only on that server's own published text; the excerpts behind it are on its page, and nothing there is verified by calling its tools.
Add it to your client
Address (Streamable HTTP): https://npmscan.com/api/mcp. The check of 2026-11-29 (UTC) connected to this address without any credential.
Claude (claude.ai, Claude Desktop): add a custom connector and paste the address https://npmscan.com/api/mcp (docs).
ChatGPT: add the address https://npmscan.com/api/mcp as a connector (docs).
Claude Code, in a terminal (options: claude mcp add --help):
claude mcp add --transport http npmscan https://npmscan.com/api/mcpCursor, in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (docs):
{
"mcpServers": {
"npmscan": {
"url": "https://npmscan.com/api/mcp"
}
}
}VS Code, in .vscode/mcp.json (docs):
{
"servers": {
"npmscan": {
"type": "http",
"url": "https://npmscan.com/api/mcp"
}
}
}Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server. Whether each client can complete the connection is measured just below.
Works with Claude, ChatGPT, Cursor and VS Code?
| Client | Verdict | Why |
|---|---|---|
| Claude | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in. client docs |
| ChatGPT | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in. client docs |
| Cursor | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Cursor accepts servers that need no sign-in. client docs |
| VS Code | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; VS Code accepts servers that need no sign-in. client docs |
How verdicts are made: measured continuously, never guessed. All servers that work with each client.
Badges for your README, updated after each new check with the verdicts above:
[](https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan#clients)
[](https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan#clients)
[](https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan#clients)
[](https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan#clients)
Availability
100 % over 3 checks. Last check 2026-11-29.
What the last check found
- tools/list costs about 32057 tokens of every agent's context
Badge for your README
[](https://boternity.com/mcp-index/server?name=io.github.salemalem%2Fnpmscan)
This measurement is signed by boternity.com (Ed25519, key 450c02fbfb29dba9, digest sha256:dba75af1731c8d66…), in the badge and in the JSON. Anyone can check a copy.
Get alerted when it goes down
Free: leave an e-mail or a webhook and we tell you when this server goes down and when it is back. Without a subscription nobody is told, even when it is followed on the MCP weather.
Or follow it in a feed reader: Atom feed · JSON Feed (first seen, became unavailable, back online, tool definitions changed; checks of the last 30 days).
Endpoint: https://npmscan.com/api/mcp. Scores are automatic and may be wrong. Owners can ask for removal via support.