MirageGate is a zero-LLM, zero-external-dependency Go L7 reverse proxy. Provably adversarial probes are shunted into a deterministic OpenAPI-shaped near-miss labyrinth seeded with HMAC-SHA256 breadcrumbs that trigger high-confidence alerts the instant a human operator replays them.
Hard bypass lists protect production paths and CIDRs before shunting canary routes, tampered/alg:none JWTs, path-scoped GraphQL introspection, WAF shunt headers, and IDOR sweeps.
Ingests your real OpenAPI 3.x YAML/JSON spec and synthesizes realistic, idempotent multi-stage responses (Depth 0 → 4+) via HMAC-SHA256 + ChaCha8—driving quadratic attacker context inflation.
Domain-separated 24-byte authenticated envelopes embedded across shadow routes, honey API keys, RFC 7519 HS256 Honey-JWTs, tenant headers, and pagination cursors—verifiable statelessly across restarts.
Ships with a hardened loopback Admin Web Console (127.0.0.1:8081), live defender-vs-attacker token economics, standalone HTML incident reports, and 0600 ECS JSONL logs.
git clone https://github.com/ejames-dev/MirageGate.git
cd MirageGate
# Run the self-contained 3-actor live demo (Legitimate + 36-turn Recon Agent + Manual curl Handoff)
go run ./cmd/miragegate demo --keep-alive
# Run the reproducible 4-cohort benchmark suite
go run ./cmd/miragegate bench --sessions 10 --turns 30