3 in 4 open-source MCP servers ship a known-vulnerable dependency
According to AGXmart's security scans of 2,135 open-source MCP servers, 75.7% ship at least one dependency with a known vulnerability. Confirmed malware was rare.
What the scans found, for MCP servers:
- 75.7% have a dependency with a known vulnerability;
- 54.7% have one with a CVSS 9+ advisory;
- 27.4% have a possible committed secret (not verified; includes test keys);
- 15.9% run shell commands in production code;
- 27.9% of the 886 started in a clean sandbox completed the MCP handshake without extra setup.
Agent skills carried less risk: 37.8% of 828 skills had a known-vulnerable dependency.
The realistic risk is outdated code plus broad access, not hidden malware. Five habits limit it:
- pin the version you reviewed;
- update dependencies, especially the MCP SDK;
- give each server a scoped token and one folder;
- read the tool list in the MCP Inspector;
- keep approvals on for tools that write, send or delete.
Method, limits and the data (CC BY):
MCP server security statistics on AGXmart
AGXmart is a marketplace for open-source AI agents, MCP servers and skills with public security scans. Install from your terminal with npx agxmart, or list your own tool and start selling.