# Step-Zero Attack: Agent Safety Before Observability

DevFeed: [Step-Zero Attack: Agent Safety Before Observability](<https://devfeed.tech/articles/step-zero-attack-agent-safety-before-observability-113515.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01953>)

Author: Tian Qin, Yuhang Jiang, Junzhe Chen, Lit Sin Tan, Lijie Wen

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [post-training](<https://devfeed.tech/topics/post-training.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-safety](<https://devfeed.tech/tags/agent-safety.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [attack](<https://devfeed.tech/tags/attack.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [defense](<https://devfeed.tech/tags/defense.md>), [processing](<https://devfeed.tech/tags/processing.md>), [safety](<https://devfeed.tech/tags/safety.md>), [zero](<https://devfeed.tech/tags/zero.md>)

## AI overview

Step-Zero attacks can cause harm while an agent first processes an input, before its contents reach the model. In tests across seven harnesses and six models, 32 of 42 harness-model pairs exceeded a 4 MiB disk budget; 26 overruns occurred before the model saw any archive member, and four models exceeded the budget in every round. Benign twins stayed within budget. For network and image inputs, agents also let the input-declared name determine where the body was written, and checks weakened when attack cues were removed. Model-free tests attributed the harm to the processing primitive. A gate counting bytes produced by each call kept routed extractions within budget while agents completed 25 of 28 tasks; the authors recommend pairing such gates with training to inspect inputs before processing them.

## Source excerpt

arXiv:2611.01953v1 Announce Type: cross Abstract: Existing attacks and defenses for coding agents act once content enters the model context: injected text persuades the model, and guards inspect what the model reads. Yet to judge whether processing an unknown archive, network response, or image is safe, an agent often must process it first, and that step can do harm before any content reaches the model. We call this first processing Step Zero, and harm done by it a Step-Zero attack. Across seven harnesses and six models, each agent received only a path or URL to a crafted input, paired with a benign twin showing the same visible fields. Step Zero is where most agents are already unsafe: 32/42 harness-model pairs overran a 4 MiB disk budget, 26/42 before the model saw any member, and four of the six models did so in every round (84/84), so the damage precedes any model-side defense. Every twin stayed within budget, so the attacker's bytes alone cause the harm. On network and image inputs the risk moves to what the agent writes: agents stored the body under the name the input declared, letting the input decide what is written, and their checks faded once cues were removed. Model-free tests trace the harm to the processing primitive, so we defend it there: a gate that counts the bytes each call produces held every routed extraction within budget while agents completed 25/28 tasks. Vendors should pair such gates with safety-alignment training that teaches agents to inspect an input before processing it.