# AI Firewall Bench

Source: https://docs.autessa.com/docs/benchmarks/ai-firewall-bench

> An open benchmark for AI application firewalls: agent tool-call attacks, indirect prompt injection, data exfiltration and multi-turn social engineering, scored on blocks and false positives.

# AI Firewall Bench

AI Firewall Bench scores the defense around an AI agent, not the model inside it. It measures how many attacks a firewall stops and how often it blocks normal users by mistake.

## What it measures

- **Attack block rate** per category and per phase: user input, tool call, tool result, and tool description.
- **False-positive rate** on benign traffic, including benign multi-turn sessions.
- **Per-tool authorization.** Does the firewall require verification before a sensitive tool, like moving money, but not before a harmless one? Does verification wrongly carry over between tools?
- **Disclosure limits.** Does an agent reveal more records in one session than policy allows?
- **Latency** added per inspection.

## Attack categories

| Category | Example |
| --- | --- |
| Agent tool-call attacks | The model is pushed into calling a tool it should not, or with arguments it should not use. |
| Indirect prompt injection | A document, email, web page or tool result tells the agent to do something else. |
| Data exfiltration | The agent is led to send data to an outside address or reveal records in small pieces. |
| Multi-turn social engineering | Over several turns, a caller pretends to be a manager, claims urgency, and asks to skip checks. Includes phone-call transcripts. |

## Focus and composition

- **Defense-first.** Each system under test sits in front of the same agent and tools, so differences come from the firewall.
- **Phase by phase.** Every case says which phase it enters through, so you can see where a product does and does not look.
- **Benign twins.** Many attack cases have a benign version that a good firewall should allow.
- **Voice scenarios** are scored on transcripts of phone calls.

## Methodology

1. **Generate** attack and benign cases per category, phase and channel.
2. **Pilot** against every system under test.
3. **Expand** the families where any system misses.
4. **Publish two splits.** Full is the whole set, with no cherry-picking. Hard keeps the cases that defeat at least one system, including Autessa.

## Data

- All names, accounts and records are invented.
- **Synthetic with human review.** Cases are generated, then checked by people.
- **Human-reviewed share:** to be published with the first results.

## Results

| System | Attack block rate | False positives | Tool-call attacks | Indirect injection | Social engineering |
| --- | --- | --- | --- | --- | --- |
| Autessa AI Application Firewall | Pending | Pending | Pending | Pending | Pending |
| Other systems | Pending | Pending | Pending | Pending | Pending |

Full results and leaderboard: published with the first release.

## Run it yourself

```bash
pip install ai-firewall-bench
export AUTESSA_API_KEY=...
ai-firewall-bench --help
```

## What it does not cover

- Detecting cloned or synthetic voices in audio.
- Caller ID (ANI) checks.
- The scale of crowdsourced attack games with hundreds of thousands of prompts.
- Adaptive red teaming that writes new attacks on the fly.
- Model safety in general, such as harmful content with no tool or data at stake.

Teams that need those should also use the tools on the [landscape page](/docs/benchmarks/landscape.md).

## Related

- [Benchmarks](/docs/benchmarks.md)
- [Landscape](/docs/benchmarks/landscape.md)
- [AI Application Firewall](/docs/features/ai-application-firewall.md)
- [Evaluations and attack simulator](/docs/features/evaluations.md)

