What a passing privacy gate establishes, and what it does not
The SoftwareX paper on AgentLeak states its limits in numbers: 192 of 261 leaking scenarios detected by the fast tier, 60 of 300 benign traces blocked, and a pass that stays conditional. How to read a result from any privacy gate.
Most tool papers report what the tool finds. The abstract of the AgentLeak software paper, published in SoftwareX in December 2026, states what the tool gets wrong and what a green result is not allowed to mean as plainly as it states what the tool finds. That is the part worth reading if you run any privacy check in a pipeline, so this article walks through it.
The problem the paper starts from
An agent can disclose private data through tools, memory, messages, logs and files while returning a clean final answer. Output scanners and application tests look at individual outputs. They do not connect what an agent emitted on its internal channels to one privacy record and one release decision. That gap is the subject of the benchmark paper. The software paper asks the engineering question that follows: what would a tool have to do to close it, and how would you know it did?
What the software puts together
AgentLeak normalizes eight instrumented channels into one record. Local rules run first, with optional entity recognition and an optional language-model judge behind them, and the findings feed AgentRisk scoring, provenance and policies. Six interfaces share that one engine, so findings and gate decisions are comparable between them. A blocked run is one that a policy, a score floor or a critical-finding rule rejected.
Detection is not recall
In v0.18.0, the deterministic fast tier detects 192 of the 261 packaged leaking scenarios, which is 73.6%. That is the number to remember, and the paper takes care to separate it from a flattering one. Replaying scenarios that contain exact canaries finds them by construction, so that run measures whether the fixtures are intact and the replay works. It is a non-regression check. It says nothing about how many leaks the tool would find in text it has never seen.
The same discipline applies to the negative set. The minimization counterparts, built from the leaking scenarios with the scenario data removed from every disclosure channel, test whether the scope rules behave. They are not a measure of false positives on production text, and the paper does not present them as one. The data minimization article gives the construction.
A gate that blocks what the task authorized
The most useful result is an uncomfortable one. The paper built 300 benign traces and ran them through the default gate. It blocked 60 of them, and all 60 transmitted health data that the task was authorized to send. A further 100 controls built after the release reproduced the same behavior.
The cause is not a bug in detection. The default gate sees a health value reach a recipient, and nothing in a plain score tells it that this recipient may receive it for this purpose. The fix is configuration: a separately configured gate that knows recipients and purposes permits the authorized health transfers and still rejects the controls where the recipient is wrong. This is the same lesson as the gateway article, from the other side. A data type alone is not a policy. A policy is a data type, a recipient and a purpose.
What the monitoring work found
The paper also covers sampled monitoring, which checks a share of runs instead of every one. Framework executions and controlled monitoring sequences were used to validate capture and alerting, and they exposed defects, which the release then corrected. Reporting that the validation found problems is more informative than reporting that it passed, because it shows the validation was able to fail. The timings in the paper cover local analysis of synthetic traces, so they say how fast the analysis is and nothing about the cost of capturing a production run.
How to read a pass
The paper's closing position is also the most reusable: a pass remains conditional on the instrumented channels, the enabled detectors and the configured policies, and it does not establish privacy safety. In practice, a pass is three claims in a row.
- Every channel that matters was recorded. A channel that was never captured cannot produce a finding. Check the report's list of observed channels before the verdict.
- The detectors that ran can see this kind of leak. A fast-mode pass says no disclosure the pattern tier can see was found, and the detection tiers article shows what that tier misses.
- The policy says what you meant. A permissive rule passes a leak, and a missing recipient rule blocks a legitimate flow. Test the policy with controls in both directions.
If you adopt only one habit from the paper, make it this one: ship a deliberate leak and a deliberate authorized transfer as controls in the same pipeline. The first must fail the gate and the second must pass it. When both behave, the green result starts to carry information. The CI guide shows where to put them.
Where this fits with the other paper
The two papers answer different questions. The IEEE Access paper measures how often multi-agent systems leak and through which channels. The SoftwareX paper documents a tool for measuring and gating that, and states how far to trust it. Cite both if you use both, and cite the release you ran. The research page has both entries in BibTeX.
Questions
Is the paper the same as the IEEE Access benchmark paper?
No. The IEEE Access paper reports what multi-agent LLM systems leak, measured on 4,979 traces. The SoftwareX paper documents the installable software that performs that kind of measurement and evaluates it as a tool: what it detects, what it wrongly blocks and what a result means.
Why does the paper report a gate that blocks benign traces?
Because a gate that only reports its catches hides its cost. The default gate sees a health value reaching a recipient and cannot tell that the task authorized it. The paper reports the 60 blocked traces and the configuration that fixes them, instead of leaving the question open.
Does a pass mean an agent is private?
No. The paper says a pass remains conditional on the channels you instrument, the detectors you enable and the policies you configure. A channel that was never recorded cannot fail.
Which version does the paper evaluate?
AgentLeak v0.18.0. Later releases have changed detection and scoring, which is why the software benchmark on this site is re-measured with each release.
Sources
- AgentLeak: A framework for privacy testing and sampled privacy monitoring of AI agents across instrumented execution channels, SoftwareX 36, 103284, 2026
- DOI 10.1016/j.softx.2026.103284
- AgentLeak: A Benchmark for Internal-Channel Privacy Leakage in Multi-Agent LLM Systems, IEEE Access, 2026 (arXiv v3)
- AgentLeak software benchmark, re-measured with each release
Run it on your own agent.
AgentLeak is open source and runs locally. The first scenario takes one command and no key.