Data · updated November 13, 2026

MCP Server Security Statistics

What 4,313 automated scans of open-source MCP servers, AI agents and agent skills found, so you know which risks are common before you install.

Key findings

Results by type

Share of scanned repos that…MCP servers (2,135)AI agents (1,350)Agent skills (828)All (4,313)
Ship at least one dependency with a known vulnerability (OSV)75.7%73.3%37.8%67.7%
…including at least one rated critical (CVSS 9 or higher)54.7%55.2%23.6%48.9%
Gitleaks flagged a possible committed secret outside docs and tests (not verified; includes test keys)27.4%36.3%15%27.8%
Run shell commands in production code15.9%24.1%10%17.3%
Execute dynamically built code (eval, exec, new Function)9.1%20.1%5.1%11.8%
Reference credential locations (SSH keys, cloud credentials, browser data)10.4%16.4%7.9%11.8%
Have an npm install-time script (preinstall, postinstall, prepare)14%10.5%5.4%11.3%
Turn off TLS certificate checks somewhere in code6.8%7.3%3.3%6.3%
Install or build cleanly in a fresh environment (where attempted)77.9%73%76.3%76%

What this means if you install MCP servers

The likeliest problem with an open-source MCP server is not hidden malware but an outdated dependency with a known hole, plus broad access that you granted. Pin the version you reviewed, update dependencies, use scoped keys, and keep approval prompts on for actions that write, send or delete. Our MCP server security guide walks through each step.

Method

Use this data

The aggregate numbers are free to cite under CC BY 4.0. Please credit "AgenticMart" with a link to this page. The raw figures are available as JSON. Questions about the method: contact us.