2026-11-26 15:40 UTC

AgentLeak benchmarks privacy leaks in multi-agent LLM channels

state: seedheat: mediumuncertainty: mediumrelevance: highmulti-agent-systems privacy-testing agent-securityFaouzi El YagoubiGodwin Badu-MarfoRanwa Al Mallah

What is this?

AgentLeak is an open-source research benchmark and associated developer tooling for testing privacy leakage in multi-agent LLM systems. The benchmark is associated with an IEEE Access 2026 paper by Faouzi El Yagoubi, Godwin Badu-Marfo and Ranwa Al Mallah; its repository describes 1,000 scenarios across seven communication channels and five models. The research focuses its large-scale analysis on final outputs, inter-agent messages and shared memory, with more limited coverage of other channels. A separate installable tool offers trace analysis, a CLI, local web UI and CI checks. The repository reports 4,979 validated traces for the paper, but also preserves older summary figures based on 5,694 traces that it says are unreconciled; those figures should not be treated as validated paper results. Search results surface different paper figures, including 68.8% leakage in inter-agent messages versus 27.2% in final outputs and a 41.7% audit gap, so exact headline rates need verification against the current paper version.

Why it matters

As AI systems coordinate through agents, tools and shared memory, a clean user-facing answer may not show what sensitive information was exposed along the way. AgentLeak makes those less-visible pathways a concrete target for testing and gives developers a way to inspect their own traces. If its findings generalize, output-only privacy audits could provide false reassurance; the benchmark and tooling could help teams build more comprehensive checks into development and deployment. Reported leakage rates remain version- and denominator-sensitive, and the benchmark is evidence about its tested scenarios, not a universal estimate of real-world risk.

Current assessment

Newly surfaced through a Show HN post on 2026-11-13, AgentLeak is an open-source benchmark/reproduction repository, distinct from the separately linked practical tool at yagobski/agentleak. The repository says the paper evaluates 1,000 scenarios across healthcare, finance, legal and corporate domains, with 4,979 validated traces across five models. It instruments seven channels; large-scale results cover final outputs (C1), inter-agent messages (C2) and shared memory (C5), while tool inputs/logs receive sample evaluation and tool outputs/artifacts an integration study. The practical tool is described as providing a Python SDK, CLI, local web UI and CI checks for traces, with core analysis running locally; its bundled healthcare example is explicitly synthetic, not a production leakage-rate estimate. The paper’s central implication is that auditing only final answers may miss disclosures in internal agent traffic. Search results report 68.8% C2 versus 27.2% C1 and a 41.7% output-only audit gap, but the supplied repository also preserves a separate, unreconciled 5,694-trace summary with materially different rates. Do not merge these figures or present the older summary as validated paper findings; confirm rates against the cited paper version and its denominator. The evidence supports the importance of inspecting internal channels, but does not establish that the reported rates generalize to deployed systems or that the tool has broad adoption.

Measured heat

now 0 pts/hpeak 3 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 6914h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

