← Lab /AI/ML

Behavioral firewall cuts attack success to 2.2% in structured workflows

The proposed telemetry-driven firewall reduces attack success rates to as low as 2.2% in structured workflow scenarios

AI/ML arXiv 29 Apr 2026 Defense Prototype evidence Threat model

Published as “Enforcing Benign Trajectories: A Behavioral Firewall for Structured-Workflow AI Agents”

Why it matters

Praetor can be deployed as a low-latency sidecar firewall for structured AI agents, dramatically lowering sequential-injection success, but it requires strict parameter whitelisting and may not protect open-ended agents.

Summary

Praetor reduces the macro-averaged attack success rate to 5.6% across five Agent Security Bench scenarios and to 2.2% in three structured workflows (vs. 12.8% for the stateless Aegis baseline), while adding only 2.2 ms per-call latency and incurring a 2.0% benign-task failure rate; the evidence comes from a benchmark of 1,000 attack attempts per family on five scenarios using public ASB and ToolBench data, but the system still suffers an 18% evasion rate to synonym-substitution attacks and higher ASR (8.6%-12.6%) on open-ended agents.

What they found 4

  1. Overall macro-averaged attack success rate is 5.6% across five scenarios.

    “Praetor achieves a 5.6% macro-averaged attack success rate (ASR) across five scenarios.”

  2. In three structured workflows the ASR drops to 2.2%, beating Aegis (12.8%).

    “Within three structured workflows, ASR drops to 2.2%, outperforming Aegis, a stateless scanner, at 12.8%.”

  3. Per-call latency is 2.2 ms, a 3.7× speedup over Aegis, with 2.0% benign-task failure rate.

    “Praetor introduces just 2.2 ms of per-call latency (a 3.7× speedup over Aegis) while maintaining a 2.0% benign task failure rate (BTFR) on benign workloads.”

  4. Synonym-substitution attacks evade the string guard 18% of the time.

    “unmaintained continuous parameter bounds remain vulnerable to synonym-substitution attacks (18% evasion rate).”

Caveats 8

  • Synonym-substitution attacks achieve an 18% evasion rate against the string parameter guard.
  • In high-entropy, open-ended scenarios the ASR rises to 8.6% (Travel Planner) and 12.6% (Research Agent), raising the overall macro-average to 5.6%.
  • Benign-task failure rate is 2.0%, meaning legitimate workflows are occasionally blocked.
  • A gray-box adversary with 90% knowledge of the benign trace corpus still attains 0.8% ASR.
  • We explicitly assume the offline profiling environment is secure and the initial training corpus C is verified benign ... This vulnerability surface falls outside the scope of Praetor’s runtime enforcement guarantees.
  • Praetor’s efficacy relies heavily on task structure. ... Praetor is not a universal substitute for stateless scanners in unconstrained environments.
  • The residual 18% baseline evasion rate dictates supplementary mitigation. ... if the lexicon is incomplete or unmaintained, the evasion rate strictly remains 18%.
  • The stale pDFA yielded a prohibitive 24.0% BTFR.

What’s new here 3

  • Stateful enforcement via a parameterized deterministic finite automaton (pDFA) that captures sequential tool-call context.
  • Constant-time O(1) runtime lookup by moving all semantic analysis to an offline profiling phase.
  • Exact-match whitelisting of sensitive parameters as a final defensive layer.

Threat model stated by the source

Adversaryindirect prompt-injection adversary X
Capabilitywrites to data sources the agent reads, knows generic defenses, observes benign behavior