Cooperative clients use placeholders
Dummy valuesA client configured to use Airlock receives dummy values like __OPENAI_KEY__ instead of a real credential, so a real key is never placed in prompts, configuration, or ordinary logs.
A self-hosted credential firewall for AI agents. Your agent works with placeholder keys; a deny-by-default local proxy swaps in the real ones, only for hosts you have allow-listed, and every request is audited.
Built natively into REX, ClassEve’s desktop AI, as a routed-credential policy layer. It is a credential boundary, not an operating-system sandbox.
Windows-first, Node / TypeScript, Apache-2.0. Open source — clone it or browse the repo:
The agent is handed a placeholder and its traffic is routed through the proxy. The proxy holds the real credential and swaps it in on the way out, for hosts you allow-listed. So the thing worth counting is how many places a real key exists at all.
"apiKey": "sk-live-7f3a91c0d84e"your real keyAuthorization: Bearer sk-live-7f3a91c0d84eyour real keyPOST /v1/messages auth=sk-live-7f3a91c0d84eyour real keyOPENAI_API_KEY=sk-live-7f3a91c0d84eyour real keyexport OPENAI_API_KEY=sk-live-7f3a91c0d84eyour real keysk-live-7f3a91c0d84ewhere it belongsEvery line above is an accident — a value that ended up somewhere nobody meant to put it. That is the class of problem Airlock removes. A process running as your own OS account that means you harm is a different problem, and the ledger below says exactly how much of it Airlock does not solve.
The agent is configured with __OPENAI_KEY__. Airlock swaps in the real credential inside the chamber, for hosts you have allow-listed, and writes down every request either way.
What you are configuring is the machine at the top of this page. The panel fills in as each step lands.
A client configured to use Airlock receives dummy values like __OPENAI_KEY__ instead of a real credential, so a real key is never placed in prompts, configuration, or ordinary logs.
Requests routed through the loopback proxy are checked before credential injection and logged. It is a policy layer, not an operating-system sandbox: a hard boundary against untrusted local code also needs a separate OS identity, file ACLs, and OS-enforced egress controls.
DPAPI on Windows seals the vault against offline disk theft and other OS accounts; it is unsealed only for your own Windows user.
The left column is accidents — a real key ending up somewhere nobody meant to put it. The right column is an attacker who already holds your OS account. Airlock is a policy layer, and this is where that stops being a phrase and starts being a list.
The right column closes only when the broker and the agent run under separate restricted OS identities, the vault and admin channel are ACL-isolated, direct network bypass is contained, and DNS answers are pinned to the connections they authorise.