02-11 13:00⭐ origin echo-reconstructedThe earliest primary artifact is the paper’s arXiv v1, submitted Feb. 12, 2026 (the linked GitHub README identifies it as the accompanying p
Faouzi El Yagoubi, Godwin Badu-Marfo, and Ranwa Al Mallah on paper (echo) · attributed from hn.story.50476987
—
11-13 01:36first on hacker news · published · +6588.6hShow HN: AgentLeak – open-source privacy testing for multi-agent LLM systems
yagobski
—
11-13 01:36amplified on hacker news 👑hn.story.50476987
yagobski
peak 3 · 0 comments · 98% of case engagement
11-13 02:21our radar first saw it · +6589.4hdiscovery anchor: hn.story.50476987—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: AgentLeak – open-source privacy testing for multi-agent LLM systems
Retrieved article excerpt

Open article · Retrieved 2026-11-13T02:21:38.538758+00:00

# AgentLeak

Benchmark for privacy leakage in multi-agent LLM systems.

This repository accompanies the IEEE Access paper: *AgentLeak: A Benchmark for Internal-Channel Privacy Leakage in Multi-Agent LLM Systems*.

Preprint (v3): <https://arxiv.org/abs/2602.11510v3>

IEEE Access (2026): <https://doi.org/10.1109/ACCESS.2026.3704541>

## Use AgentLeak on your own agent traces

For the installable privacy-testing tool, see **[yagobski/agentleak](https://github.com/yagobski/agentleak)** and **[agentleak.org](https://www.agentleak.org/?utm_source=research_repo&utm_medium=readme&utm_campaign=oss_visibility_202609)**.

The practical tool provides a Python SDK, CLI, local web UI and CI checks for sensitive data disclosed through tool calls, shared memory, inter-agent messages, logs, generated files and final outputs. Core trace analysis runs locally without an LLM dependency; optional live-agent runs use the endpoint you configure.

Try a bundled synthetic example with Python 3.10+:

```
pip install agentleak
agentleak run --scenario healthcare_patient_summary
```

The example illustrates a clean final answer alongside internal-channel disclosures. It is a demonstration, not a production leakage-rate estimate. Follow the [tool quickstart](https://github.com/yagobski/agentleak/blob/main/docs/quickstart.md) to analyze your own traces.

This repository remains the research benchmark and reproduction code. Its experiments, channel definitions and detection pipeline should be cited separately from the practical tool's deterministic analysis and bundled examples.

## Paper evaluation scope

The [paper (v3)](https://arxiv.org/abs/2602.11510v3) evaluates **1,000 scenarios** across healthcare, finance, legal, and corporate domains, with **4,979 validated execution traces** across five models. AgentLeak instruments seven channels: **C1** final outputs, **C2** inter-agent messages, **C3** tool inputs, **C4** tool outputs, **C5** shared memory, **C6** logs, and **C7** artifacts. The large-scale analysis covers **C1/C2/C5**; **C3/C6** are evaluated on a sample; **C4/C7** are examined in an integration study. These channels therefore do not all have the same empirical coverage. The validated trace count is also recorded in [`paper_stats.json`](https://github.com/Privatris/AgentLeak/blob/main/benchmarks/ieee_repro/results/paper_stats.json).

## Separate unreconciled repository summary (5,694 traces across 5 models)

The table and findings below are preserved from the existing README as a separate repository summary. Their stated 5,694-trace basis and reported rates have **not been reconciled** with the paper's 4,979 validated traces. Do not interpret them as the paper's validated results or combine the two denominators; consult the paper for its reported results and evaluation scope.

| Model | C1 (Output) | C2 (Internal) | H1 (Audit Gap) | Total Leak |
| --- | --- | --- | --- | --- |
| **Claude-3.5-Sonnet** | 8.2% | 53.9% | 45.7% | 55.2% |
| GPT-4o | 17.2% | 76.8% | 59.6% | 77.6% |
| GPT-4o-mini | 41.2% | 75.3% | 34.2% | 76.3% |
| Llama-3.3-70B | 26.9% | 67.8% | 41.3% | 89.9% |
| Mistral-Large | 47.5% | 96.2% | 48.7% | 99.3% |
| **Average** | **28.2%** | **74.0%** | **45.9%** | **79.7%** |

### Findings from the unreconciled repository summary

- **Internal channels leak 2.6× more** than external (74.0% vs 28.2%)
- **Output-only audits miss 45.9%** of violations
- **Claude 3.5 Sonnet paradox**: Lowest C1 leakage (8.2%) but 6.6× internal/external ratio—the highest among all models
- **Finding 7 (Tool Leakage)**: Tool inputs (C3) and system logs (C6) exhibit extremely high leakage rates (up to **85%** on Claude 3.5), even when the final agent output (C1) is perfectly sanitized.
- Pattern C2 > C1 holds **across all 5 models** tested

## Scope

- 1,000 scenarios (healthcare, finance, legal, corporate)
- 7 channels: C1 output, C2 inter-agent, C3-C4 tools, C5 memory, C6 logs, C7 artifacts
- 32 attack classes, 6 families
- SDK: CrewAI, LangChain, AutoGPT, MetaGPT

## Reproduction

### Main Benchmark (C1, C2, C5)

To reproduce the main results (Output, Internal, Memory):

```
cd benchmarks/ieee_repro
python benchmark.py --n 1000 --traces --model openai/gpt-4o
```

### Advanced Tools & Logs Benchmark (C3, C6)

Targets "Secondary Channel" leakage where sensitive data is sent to external tools or dumped in logs.

```
cd benchmarks/ieee_repro
# Run for a specific model (e.g., Claude 3.5)
python benchmark_tools.py --n 100 --model anthropic/claude-3.5-sonnet

# Or run the automated multi-model test suite
./run_tools_benchmark.sh
```

Results are saved in `benchmarks/ieee_repro/results/tools/`.

## Structure

- `agentleak/`: The core framework SDK
- `agentleak_data/`: The dataset of 1000 scenarios
- `benchmarks/ieee_repro/`: Scripts to reproduce the paper's findings, including Finding 7 (Tools & Logs).
- `benchmarks/showcase/`: Real-world CrewAI integration demo showing the SDK in action.
- `paper/`: The LaTeX source of the IEEE Access paper

## Setup

```
git clone https://github.com/Privatris/AgentLeak
cd AgentLeak
pip install -e .
pytest tests/ -v
```

## Usage

```
from agentleak import AgentLeakTester, DetectionMode

tester = AgentLeakTester(mode=DetectionMode.HYBRID)
result = tester.check(
    vault={"ssn": "123-45-6789"},
    output="The SSN is 123-45-6789",
    channel="C1"
)
print(f"Leak: {result.leaked}, Confidence: {result.confidence}")
```

CLI:

```
python -m agentleak run --quick --dry-run
python -m agentleak run --full
```

## Reproduction

```
cd benchmarks/ieee_repro
python benchmark.py --n 100 --traces --model openai/gpt-4o-mini
```

Traces are in `benchmarks/ieee_repro/results/traces/`.

## Citation

```
@article{el2026agentleak,
  title   = {AgentLeak: A Benchmark for Internal-Channel Privacy Leakage in Multi-Agent LLM Systems},
  author  = {El Yagoubi, Faouzi and Badu-Marfo, Godwin and Al Mallah, Ranwa},
  journal = {IEEE Access},
  year    = {2026},
  doi     = {10.1109/ACCESS.2026.3704541},
  url     = {https://doi.org/10.1109/ACCESS.2026.3704541}
}
```

## License

MIT
yagobski30
🟧 echo.paper ⭐The earliest primary artifact is the paper’s arXiv v1, submitted Feb. 12, 2026 (the linked GitHub README identifies it as the accompanying pFaouzi El Yagoubi, Godwin Badu-Marfo, and Ranwa Al Mallah——

Interpretation history

Decision trace