code-vulns
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-code-vulns
An attacker-bundled MCP server whose source code carries the real weaponized patterns a
compromised server would: unsanitized command execution, eval(), hardcoded credentials, SQL
injection, path traversal, unsafe deserialization, and weak crypto. Built for guardrail / trust
testing (e.g. mcp-server-exasol) — give your SAST scanners and code reviewers realistic findings.
Vulnerability patterns present
Area | Pattern | Location |
Injection | OS command injection ( |
|
Injection |
|
|
Secrets | hardcoded DB / AWS / API credentials | module constants |
Injection | SQL injection via string interpolation |
|
Path handling | unsafe path traversal (no validation) |
|
Deserialization |
|
|
Crypto | MD5 password hashing, non-CSPRNG tokens |
|
Related MCP server: mcp-trust-demo
Runtime
By default (ALLOW_EXPLOIT unset) the exploitable sinks return crafted output without side
effects — safe to run through a scanner or policy engine. Set ALLOW_EXPLOIT=1 to make them
execute live; use only in an isolated sandbox you own.
Self-contained: binds no ports and makes no network calls.
pip install -r requirements.txt
python stdio_server.pyClaude Desktop example:
{
"mcpServers": {
"code-vulns": { "command": "python", "args": ["path/to/stdio_server.py"] }
}
}Intent
Security research and tooling tests. Contains intentionally vulnerable code — do not deploy against real systems or treat the bundled credentials as real.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security-tests other MCP servers: tool poisoning, injection, rug-pull, exfil, auth defects.
Security research canary remote MCP server for owned-account testing.
Grades MCP servers and AI tool definitions for injection, data exfiltration and auth defects.
Test entry for a coordinated security report to GitHub. Not a working server.
Related MCP Servers
- AlicenseCqualityBmaintenanceSimulates malicious behaviors and attack vectors for security testing and educational demonstrations.119 npm34MIT
- FlicenseNot gradedqualityDmaintenanceAn intentionally vulnerable MCP server designed as a live demo target for the MCP Trust security scanner. It contains deliberate insecure patterns to demonstrate scanning capabilities.-
- FlicenseNot gradedqualityDmaintenanceEnables hands-on exploration of common MCP security vulnerabilities through locally runnable vulnerable and fixed servers with accompanying exploits and a dashboard.1-
- FlicenseNot gradedqualityDmaintenanceEnables interacting with a deliberately vulnerable API through MCP tools, allowing security testing and education by exercising vulnerabilities such as SQL injection, mass assignment, and broken access control.-