npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcpwatch-scanner

v0.2.0

Published

MCP server security scanner — 10 OWASP-aligned checks with A-F letter grade. Part of MCPWatch.

Readme

@mcpwatch/scanner

MCP server security scanner. 10 OWASP-aligned checks. A–F letter grade.

Part of MCPWatch — the public security leaderboard for MCP servers.

Install

npx @mcpwatch/scanner /path/to/mcp/repo
# or
npm i -g @mcpwatch/scanner
mcpwatch-scan /path/to/mcp/repo

What it checks

| # | Check | Severity | |---|-------|---------| | MCP-01 | Command injection in tool handlers | Critical | | MCP-02 | Path traversal in file tools | Critical | | MCP-03 | Unauthenticated mutating tools | Critical | | MCP-04 | Prompt injection via tool descriptions | High | | MCP-05 | SSRF in URL-fetching tools | High | | MCP-06 | Hardcoded secret leakage | High | | MCP-07 | Over-permissive filesystem scopes | Medium | | MCP-08 | Missing rate limits | Medium | | MCP-09 | Outdated dependencies (known CVEs) | Medium | | MCP-10 | Missing input schema validation | Low |

Example output

MCPWatch audit — my-mcp-server
Scanned 14 files · 10 checks · 4 passed

 CRIT  [MCP-01] Template literal passed directly into execSync()
        src/tools/shell.ts: execSync(`bash -lc ${cmd}...
        → Use parameterized execFile() / spawn(cmd, [args]) without shell:true.

 HIGH  [MCP-05] URL fetched from user input with no SSRF guard
        src/tools/fetch.ts
        → Reject RFC1918 + link-local + cloud metadata IPs before fetching.

Score: 47/100  Grade: D

Programmatic API

import { scan } from "@mcpwatch/scanner";

const result = await scan({
  name: "my-mcp",
  source: "github",
  sourceRef: "owner/repo",
  sourceFiles: [...],
  packageJson: {...},
  toolDescriptions: [...],
});

console.log(result.score, result.grade, result.findings);

License

MIT