Docs

API, MCP and rules

Everything the site does is available to your own agents and scripts. No key needed for normal use.

REST API

Base URL is this site. Responses are JSON. Scans are limited to 30 per 10 minutes per IP address; AI reviews to 20.

curl -s -X POST {origin}/api/v1/scan \ -H 'content-type: application/json' \ -d '{"target":"npm:@playwright/mcp"}'
EndpointWhat it returns
POST /api/v1/scan{"target": …, "rescan": false} returns the report: id, verdict, findings[], rulesChecked, filesScanned, incomplete[], sha256. Same target within 10 minutes returns the cached report.
GET /api/v1/scan/:idA stored report.
GET /api/v1/scan/:id/reviewAI second opinion. Streams plain text the first time, JSON afterwards.
GET /api/v1/feedRecent scans. Params: verdict, registry, flagged=1, cursor, limit.
GET /api/v1/rulesThe rule catalog below.
GET /api/v1/badge/:id.svgA README badge for a report.
GET /api/v1/healthVersion, rule count, AI model, crawler state.

Accepted targets

  • npm:name, npm:name@1.2.3, or an npmjs.com URL
  • pypi:name, pypi:name==1.2.3, or a pypi.org URL
  • A GitHub repo, branch or folder URL, or a link to a single file
  • A remote MCP server URL (Streamable HTTP). Bezoar reads its tools, prompts and instructions.
  • Any skill page URL, or the pasted text of a SKILL.md, tool description or install command

MCP

Give your agent the scanner itself, so it checks before it installs.

{ "mcpServers": { "bezoar": { "url": "{origin}/mcp" } } }

Tools: scan_target, get_report, search_feed, check_install_command. The same JSON works in Cursor (~/.cursor/mcp.json) and Claude Code (claude mcp add --transport http bezoar …/mcp).

Verdicts

VerdictMeaning
Key theftA key, seed or secret is read and sent out, or browser wallet data is read next to network code.
ExfiltrationTalks to hosts typically used to collect stolen data.
Hidden instructionsText aimed at the model that the user does not see.
Fake installerAsks to download and run something outside normal package managers.
Rug pullMCP tool definitions changed since the first scan.
SuspiciousMedium-severity patterns worth a human look.
IncompleteSomething could not be fetched or read. Never treat it as clean.
No findingsNo rule above low severity matched. Not a guarantee.

Rules catalog

Loading…

Limits

  • Pattern matching has blind spots. Code written to evade rules, or payloads fetched only at runtime, can pass. The AI review helps, but is not a sandbox.
  • Cloaking. An MCP server can show Bezoar different tools than it shows your client.
  • Size caps. Archives over 15 MB, more than 4,000 files, or single files over 1 MB are skipped and the report says so.
  • Private sources (private repos, authenticated MCP servers) cannot be read.
  • JavaScript-rendered pages may expose little text. Paste the raw SKILL.md instead.
  • False positives happen. Each rule lists its known ones. Dispute a verdict with the report link.