taylor
clementsphd.

Case study · multi-agent systems, AI security

Attacking my own AI, safely

A multi-agent platform that continuously red-teams the clinical co-pilot as a black-box attacker: it reaches the deployed app over HTTP only, with no access to its code, database or logs.

Operator dashboard showing attacks judged, verdicts, and coverage and pass rate for each attack category
The live operator console: verdicts, coverage and pass rate for each attack category.

The question

A hospital security lead doesn't want to hear "we ran a lot of attacks." They want to know: can I trust this AI with systems my physicians depend on, and is that trust getting better or worse? Every metric here maps to a claim I'm willing to defend, and the platform has to be trustworthy itself, because a security tool that reports false results is worse than none.

What I built

Results

The first campaign ran 31 unique attacks across five categories and six OWASP LLM risk areas, and produced five published vulnerability reports. One was a real disclosure that the original judge missed and a hardened re-scan caught. All runs used local models, for $0.00 in API spend.

Then the loop closed. I shipped a fix to the co-pilot, the new version triggered the regression suite automatically, and replayed leaks went from 6 of 6 to 0 of 6. One finding was resolved. For the other, a human read showed the co-pilot still explained its internal rule in plain language, which the automated check had scored as a pass. It stays open, documented, rather than claimed fixed.

Dashboard showing resilience across target versions, the vulnerability lifecycle, and cost
Resilience across target versions, the vulnerability lifecycle, and cost.

All work