cd /news/ai-agents/how-to-check-what-an-ai-agent-leaked… · home › topics › ai-agents › article
[ARTICLE · art-178428] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How to check what an AI agent leaked before its final answer

The co-authors of the AgentLeak benchmark released AgentLeak, an open-source tool that inspects recorded AI agent runs to detect data leaked through channels beyond the final chat reply, such as tool calls and logs. The tool ships with synthetic scenarios, like a healthcare patient summary, that run without customer data, a hosted account, or an API key, and the authors recommend re-running a synthetic test on any channel of concern before each release. A clean report, they note, only means the enabled checks flagged nothing in the channels that were captured.

key takeaway

AgentLeak inspects recorded agent runs across tool calls and logs, not just the final reply, and its synthetic scenarios run without customer data or an API key so a channel-specific check can be rerun before each release.

by read1 min views4 publishedNov 30, 2026

A support agent can reply “Follow-up scheduled” without revealing anything in the chat. But what did it send to the scheduling tool? What did it write to its logs? Reviewing the reply alone won’t tell you.

We built AgentLeak to inspect recorded runs. Start with a synthetic scenario so you don’t need customer data, a hosted account, or an API key:

pip install agentleak
agentleak run --scenario healthcare_patient_summary

In the report, look for the channel where each finding appears. Separate places where the agent was allowed to receive a value from places where it shouldn’t have shared it. Once you’ve identified a channel you care about, use a synthetic test to check it again before each release. A clean report only means the enabled checks didn’t flag anything in the channels you captured.

Follow the quickstart on AgentLeak.org. If you try it, I’d like to know which channel was hardest to capture in your stack.

I’m a co-author of the AgentLeak benchmark. AI assisted with drafting this article.

── more in #ai-agents 4 stories · sorted by recency
── more on @agentleak 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-check-what-an…] indexed:0 read:1min 2026-11-30 · —