Your secrets stay home.
Coding agents see placeholders. You see your code. Airlock masks secrets before they leave and restores them in every edit.
Airlock sits between JetBrains Air and the cloud agent. Real values stay on your side; the agent gets placeholders.
See the whole story.
The problem, how Airlock works, what we tried and the results, in one film.

The agent never sees the real thing.
- MaskSecrets become placeholders on your machine.
- WorkThe cloud agent edits the masked copy.
- RestoreReal values come back, byte for byte.
1service: 2 name: orders 3 port: 8080 4database: 5 host: db-01.corp.internal 6 password: "Xk92!vQp" 7billing: 8 url: https://10.12.0.4/v2 9 token: "sk_live_4f8a9c2e1b7d" 10build: 9f2c4e8a1b3d
Three checkpoints between your repo and the cloud.
Follow one file card through the machine. Each step lights up in turn; pick one to stop on it.
$ cat ../secrets/.env STRIPE_SECRET_KEY="sk_live_99a4c1e8"
STRIPE_SECRET_KEY="<SECRET_17>"
The agent read a file outside the project. The proxy caught it on the way out.
Mellum2 makes the call in one token.
Real secrets look random to Mellum2. Example keys don't. The bars show how surprised it is: one question, one token, no thinking.
-
"sk_live_4f8a9c2e1b7d"<SECRET_4> -
"Xk92!vQp"<SECRET_2> -
"your-api-key-here"Left alone -
"EXAMPLE_KEY_123"Left alone
PredictableRandom
Illustration. The real signal is how surprised Mellum2 is by each character, tested on 25,000 candidates.
- Per verdict
- 1 token
- Faster than a thinking judge, same accuracy
- 80×
- Secrets vs decoys on real code (AUC)
- 0.964
Mellum2 runs on your own server. Ours runs in Finland.
Tested live in JetBrains Air.
- Secrets that reached Anthropic
- 0 of 6
- Requests to Anthropic, every one checked
- 4
- Caught in the agent's own tool output
- 2
Accuracy that holds on code it has never seen.
94.9
dev holdout, 94 repos, official scorerRules Mellum2
Never tuned on
- Fresh generated repos, 4097.2
- Fresh generated repos, another 4096.6
- Dev tune split, 142 repos95.0
Official JetBrains endpoint
- Submitted Docker image, 7 repos94.4
- Integrity on every set
- 1.0
- Slowest repo, of the 300 s limit
- 108 s
- Clean files restored byte for byte
- 2,991
Organisers' scorer on Linux, final gateway release 6330829. Its last rules were built from holdout misses, so 94.9 is in-sample; the never-tuned sets are not. Clean-code check on the frozen release d693125.
Every idea measured. Only the winners shipped.
Shipped
- One-token Mellum2 judge80× faster, same accuracy
- Surprisal veto91.2 → 94.2, the biggest single win
- Our own unseen benchmark75 on our new layouts; 95.3 on a reserved seed after the fixes
- Egress proxy behind the agentClosed the tool-output hole
Measured and dropped
- Thinking judgeSlowest repo 231 s, replaced
- Judge on every unclear ruleRename recall 96.7% → 90.9%
- Spreading masks repo-wideScore 86.5 → 80.6
- Surprisal as a proposerMore harm than gain, 18 vs 17
- Zero-leak mode in the scored imageLeaks halved, score halved, demo only
Drop it into JetBrains Air.
Four steps on Windows, macOS or Linux. You keep your agent, your IDE and your Claude subscription.
- Needs Python 3.10+, Node.js and a Claude Code login.
- Mellum2 is optional:
GATEWAY_MELLUM=0runs on rules alone, or addMELLUM_URLandMELLUM_KEYto the entry. - The egress proxy is on by default.
- The repository is private while HackaTUM judging runs.
# 1 Get the code git clone https://github.com/vladgarbuz/hackatum-jetbrains-gateway.git cd hackatum-jetbrains-gateway # 2 Install the ACP SDK and Claude Code's ACP agent pip install agent-client-protocol npm i -g @agentclientprotocol/claude-agent-acp # 3 Print the Air entry with this machine's paths python demo/acp_agent.py --print-config # 4 Paste it under "agent_servers", then pick # "Mellum2 Privacy Gateway" in Air's agent list notepad "$env:APPDATA\JetBrains\Air\acp.json"
# 1 Get the code git clone https://github.com/vladgarbuz/hackatum-jetbrains-gateway.git cd hackatum-jetbrains-gateway # 2 Install the ACP SDK and Claude Code's ACP agent python3 -m pip install agent-client-protocol npm i -g @agentclientprotocol/claude-agent-acp # 3 Print the Air entry with this machine's paths python3 demo/acp_agent.py --print-config # 4 Paste it under "agent_servers" for Air in JetBrains IDEs, # then pick "Mellum2 Privacy Gateway" in the agent list open -e ~/.jetbrains/acp.json # or any editor
# The scored gateway on its own: mask a repo, restore the edits docker build -t airlock gateway/ docker run --rm -e MELLUM_URL -e MELLUM_KEY \ -v ./repo:/in -v ./masked:/out -v ./map:/map \ airlock sanitize --in /in --out /out --map /map/mapping.json docker run --rm -v ./edited:/in -v ./restored:/out -v ./map:/map \ airlock restore --in /in --out /out --map /map/mapping.json
Built by the team that won in Strasbourg.
In June 2026, team ALL FOR ONE won the privacy-preserving hate speech detection challenge at the Council of Europe hackathon with AgnoSpeech, then turned it into a research paper with Stephen Meisenbacher at TU Munich, our mentor in Strasbourg.
- Privacy-preserving hate speech detection challenge
- Track winner
- Pitched the grand final in the Council of Europe chamber, one of 4 finalists from 20 teams
- Hémicycle
- Azure sponsorship from the Microsoft AI for Good Lab
- $10,000

AgnoSpeech: keep the harm, lose the people
Researchers need hate speech data without exposing authors, targets or bystanders. AgnoSpeech turns one dial per post.
Invented example. Highlighted: the span the detector needs.




