potentialpaper

ToolHazard: Synthesizing Executable Adversarial Environments for Agent Security

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:42 UTC · 92e686143c11 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ItfAw5sasJ"
- }
- ],
- "title": "ToolHazard: Synthesizing Executable Adversarial Environments for Agent Security",
- "authors": [],
- "abstract": "Large language model (LLM) agents are vulnerable to indirect prompt injections embedded in environmental states. However, existing studies mainly vary injection payloads within a limited set of manually built or reused environments and predefined injection locations; LLM-based tool simulation broadens coverage but complicates reproducible evaluation and reward computation. Consequently, constructing executable and verifiable adversarial environments at scale remains a key challenge for both diagnosing agent vulnerabilities and improving security through alignment. To bridge this gap, we introduce **ToolHazard**, which moves beyond payload variation in fixed environments by synthesizing executable adversarial environments. ToolHazard synthesizes stateful environments and state-grounded tasks, discovers task-reachable injection paths from attacker-writable state to agent observations, and constructs programmatic outcome verifiers. We use ToolHazard to build ToolHazard-Bench for stress-testing agents under multi-step workflows and environmental attacks. Experiments reveal substantial vulnerabilities and characterize the effects of injection timing and placement. Moreover, ToolHazard-generated alignment data further improves security on ToolHazard-Bench and AgentDojo while maintaining helpfulness.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "65d93c06-a6d5-44f2-a544-e55f719009ec"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "ToolHazard: Synthesizing Executable Adversarial Environments for Agent Security",
+ "authors": [],
+ "abstract": "Large language model (LLM) agents are vulnerable to indirect prompt injections embedded in environmental states. However, existing studies mainly vary injection payloads within a limited set of manually built or reused environments and predefined injection locations; LLM-based tool simulation broadens coverage but complicates reproducible evaluation and reward computation. Consequently, constructing executable and verifiable adversarial environments at scale remains a key challenge for both diagnosing agent vulnerabilities and improving security through alignment. To bridge this gap, we introduce **ToolHazard**, which moves beyond payload variation in fixed environments by synthesizing executable adversarial environments. ToolHazard synthesizes stateful environments and state-grounded tasks, discovers task-reachable injection paths from attacker-writable state to agent observations, and constructs programmatic outcome verifiers. We use ToolHazard to build ToolHazard-Bench for stress-testing agents under multi-step workflows and environmental attacks. Experiments reveal substantial vulnerabilities and characterize the effects of injection timing and placement. Moreover, ToolHazard-generated alignment data further improves security on ToolHazard-Bench and AgentDojo while maintaining helpfulness.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}