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

@pshkv/mcp-scanner

v0.1.0

Published

SINT MCP Security Scanner — analyze MCP server tool definitions for risk

Readme

@pshkv/mcp-scanner

Scan any MCP server's tool definitions for security risk — instantly see which tools need human approval, which are shell-exec risks (OWASP ASI05), and what tier each tool maps to in the SINT authorization model.

npx sint-scan --server myserver --tools '[{"name":"bash","description":"runs shell commands"}]'

Or directly by package name:

npx @pshkv/mcp-scanner --server myserver --tools '[{"name":"bash","description":"runs shell commands"}]'

What it does

Maps every MCP tool to a SINT approval tier:

| Tier | Risk | Requires Human Approval | Example Tools | |------|------|------------------------|---------------| | T0 | LOW | No | readFile, getInfo, listDirectory | | T1 | MEDIUM | No | writeFile, createDirectory, search | | T2 | HIGH | Yes | deleteFile, moveFile, modifyConfig | | T3 | CRITICAL | Yes (M-of-N quorum) | bash, exec, eval, run_command |

Shell/exec tool names are always T3 CRITICAL regardless of server, addressing OWASP ASI05.

Usage

Pipe from JSON

echo '[
  {"name":"readFile","description":"reads a file"},
  {"name":"bash","description":"runs shell commands"},
  {"name":"deleteFile","description":"deletes a file"}
]' | npx sint-scan --server my-mcp-server

Pass tools inline

npx sint-scan \
  --server filesystem \
  --tools '[{"name":"writeFile","description":"writes content to a file"}]'

With MCP annotations

npx sint-scan --server myserver --tools '[
  {"name":"processData","description":"processes data","annotations":{"destructiveHint":true}},
  {"name":"queryDB","description":"queries database","annotations":{"readOnlyHint":true}}
]'

Generate a SINT proxy config scaffold

npx @pshkv/mcp-scanner --server filesystem --emit-claude-config

This prints a claude_desktop_config.json snippet with a sint-<server> proxy entry so operators can wire SINT as the authorization layer in one step.

Output

══════════════════════════════════════════════
 SINT MCP Security Scanner Report
══════════════════════════════════════════════
  Server:      my-mcp-server
  Scanned at:  2026-04-04T15:00:00.000Z
  Total tools: 3
  Overall risk: CRITICAL

Risk Summary:
  CRITICAL: 1
  HIGH:     1
  MEDIUM:   0
  LOW:      1

High-Risk Tools:
  [CRITICAL] bash
       • Tool name or server ID matches shell/exec keyword (ASI05)
  [HIGH    ] deleteFile
       • Tool classified as destructive/state-changing operation

All Tools:
  [LOW     ] readFile
  [HIGH    ] deleteFile  [HUMAN APPROVAL]
  [CRITICAL] bash        [HUMAN APPROVAL]

Recommendations:
  → Require human approval for CRITICAL tools before any agent invocation.
  → 1 shell/exec tool(s) detected — restrict to verified sandboxes only (ASI05).
  → Enable SINT capability tokens with strict resource scoping for high-risk tools.
══════════════════════════════════════════════

Exit code 2 if any CRITICAL tools are found — use in CI/CD pipelines.

Adding SINT protection

Once you know which tools need protection, add the SINT gateway proxy:

import { PolicyGateway } from "@pshkv/gate-policy-gateway";
import { MCPInterceptor } from "@pshkv/bridge-mcp";

const interceptor = new MCPInterceptor({ gateway });
const result = interceptor.interceptToolCall(sessionId, toolCall);
// result.action === "forward" | "deny" | "escalate"

Full guide: docs/guides/secure-mcp-deployments.md

Install

npm install -g @pshkv/mcp-scanner
# then: sint-scan --help

Links

  • GitHub: https://github.com/sint-ai/sint-protocol
  • OWASP ASI conformance suite: https://github.com/sint-ai/sint-protocol/blob/master/packages/conformance-tests/src/mcp-attack-surface.test.ts
  • MCP servers PR: https://github.com/modelcontextprotocol/servers/pull/3828