Open-source MCP scanner combines static analysis and live prompt-injection tests
KookyTax5493 · reddit · 2026-07-29
An open-source tool, mcp-scanner, targets a growing security problem for MCP servers: prompt injection through tool outputs.
- It combines static analysis and live probing.
- Static checks look for shell execution, unsafe deserialization, hardcoded secrets, unscoped tools, and missing input validation.
- Live tests connect as a real MCP client and fire prompt-injection payloads such as instruction override, role hijack, exfiltration, tool-chaining abuse, encoding tricks, and homoglyph attacks.
- Responses are judged with a two-stage system: keyword pre-filtering plus an LLM judge fallback.
- The author says it successfully caught an issue in the official mcp-server-fetch, where a poisoned page was echoed back unsanitized.
The project is open source on GitHub and the author is asking for production feedback on what would make it useful in real deployments.
Related event: Open-Source MCP Scanner Detects Injections and Leaked Secrets(2 posts)→
More from coding & agent
- UNC's Wanda: agentic AI for neuroimaging validated on 123,000 brains — PTenigma · 2026-12-02
- Software products need an API/MCP/plugin now: agents will drive acquisition and retention — omooretweets · 2026-12-02
- AI coding tools are self-configuring: install Claude Code and you're done — _jaydeepkarale · 2026-12-02
- Image-to-Blender showdown: Neon crushes Opus with a huge gap — YouJiacheng · 2026-12-02
- Matt Shumer says collaborating with Jacob humbles his AI-orchestration skills ahead of Spawn — mattshumer_ · 2026-12-02
- LiveCraft benchmark: top agents score just 30.3/100 in real-time Minecraft worlds — Chengxing Xie · 2026-12-02