MCP server · Org-owned · Audited from source
npmjs-mcp
by yawlabs/npmjs-mcpMIT licenceAudited 11 Oct 2026 · source 87c1574a637e
Is it safe? With care — CAUTION, grade B (85/100). It exposes 66 tools: 39 read, 17 write and 10 destructive. The audit recorded 11 findings (0 critical, 1 high, 1 medium, 9 low). Maintainer's description: npm registry MCP server — package intelligence, security audits, and dependency analysis for AI assistants
Cite
Cite this page
ModelsAtlas. “npmjs-mcp (YawLabs/npmjs-mcp)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/yawlabs/npmjs-mcp
Trust audit
Audit 0.4.1 · full source read 11 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared8 observations
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | FAIL 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
yawlabsOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@yawlabs/npmjs-mcpat version 0.17.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push1 day agoActivity of the repository when we read it.
- Source commit read87c1574a637eThe audit covers exactly this commit, read on 11 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory66 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (11)
Sorted by severity
HIGHFilesystem / pathfs.credential_store · scripts/update-manifests.mjs:210
const SSH = 'ssh -i ~/.ssh/gh_woods -o IdentitiesOnly=yes';
- Why
- touches a credential store
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
npm_dist_tag_remove, npm_hook_remove, npm_org_member_remove, npm_owner_remove, npm_team_delete, npm_team_member_remove, npm_team_revoke, npm_token_revoke, npm_undeprecate, npm_unpublish_package
- Why
- 10 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · src/launcher.test.ts:61
return new Function(`${pieces}\nreturn runtimePlan;`)() as RuntimePlan;- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:66
return new Function(`${pieces}\nreturn { pickNewest, floor: OAM_MIN };`)() as {- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:168
const pipesStdio = new Function(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:185
const childEnv = new Function(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/launcher.test.ts:219
const sandboxFlags = new Function(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · src/api.test.ts:332
for (const p of ["last-week/../../-/v1/search", "../../etc/passwd", "last-week/foo"]) {- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@biomejs/biome, @modelcontextprotocol/sdk, @types/node, esbuild, postject, typescript, zod
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:29
- **The bundled MCP SDK moves from 1.30.0 to 1.32.1** (GHSA-6qxp-vccf-f47h, high: the SDK's OAuth client could send credentials to an authorization server chosen by the MCP server; this server does no
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:357
- **Every release is published to the Official MCP Registry.** A new `server.json` names the server `io.github.YawLabs/npmjs-mcp` with the npm package as its one stdio-transport package, `package.json
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
66 declared in source · 10 destructive
10 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
npm_dist_tag_remove | destructive | Remove a dist-tag from a package. The |
npm_hook_remove | destructive | Delete a webhook by ID. |
npm_org_member_remove | destructive | Remove a user from an org. Their team memberships in that org are also removed. |
npm_owner_remove | destructive | Remove a user from a package |
npm_team_delete | destructive | Delete a team. Team is passed as |
npm_team_member_remove | destructive | Remove a user from a team. Team is |
npm_team_revoke | destructive | Revoke a team |
npm_token_revoke | destructive | Revoke an access token by its key (UUID from npm_tokens). Requires confirm: true. |
npm_undeprecate | destructive | Clear the deprecation message from a package or specific versions. Equivalent to |
npm_unpublish_package | destructive | Unpublish an ENTIRE package (all versions). DELETE /{pkg}/-rev/{rev}. |
npm_access_set | write | Set package access level: |
npm_access_set_mfa | write | Configure 2FA requirement for publishing: |
npm_audit_deep | write | Full security audit on a dependency set — returns detailed advisories with CVSS scores, CWEs, affected version ranges, fix recommendations, and full vulnerability metadata. |
npm_deprecate | write | Deprecate a package or specific versions. Shows a warning message on install. |
npm_dist_tag_set | write | Point a dist-tag (e.g. |
npm_hook_add | write | Create a registry webhook. Target is |
npm_hook_update | write | Replace a webhook |
npm_maintainers | write | Get current maintainers and their publish history for a package. |
npm_org_member_set | write | Add a user to an org or change their role. Roles: |
npm_owner_add | write | Add a user as a maintainer of a package. They will have publish and write permissions. |
npm_package_access | write | Get package access settings — visibility (public/private), whether publish requires 2FA, and whether automation tokens can bypass 2FA. |
npm_publish_preflight | write | Comprehensive pre-publish validation — run before publishing ANY npm package. |
npm_release_frequency | write | Analyze the release cadence of a package — publish timeline, gaps, and whether the project is actively maintained. |
npm_team_create | write | Create a team inside an organization. Team is passed as |
npm_team_grant | write | Grant a team read-only or read-write permission on a package. Scope and team are passed as |
npm_team_member_add | write | Add a user to a team. Team is |
npm_versions | write | List published versions of a package with their publish dates, ordered newest first. Returns up to |
devs | read | dev team |
express | read | Fast web framework |
npm_audit | read | Quick vulnerability check for specific packages and versions using the bulk advisory API. Returns matching advisories with severity, CVEs, and patched versions. |
npm_check_auth | read | Quick auth health check — returns structured data about npm auth status, token capability, and whether headless (CI/agent) publishing is possible. |
npm_collaborators | read | Get all users who have access to a package and their permission levels (read-only, read-write). |
npm_compare | read | Compare 2-5 packages side-by-side — downloads, version, license, maintainers, size, last publish, and security status. Great for |
npm_dep_tree | read | Resolve the production dependency tree for a package version (up to a configurable depth). Shows the full transitive dependency graph with versions. |
npm_dependencies | read | Get the dependency lists for a specific package version — production deps, devDeps, peerDeps, and optionalDeps. |
npm_dist_tags | read | Get dist-tags for a package (latest, next, beta, etc). |
npm_downloads | read | Get total download count for a package over a period (last-day, last-week, last-month, last-year, or a custom date range like 2025-01-01:2025-12-31). |
npm_downloads_bulk | read | Compare download counts for multiple packages over a period. Up to 128 packages. |
npm_downloads_range | read | Get daily download counts for a package over a period. Returns per-day breakdown. |
npm_health | read | Assess the health of a package — maintenance activity, download trend, security status, deprecation, and documentation quality. |
npm_hook_get | read | Get a single webhook by its ID. The stored secret is redacted from the response. |
npm_hook_list | read | List webhooks. Optionally filter by package name. Secrets are redacted from responses. |
npm_license_check | read | Check the license of a package and its direct production dependencies. Flags missing or non-standard licenses. |
npm_ops_playbook | read | Return canonical recipes for common npm operations — which MCP tool to call for which op, |
npm_org_members | read | List all members of an npm organization with their roles (owner, admin, developer). Requires authentication as an org member. |
npm_org_packages | read | List all packages accessible to an npm organization with their access levels. Shows what the org owns or has been granted access to. |
npm_org_teams | read | List all teams within an npm organization. Requires authentication as an org member. |
npm_package | read | Get package metadata — description, dist-tags, latest version, maintainers, license, repository, keywords. Does not include per-version details (use npm_version for that). |
npm_profile | read | Get the authenticated user |
npm_provenance | read | Retrieve Sigstore attestations for a specific package version. Shows SLSA provenance (which CI built it, from which repo/commit) |
npm_readme | read | Get the README content of a package. |
npm_recent_changes | read | Get the most recent package publishes/updates from the npm registry via the CouchDB changes feed. Note: uses replicate.npmjs.com which may have intermittent availability. |
npm_registry_stats | read | Get total npm-wide download counts for a period. Shows overall registry activity. |
npm_search | read | Search the npm registry for packages. Supports text search and qualifiers like |
npm_signing_keys | read | Get the npm registry |
npm_team_members | read | List all members of a team with their roles (e.g. |
npm_team_packages | read | List all packages a specific team has access to and their permission levels (read-only or read-write). Useful for auditing team permissions. |
npm_tokens | read | List all access tokens for the authenticated npm user. Shows token type, creation date, CIDR restrictions, and read-only status. |
npm_trusted_publishers | read | List trusted publishing configurations for a package. Shows OIDC trust relationships with CI/CD providers |
npm_types | read | Check TypeScript type support for a package — whether it ships built-in types (types/typings field) or has a DefinitelyTyped companion (@types/* package). |
npm_unpublish_version | read | Unpublish a specific version of a package. IRREVERSIBLE: once unpublished, the version |
npm_user_packages | read | List all packages published by a specific npm user. Shows package names and the user |
npm_verify_token | read | Verify the NPM_TOKEN and surface its capabilities — username, 2FA status, and whether |
npm_version | read | Get detailed metadata for a specific version — dependencies, dist info, file count, size, deprecation status. |
npm_version_downloads | read | Get download counts broken down by version for the last week. Shows version adoption. |
npm_whoami | read | Check the currently authenticated npm user. Verifies the NPM_TOKEN is valid and returns the associated username. Essential for debugging auth issues before publishing. |
Install
Package version 0.17.0 · audited commit 87c1574
Read the findings first. The most severe is Filesystem / path (high) at scripts/update-manifests.mjs.
claude mcp add npmjs-mcp -- npx -y @yawlabs/[email protected]
The command pins the package version recorded in the source (0.17.0); the audit covers commit 87c1574a637e. Transport: stdio. Reads these environment variables: GH_TOKEN, GITHUB_TOKEN, NPM_TOKEN, SSH_KEYGEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 85 / 100
First audit ·
87c1574a637e
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/yawlabs/npmjs-mcp/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about npmjs-mcp
What is the npmjs-mcp MCP server?
What tools does npmjs-mcp expose?
Is npmjs-mcp safe to connect to an agent?
What credentials does npmjs-mcp need?
How does npmjs-mcp run?
How current is this page?
Sources
- YawLabs/npmjs-mcp on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 87c1574a637eObserved · 11 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the npmjs-mcp MCP server?
- What tools does npmjs-mcp expose?
- Is npmjs-mcp safe to connect to an agent?