mcp-guard v0.4: Audit Any MCP Server in One Command, Detect Rug-Pulls and Test Prompt Injection
ErgoniaWorks · reddit · 2026-10-13
mcp-guard (MIT, Python) v0.4 shows what an MCP server actually does before you add it:
- Live audit, no config: one command starts the server, does the handshake, pulls the real tools/list and rates every tool. On the official memory server: the launch line rates LOW, but 6 of 9 tools can create or delete data — expected, yet a config line never tells you.
- Rug-pull detection: lock fingerprints every tool (description, schema, annotations) into mcp-guard.lock; commit it and inspect --lock flags tool-changed/added/removed when a server quietly mutates after approval. Secrets never enter the lock, so key rotations don't fire alerts.
- Automated prompt-injection runs: test-injection plays a hostile MCP server against your agent with honeypot tools and hidden payloads, failing on canary leaks (even base64/reversed), unneeded tool calls, or data exfiltration; includes a real-Claude adapter — run multiple times since results aren't deterministic.
Honest limits: pattern-based, reads declarations not runtime behavior — a tripwire, not a sandbox. v0.4 also tightens false-positive rules ("Execute a SQL query" no longer flagged as shell exec).
More from coding & agent
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29
- Founder claims LLMs aren't even the right ML approach for writing programs — jfischoff · 2026-11-29
- Gmail's official MCP only drafts, never sends: devs slam over-cautious agent design — steipete · 2026-11-29