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…
Related MCP Connectors
Security research canary remote MCP server for owned-account testing.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections an.
A public MCP honeypot: a fake ops console with fake secrets. Every call is shown on decoy.day.
Related MCP Servers
- AlicenseCqualityBmaintenanceSimulates malicious behaviors and attack vectors for security testing and educational demonstrations.161 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 gradedqualityCmaintenanceEnables hands-on exploration of common MCP security vulnerabilities through locally runnable vulnerable and fixed servers with accompanying exploits and a dashboard.1-
- FlicenseNot gradedqualityCmaintenanceEnables 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.-