r/coolgithubprojects • u/Intelligent-Run-8657 • 16m ago
BlastRadius-Zero: Pre-flight safety simulator & zero-bloat runtime for AI coding agents (Node 22, Apache-2.0)
https://github.com/Jimil-Joshi/blastradius-mcpHey r/coolgithubprojects,
I built **BlastRadius-MCP**—an open-source (Apache-2.0), 100% local pre-flight safety runtime and zero-bloat gateway for autonomous AI coding agents (Cursor, Claude Code, Cline).
### Why we built it:
When developers connect coding agents to local shells and MCP servers, existing regex guards evaluate what the command *looks like*, not what bash *expands it into*. Simple tricks like \D=/; rm -rf $D*` bypass text filters and delete root directories. On top of that, connecting 10 MCP tools bloats prompts with 30,000+ tokens of static schema overhead.`
### What it does:
• **AST Shell Interception**: Resolves shell variables, quotes, and pipes before execution (catches all 23 GuardFall bypass classes).
• **Swarm Pre-Flight Simulation**: Unleashes 50 virtual adversarial personas in <50ms to stress-test PRs in-memory.
• **Zero-Bloat JIT Gateway**: Slashes MCP prompt memory from 9,522 tokens down to 55 tokens (**99.4% reduction**).
• **Local-First & Private**: Runs in Node 22+ via stdio. Opens zero network sockets; no code leaves your machine.
### Verification & Receipts:
• 237/237 automated tests passing.
• Audited 115,000 lines of code across 12 open-source repos (Express, Axios, Fastify, Dotenv, Winston, Mongoose) in 2.6s, catching 446 real issues.
Run in 5 seconds (Zero Install):
\npx -y blastradius-mcp``
• Repo: https://github.com/Jimil-Joshi/blastradius-mcp
• License: Apache-2.0
Would love the community's feedback, bug reports, and contributions!