Open-source Agent Security Gate checks MCP tool calls in under 5ms
EstablishmentTough18 · reddit · 2026-09-07
A developer released Agent Security Gate x402, an open-source lightweight guardrail for MCP servers and AI agents that inspects tool calls and inputs before execution.
Key points:
- Ultra-fast (<5ms) checks covering AST safety analysis, a jailbreak radar, and a hallucination score
- Issues verification proofs before actions are taken, aiming to block prompt injections (DAN-style), risky code execution, and hallucinated inputs without added latency
- 100% open source, available on GitHub and PyPI (pip install agent-security-gate-x402)
- Includes a no-login browser playground for testing attacks interactively
- Works as an MCP server with Claude Desktop via a few lines of config
More from coding & agent
- Shopify design lead on AI-era workflow: designers are becoming full-stack editors — KlausCodes · 2026-10-26
- Drex for Search hits Nace API console, saving 397k tokens and 56.8% latency per query — testingcatalog · 2026-10-26
- Nace AI launches Drex for Search, cutting agent steps 62% and tokens 56% — testingcatalog · 2026-10-26
- Ultrametric open-sources Open Startup Repo to let AI agents run startup operations — garrytan · 2026-10-26
- MCP fault injection study: agent task scores drop 60% under realistic tool failures, scale doesn't help — dair_ai · 2026-10-26
- General agents burn ~140M tokens/month on LinkedIn outreach; scripts do it 60x cheaper — ChrisHarpon2 · 2026-10-26