Written as part of the Kiroween Hackathon 2026. Live demo: cryptgate.keyrook-labs.workers.dev | Source: github.com/keyrook/cryptgate
Every time I wire a coding agent up to Stripe, GitHub, or OpenAI, the quickest shortcut is pasting an API key into .env . And every time, the same nagging problem comes back: the agent now holds a long-lived, full-scope credential on disk. One poisoned GitHub issue comment, one 302 redirect to an external host, or one verbose debug endpoint that reflects headers back, and that key lands straight in tool output and logs.
For the Kiroween Hackathon 2026 , I built CryptGate around a simpler setup. Keep the real key encrypted on a server (or on 127.0.0.1 locally) and give the agent a 15-minute proxy URL ( /g/<id>/* ) plus a matching Streamable HTTP MCP endpoint ( /g/<id>/mcp ).…