by adamsjack711-ux
Provides pre‑install static analysis for npm packages and MCP servers, delivering SAFE, REVIEW, or BLOCK verdicts with cited evidence without executing any package code.
Pkg Xray performs zero‑dependency local static analysis of npm packages and MCP servers before they are installed or connected. It evaluates code safely, reporting a verdict—SAFE, REVIEW, or BLOCK—along with concrete evidence for each finding.
Run the CLI directly with npx, for example:
npx --yes pkgxray@1.4.0 guard npm:express@4.21.0
The command analyzes the specified package version and prints the verdict and any findings. For MCP servers, connect to the public endpoint https://mcp.pkgxray.ca/mcp using Streamable HTTP; no API key or global installation is required.
Q: Does Pkg Xray execute any code from the package? A: No. All analysis is static; the tool never runs the package, its dependencies, or fetched payloads.
Q: What does a SAFE verdict mean? A: It indicates no blocking findings were detected during the completed static checks, but it does not guarantee absolute safety.
Q: Can Pkg Xray detect runtime‑fetched code? A: No. Static analysis cannot see code that is downloaded or generated at runtime.
Q: How are MCP servers scanned? A: The public MCP endpoint checks supplied snippets and npm metadata/advisories; it does not start the server or execute agent code.
Q: Is an API key required for the public MCP service? A: No. The service is publicly accessible without authentication.
Published CLI: 1.4.0. Node.js 18+ and network access; no global install.
npx --yes pkgxray@1.4.0 guard npm:express@4.21.0
pkgxray 1.2.1 · checked 2026-11-08 · exit 0
Verdict: **SAFE**
Findings:
- **INFO - network-access** in `lib/request.js`: Performs outbound network activity.
Source and vulnerability checks completed; direct dependencies were not requested. SAFE means no blocking finding within the checks that completed—not proof of harmlessness.
Static analysis cannot see runtime-fetched payloads. Listing MCP tools can start a server; the proxy runs it, and a scan does not control an agent’s later install.
Connect to https://mcp.pkgxray.ca/mcp using Streamable HTTP, with no API key or install. Setup · Source and limits.
Checks supplied snippets and npm metadata/advisories on Cloudflare; no package execution, VM, complete archive scan, or installation approval. Do not submit secrets.
Signed npm dependency bundles (experimental) · Jev review (optional) · Compose (experimental) · Docs index · Reference · Threat model · BLOCK example · Security · Website
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by chaitin
A self‑hosted web application firewall and reverse proxy that protects web applications from attacks and exploits by filtering, monitoring, and blocking malicious HTTP/S traffic.
by beenuar
Ingests security telemetry, normalizes it, runs a large library of detection rules, correlates alerts, and leverages AI agents for triage and investigation while recording every prompt, tool call, and decision in an immutable ledger.
by snyk
Scans installed AI agent components, MCP servers, and skill files for prompt‑injection, tool poisoning, toxic flows, hard‑coded secrets and other supply‑chain risks.
by OpenOSINT
Provides an AI‑driven OSINT workflow that lets users query a natural‑language REPL, CLI, web UI, or MCP server, automatically selecting and chaining 18 reconnaissance tools to collect, pivot, verify, and report public‑source intelligence.
by 2akouwu
Provides deterministic verification of AI‑generated claims against binary artifacts, ensuring every structural or behavioral assertion is grounded in the actual file and preserving verified state across context resets.
by hashgraph-online
Open-source antivirus for AI agents that blocks risky tools, secret exposure, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.
by safedep
Provides enterprise‑grade open source software supply chain security by scanning source code, dependencies, containers and SBOMs, detecting vulnerabilities and malicious packages, and enforcing policy as code.
by tufantunc
Provides controlled SSH access for LLM agents with command classification, policy‑based authorization, human‑in‑the‑loop approval, and immutable audit logging.
by semgrep
Offers an MCP server that lets LLMs, agents, and IDEs run Semgrep scans to detect security vulnerabilities in source code.