Observed Signal · Mar 22, 2026 · Security Audit · Source: DEV Community · Impact: 3/5 · Sentiment: Negative

Scan Finds Critical Vulnerabilities in 402 MCP npm Packages

Executive Signal Summary

A security researcher audited 2,386 Model Context Protocol (MCP) packages on the npm registry using a static-analysis scanner and an open detection standard called ATR (Agent Threat Rules). The scan extracted 35,858 tool definitions and found security findings in 49% of packages: 402 rated CRITICAL and 240 HIGH. Issues included SSH key exfiltration, hidden prompt injection, delayed backdoors, environment-variable credential harvesting, and over‑privileged tools that auto-execute on install. The author published ATR (61 rules, 474 detection patterns) and the PanGuard scanner as MIT-licensed open source, reporting 99.4% precision and 39.9% recall for detections. Responsible disclosure was carried out for high-risk packages. The results highlight supply-chain and agent-threat risks for AI agent ecosystems that install MCP packages with broad system access.

Polaris7 AgentPolaris7 Strategic Assessment
High Confidence

Findings reveal widespread supply-chain and agent-execution vulnerabilities in MCP packages on npm that AI coding agents install with broad system access; the open-source ATR rules and PanGuard scanner provide immediate mitigation tooling but the high prevalence of critical issues is a material operational risk for agentized workflows.

MARKET SIGNALS

Track npm Signals & Strategic Shifts

Polaris7 connects regulatory filings, primary sources, leadership changes, and M&A activity into structured intelligence. Set up your Polaris7 workspace to monitor relevant companies in your executive briefing.

  • Verified primary sources
  • Automated briefings
  • Instant watchlist setup

Key Takeaways & Evidence Grounding

  • Scanned 2,386 MCP packages from the npm registry and extracted 35,858 tool definitions.
  • 49% of scanned packages had security findings: 402 CRITICAL and 240 HIGH.
  • 249 packages combined shell, network and filesystem capabilities; 122 packages auto-execute code on install.
  • Author published ATR (Agent Threat Rules): 61 rules and 474 detection patterns, and open-sourced the PanGuard scanner under the MIT license.
  • Detection metrics reported: 99.4% precision, 39.9% recall, and 0.25% false positive rate.

Ontology Mapping & Concepts

#Agent Threat Rules (ATR)#Model Context Protocol (MCP)#PanGuard scanner
Primary Source Grounding & Direct Attribution
Direct Origin Attribution
Primary Reporting: DEV Community•Published: Mar 22, 2026
Original Coverage Title: “I Scanned 2,386 MCP Packages on npm. 402 Were Critical. Here's What I Found.”

Related Market Signals & Shifts

Recent verified developments and strategic activity across this market segment.

Large Language Models & AIApr 2, 2026

Public CVE Index for MCP Servers Released

The author analysed MCP (Model/Model Context Protocol) servers from public registries to inventory implementations and measure dependency-related vulnerability exposure. Phase 1 produced an indexed dataset of over 25,000 distinct MCP implementations (from two registries). Phase 2 scanned dependency graphs and mapped packages to known CVEs, producing a live server-level index covering over 6,000 MCP servers. The results are published as an open API (mistaike.ai/cve-registry) with search, filtering and sorting by severity, CVE count and recency. The analysis highlights widespread dependency risk (examples include servers with 103, 65, 47 and 46 known CVEs, some with critical severities), common dependency sprawl and risks from transitive dependencies. An initial runtime check of a subset found 86% of servers showed no concerning behaviour, while a few exhibited undisclosed telemetry, unencrypted query transport, steganographic watermarking, query logging, or forwarding of unredacted inputs to third-party analytics. Findings are presented as signals, with caveats about exploitability and environment-specific risk.

Read assessment
Large Language Models (LLM) & AIJun 22, 2026

MCP Servers Create Unrecognized Security Hole

A developer who builds Model Context Protocol (MCP) servers warns that MCP—which connects AI agents to external tools and data—creates an under-discussed security vector. Tool outputs returned by MCP servers are dropped directly into a model's context and can act as executable instructions, enabling prompt-injection attacks that chain authorized reads into harmful writes. The author outlines three concrete risk patterns (untrusted data to trusted tools, over-broad token scopes, and supply-chain risks from community servers) and prescribes mitigations: least-privilege tokens, treating external reads as hostile, reviewing server code before installing, keeping secrets out of the model context, and requiring human confirmation for irreversible actions. The piece is practical guidance for teams building or deploying agentic tooling.

Read assessment
Large Language Models (LLM) & AIApr 7, 2026

Malicious MCP Servers Compromise Claude Code

Developer guidance that identifies five high-priority security red flags in Model Context Protocol (MCP) servers used with Claude/Claude Code: (1) missing source-code links, (2) tool handlers that fetch external URLs and return raw responses (prompt-injection risk), (3) environment variables included in error messages (credential leakage), (4) unvalidated file-path parameters (path traversal), and (5) shell commands built with string interpolation (command injection). The post includes code examples of unsafe patterns and safer alternatives, grep commands for quick checks, and a compact quick-reference table. The author also advertises MCP Security Scanner Pro — a $29 one-time tool that claims to run 22 automated vulnerability checks, produce severity-rated findings with line numbers, and export CI/SARIF reports. The guidance targets developers installing or auditing MCP servers to reduce exfiltration and prompt-injection risks.

Read assessment

WATCHLIST & BRIEFINGS

Receive future signals for npm & competitors in your briefing

Stay ahead of material M&A deals, leadership changes, account wins, and product rollouts. Polaris7 connects primary filings, company newsrooms, and trade reporting directly into your executive briefing.

  • Regular primary-source checks
  • Structured Watchlist briefings
  • Preserves current context