AgentBouncer: Defending software engineering agents through dynamic system call mediationAgentBouncer: Defending Software Engineering Agents via Dynamic System-Call Mediation
The paper proposes a runtime defense system, AgentBouncer, that dynamically reviews system calls triggered by software engineering agents through tool calls and denies them when necessary, preventing them from executing malicious operations due to prompt injection, malicious tools or supply chain attacks. At its core is an LLM arbiter that judges each system call by necessity and safety: the less necessary the call, the higher the safety certainty required to allow it; preset policy rules and a hierarchy-aware cache ensure the arbiter is invoked only at critical decisions, to control runtime overhead. In an evaluation of 340 attack samples covering four attack vectors combined with benign tasks from SWE-bench Verified, the attack success rate dropped from 99.41% for an unsupervised agent to 10.59%, 18.23-73.53 percentage points lower than competitive state-of-the-art defenses, with a benign tool call failure rate of only 0.25%; each benign task adds 47 seconds and $0.0036 in LLM cost to the unsupervised agent, while the closest existing runtime defense takes 4.5 times as long and costs 9.6 times as much.
Related events and news
1 events · 0 news mentions
- This event's paper
AgentBouncer 仲裁系统调用防软件工程智能体攻击