Check packages before your agent installs them. Get a SAFE, REVIEW, or BLOCK
verdict with cited evidence. The local guard can enforce installs of checked
archives; adding an MCP tool alone does not intercept every install.
Connect your agent
Public MCP: https://mcp.pkgxray.ca/mcp. Streamable HTTP, no API key.
Add the URL as a remote MCP server in Claude Code or Cursor.
Client setup and local enforcement.
The hosted endpoint checks supplied snippets and npm metadata/advisories on
Cloudflare. It does not scan a complete archive or approve installation.
Submitted snippets leave your machine; do not send secrets.
For complete package scans, use the local MCP server.
First scan
Published CLI 1.5.1, Node.js 18+ and network access:
npx --yes pkgxray@1.5.1 guard npm:ms@2.1.3
See it catch credential theft
Captured from the published 1.5.1 archive on 2026-11-29:
SAFE: ms@2.1.3 |
BLOCK: inert credential-theft fixture |
| Exit 0; source and OSV checks completed |
Exit 2; credential access and outbound network findings |
| Captured JSON |
Captured JSON |
The BLOCK example is synthetic source inspected as data, never executed.
Reproduce the BLOCK demo.
SAFE describes the checks completed; dependencies were not requested.
Why does Express get REVIEW? Express loads view engines by name in
lib/view.js. That is expected framework behavior, but pkgxray cannot resolve
the selected engine statically. Chalk also has unsupported flow semantics.
REVIEW asks for investigation; it is not a malware accusation.
First-run results and limitations.
Scope and privacy
Default CLI source analysis runs locally; acquisition and advisory checks contact
registries and OSV. Static analysis cannot see runtime-fetched payloads.
MCP discovery and the runtime proxy can start the target server.
Optional Jev review is experimental, off by default,
requires a TypeSafe key, uploads selected source excerpts, and changes no verdicts.
The maintainer has no commercial relationship with TypeSafe.
Docs · Reference · Glama connector ·
Threat model · Security · Website
Signed npm dependency bundles (experimental) · GitHub Action
30-second demo (synthetic fixture, terminal replay)