Inspiration

A distillation attack is when someone takes a powerful AI model and asks it questions millions of times, then trains their own model on the answers. Earlier this year Anthropic caught three labs doing this with 24,000 fake accounts and 16 million conversations. They weren’t after trivia. They went after the hardest data to find anywhere: how an agent reasons, uses tools and writes code.

What it does

Baker Street watches the traffic of a coding-agent model API and gives each account a risk level. It blocks accounts that collect training data, and it connects accounts that work together into campaigns. For each block, it shows the evidence and writes a case file that a person can check.

How we built it

We built a lab API and replayed two public datasets of real coding-agent sessions through it, as normal users and as attackers. A simple rule finds accounts that send the same conversation many times. A fine-tuned Qwen3 model finds prompts that ask the model to show all of its reasoning. We trained it on a rented A100 GPU, and the results show on a React dashboard.

Challenges we ran into

Our first models learned which dataset an account came from, not what the account did. We added controls to find this problem, and we removed the signals that failed them. The hardest attacker copies normal use, and we catch only about half of those accounts.

Accomplishments that we're proud of

On data that we never used for training or tuning, Baker Street blocked all 200 bulk-copy accounts and all 47 fake-environment accounts. It blocked only 1 of 64 normal accounts by mistake. Our prompt model found 90% of elicitation prompts that it had never seen, with 99% precision.

What we learned

A simple rule can be stronger than a large model, and it is easier to explain. A good score can be wrong because it measures the wrong thing. We now test each signal against what it really detects before we trust it.

What's next for Baker Street

We want to catch more of the attackers that copy normal use, and to catch them earlier. We also want to fix the signal that finds fake tool outputs, and to run the full system without a GPU. Then we want to test Baker Street on real API traffic, with a review queue for human analysts.

Built With

Share this project:

Updates

Submission history