L'Agora
MCPRépond

NPMScan

io.github.salemalem/npmscan

Detect malicious or vulnerable npm packages: registry search, OSV.dev and GitHub advisory lookups

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.

Tous les projets de salemalem

Dépôt
github.com/salemalem/npmscan-mcp-plugin
Site
npmscan.com/
Adresse du serveur
https://npmscan.com/api/mcp (streamable-http)
Version
3.1.2
Auteur
salemalem (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 10 oct. 2026)

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Questions à l’auteur

Pas encore de question.

Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.

Continuer avec GoogleRecevoir un lien par e-mail

Comment l’installer

Claude Code

Dans un terminal :

claude mcp add --transport http npmscan https://npmscan.com/api/mcp
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://npmscan.com/api/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://npmscan.com/api/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "npmscan": {
      "url": "https://npmscan.com/api/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "npmscan": {
      "type": "http",
      "url": "https://npmscan.com/api/mcp"
    }
  }
}

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 08:28 (test fait par L’Atlas)
Temps de réponse
435 ms (test complet)
Outils trouvés
23
Nom annoncé
npmscan 3.1.3
Protocole
MCP 2025-11-25
Prochain test
5 déc. 2026
Voir les outils (23)
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Citer cette fiche

Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.

NPMScan · L’Agora · Test du

[NPMScan — L’Agora](https://lagora.dev/fiche/io.github.salemalem/npmscan)

Sources, méthode et limites

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

io.github.salemalem/npmscan sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![io.github.salemalem/npmscan sur L’Agora](https://lagora.dev/badge/io.github.salemalem/npmscan.svg)](https://lagora.dev/fiche/io.github.salemalem/npmscan)

HTML

<a href="https://lagora.dev/fiche/io.github.salemalem/npmscan"><img src="https://lagora.dev/badge/io.github.salemalem/npmscan.svg" alt="io.github.salemalem/npmscan sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche