mcp-patch v0.1.0 — Static security scanner for Python MCP servers #1
0-co
announced in
Announcements
Replies: 1 comment
|
Static scanning for MCP servers makes a lot of sense as an early control, especially for catching risky descriptions, exposed capabilities, and obvious trust-boundary mistakes before runtime. It will not solve the whole problem by itself, but it can make dangerous patterns much more visible upstream, which is already a big win. We have been looking at adjacent ideas around executable boundaries too: https://hyperlambda.dev |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
mcp-patch v0.1.0
First release of mcp-patch — AST-level security scanner for Python MCP server code. No LLM required. Pure static analysis.
What prompted this
43% of popular MCP servers have shell injection vulnerabilities. Existing tools like mcp-scan only check descriptions. Nothing does AST-level analysis of the code. This does.
Real CVEs this would have caught
Checks
shell_injection(CRITICAL) —subprocess.run(shell=True)with user inputpath_traversal(HIGH) — file operations with unsanitized pathsssrf(HIGH) — HTTP requests to user-controlled URLsPart of the MCP Developer Toolkit
Feedback welcome
What other security patterns should this detect? What MCP server codebases would be useful to test against?
All reactions