Manuscript Offprint
arXiv:2611.01953Step-Zero Attack: Agent Safety Before Observability
Tian Qin , Yuhang Jiang , Junzhe Chen , Lit Sin Tan , and Lijie Wen
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.
Index Terms—Autonomous agents, cyberattack, data compression, data integrity, decision making, large language models, software safety, software tools.
I. INTRODUCTION
AGENTS, language models that act through the tools of a harness, run commands, fetch resources, and edit files on a user's behalf, and in software development they now inspect third-party artifacts as well as generate code [1], [2], [3]. Suppose a developer hands an agent the path of a project archive and asks what it contains. Only opening the archive reveals its contents, and that opening is itself an action on the developer's machine. Network endpoints and images are likewise opaque carriers whose contents stay sealed until a tool unpacks, fetches, or decodes them, so the information needed to judge the first processing call arrives only through that call. Many agents also run with automatic approval [4], which removes the person who would stand between the agent and the call. Can an agent stay safe when the information required to judge an action becomes available only through the action itself?
Existing attacks and defenses act once content enters the model context. In indirect prompt injection, adversarial text inside retrieved documents or tool outputs talks a model into unauthorized actions [5], [6], [7], [8], [9], [10], and benchmarks present untrusted inputs as decoded text that may carry imperative instructions [6], [7], [11]. Software-engineering benchmarks begin after a repository is materialized [12], [1], [2], parser-differential studies compare extractors the study itself runs [13], and lifecycle monitors and action guards check a call before or after it runs [14], [15]. At the first processing call on an opaque carrier, everything these methods inspect looks benign or arrives too late. The carrier holds only data, the call is benign and required by the task, and for an archive the side effect is complete when the call returns (section II). Filtering on declared fields fails against a carrier whose fields all match a benign archive, since then only decoding the stream separates the two (section VII), and verifying a declared filename requires a commitment (section III).
We call this first processing of previously opaque information Step Zero, and an input crafted to cause harm at this call a Step-Zero attack. The attacker controls only the bytes of the carrier and carries the harm in data alone (section III). The call that would reveal those bytes is the call that admits the hazard, so the agent must be safe before the content is observable, holding at most a preview of the carrier's outer fields. The payloads are known format hazards, a decompression bomb whose declared size understates its stream [16], [17] and a body that conflicts with its declared name, the gap behind content-sniffing attacks [18], which practitioners have patched one tool at a time [19], [20]. The stage at which they act is new. The agent chooses how to open them, and the opening it chooses can write to the user's machine before any data reaches the model. Naming retrieved text as an attack surface opened systematic defense design for indirect prompt injection [5], and naming the Step-Zero attack identifies the call that acquires information as the corresponding surface for opaque inputs.
Step Zero reverses the order on which model-side safety relies: the model is expected to judge content before acting on it, and here acting comes first. We distinguish hazard ingress, when a latent discrepancy or an unbounded stream crosses from the carrier into the environment or the model context during Step Zero, from risk realization, when the admitted hazard violates a concrete invariant such as a disk budget or the integrity of a named file (Fig. 1). For archives the two usually coincide, because extraction writes while it reads, and the violation is immediate, possibly before the model has seen any content. For network and image carriers we score a later write of the declared file, which in every such cell followed the body into the model context, so the violation is deferred relative to that file, although a fetch can write other paths earlier. Both paths are instruction-free. The returned records are declarative fields, a filename and, in two conditions, a SHA-256 prefix of the declared content.
Equal contribution.
Corresponding author: Lijie Wen, wenlj@tsinghua.edu.cn.
Tsinghua University, Beijing, China.
The University of Sydney, Sydney, NSW, Australia.
Harbin Institute of Technology, Harbin, China.

Fig. 1. Step Zero for an opaque carrier. (1) The prompt is a bare reference. Before the first call the agent has seen only that reference () or also a preview whose declared fields match across the two arms (). (2) The first processing call admits the hazard. Archive extraction usually exceeds the byte budget before any member reaches the model (immediate). On network and image carriers the scored violation is the later write of the body under the declared filename (deferred).
We measure Step-Zero attacks with a paired protocol. Every crafted carrier has a matched twin whose shared preview fields agree and whose declaration is true, a recording proxy stores every request a harness sends to its model, so ingress is judged from what entered the model context, and a disk sampler records when extracted bytes cross a budget. Scripted extractors and an opaque-versus-transparent control separate the tools' behavior from the agent's. Across seven harnesses and six models, each cell's entire prompt is a bare reference and the budget is unannounced, so the agent's default handling of an input of unknown size decides the outcome. The attacks also succeed under a task that requires materialization. Asked to extract the archive and run its tests, agents breached the budget in 28/28 cells, and asked to save an attachment whose digest disagreed with its body, they wrote it in 27/28 (section VI).
Under a bare path, agents treated obtaining information as a harmless preliminary, and three findings follow. First, at Step Zero most agents were already unsafe, and the damage landed before any model-side defense could act. Extraction exceeded the byte budget in 32/42 (76.2%) of archive cells, 26/42 before any member had reached the model, while every twin stayed within the budget (Fig. 3). A truthfully declared archive breached as often (28/28), so default agents extract whatever arrives, and misdeclaration matters only against defenses that read declared fields. The extracting cells left the step itself unguarded: 0/33 set a resource limit, and 17 breaches followed a listing the agent had already read. Second, where the model does see the content, seeing it was insufficient. On commitment-free network and image carriers, agents saved the delivered body under its declared filename unprompted, and every such write followed the body into the model context, so observation alone left the input in control of what lands
in the workspace, with the image carrier evaluated through tool decoding and pixel-level perception left to future work (sections V-D and VI-A). Third, caution depended on the model, and a model's caution on one carrier predicted little about its caution on another. Gemini-4-Argon inspected the archive read-only first most often and tied for the lowest archive breach rate, yet it had the most conflicting writes on network and image carriers, an ordering we report as descriptive (section V-F). A safe agent must weigh the operation that obtains information as well as the information it obtains.
The cause lies in the processing primitive, so the defense is most effective in the tool. A model-free comparison shows that the same carrier realizes immediately under one primitive and is deferred under another. The Step-Zero Safe Protocol (SZSP) integrates a read-only opening, a byte-counting bounded extraction, and a staged commit into the opening an agent calls (section VII). Routed through SZSP in live agents, extraction exceeded the budget in 0/28 cells against 28/28 ungated, and agents still completed an extraction task in 25/28 cells, so bounding the primitive removes the harm while the agent keeps its utility on this task. The one breach came from an extractor invoked by its absolute path, so the gate is strongest inside the harness's own tool layer.
We make four contributions. First, we identify the Step-Zero attack, whose harm is done by the call an agent issues to acquire information, before the data reaches the model, and we formalize safe decisions at that call with the Opaque Input Carrier (OIC) framework, which separates hazard ingress from immediate and deferred realization (section III). Second, we contribute a reproducible paired measurement protocol in which matched twins, a record of the model context, and disk sampling attribute each violation to the hazard (section IV). Third, we measure both violation mechanisms across seven harnesses and six models, with ablations that remove lexical cues, randomize the commitment, and add a benign task (sections V and VI). Fourth, we build SZSP and evaluate it: the archive byte gate is enforced and verified both model-free and in live agents, and the network write binding is a reference design whose enforced evaluation in live agents is future work (section VII).
A. Prompt Injection and Action Guards
Research on indirect prompt injection evaluates whether adversarial instructions in retrieved documents, web pages, or tool outputs redirect an agent [5], [6], [7], [8], [9], [10], [11], with extensions to web and multimodal agents [21], [22], [23]. Defenses enforce instruction hierarchies, mark untrusted text spans, or check alignment between user intent and downstream tool calls [24], [25], [26], [27], [28], and SARA isolates an action probe that inspects tool observations for action-inducing semantics before authorizing later calls [15]. These methods target persuasion after readable content enters the model context and detect imperative text. We study the complementary regime in which ingress occurs during the first processing of an opaque carrier and later workspace changes follow declarative fields.
B. Agent Harnesses and Monitoring
SWE-bench, SWE-agent, OpenHands, and Terminal-Bench show that agents with shell and file tools resolve complex tasks on expanded repositories [12], [1], [2], [3], and security studies examine how workspace layout, approval fatigue, and harness permission gates affect vulnerability on materialized codebases [29], [30], [4], [31]. MTGuard enforces policies through pre-execution parameter auditing, in-execution system-call monitoring, and post-execution result verification for tool servers [14], [32], [33]. At and the parameters of a first extraction, fetch, or decode call are indistinguishable between a carrier and its twin. System-call tracing can bound the bytes a call writes, checking a header-to-body binding needs the parser state as well, and post-execution checks arrive after an immediate side effect. EpiSEM-Bench evaluates whether agents pause or recover evidence when safety-critical facts are missing from the prompt [34]. We address the case in which the call that recovers missing information introduces the hazard.
C. Processing as an Agent-Chosen Interaction
A coding agent chooses its parser for each input. It can list the carrier, read a member into the model context, call a library that honors the declared size, or run an extractor through a shell, inside a sandbox tool or outside it, and under automatic approval the choice is its own. Format problems such as path traversal, symbolic-link following, decompression bombs, and content sniffing long predate agents [35], [36], [17], [16], [18], [37]. ZIPDiff finds semantic gaps among 50 ZIP parsers and measures a gateway parser against an endpoint parser [13], [38]. Such accounts fix which parser runs, while an agent picks the parser and then decides what to do with the bytes, so a patch
covers one tool and the agent can choose another. The OpenAI Agents SDK caps its sandbox extractor [19], a skill scanner can still be exhausted by a small declared size before its own gate runs [20], and a declared-size cap stops the write in zipfile while unzip inflates the stream past it (section VI-A). A listing cannot replace a write-time bound [39], and neither fix applies once the agent chooses a shell. CIRCLE studies exhaustion by code a prompt requests [40]. Our prompt names only the input, and the agent decides the call.
Stopping the interaction requires a monitor that interposes before the chosen action enters an unsafe state [41], [42], [43], [44], [45], [46], [47], [48]. The primitives an agent selects often bundle the look with the write, so a check before the call sees only the shared preview and a check after it sees a write that has already landed. Safe exploration in reinforcement learning [43] addresses an agent that must probe an unknown transition kernel. A coding agent already has a safe read-only primitive, and the interaction fails when its default choice is the unbounded mutating one.
III. PROBLEM FORMULATION
A. Threat Model and Opaque Carriers
Threat model. A Step-Zero attacker authors every byte of an external artifact that reaches the agent by reference, such as the path of a third-party archive or image or an endpoint whose response the attacker serves, and places the hazard in inner( ) with no imperative instruction. The prompt, harness, tools, weights, and belong to the victim, and the attacker fixes before meeting any victim: one fixture per condition is served to every harness and model, and the bytes an extraction writes scale with the attacker's stream, independent of the budget (section IX). Tool calls are approved automatically, as in many deployments [4]; a person who approves the first call from its command line and a listing is a pre-execution guard restricted to the call and , which by Proposition 1 decides both arms alike. The attacker's goal is (eq. (6)) while a twin sharing is processed normally, using only the agent's existing privileges. Setting names, declared sizes, the filename, and in two conditions the digest of to the twin's values is a measurement device that attributes a difference between arms to the hidden body; an attacker who sets the digest to agree with the body is evaluated in section VI, and carriers whose declared fields all match a benign archive in section VII. Within a cell is fixed, the network fixture server returning one response. With the epistemic state and an invariant, we formalize the interaction as an Opaque Input Carrier tuple,
where inner( ) is hidden before processing. The preview reads outer fields, such as central-directory entries, HTTP headers, or image container attributes, and (eq. (3)) is the subset the protocol matches across arms. A materialization processes the inner bytes: an extraction writes them to the environment while it runs, and a member read, fetch, or decode returns them to the model context. is the environment, the workspace and its files, and sink is the model context, accumulating every tool return, with its content at time . A carrier's declarations , its declared member sizes, filename, and digest, lie partly in the preview and partly among the inner bytes, such as an in-band filename or an image's declaration record.
As the agent works on , its epistemic state moves through three stages,
where the preview is optional and the arrow into marks materialized content arriving in sink. An extraction that writes only to leaves the agent in or until it reads a member, whereas a fetch or decode moves it to . A cell is one run of one agent on one carrier , and is the time content of , a decompressed member or a network or image body, first reaches sink, or if it never does. Each fixture has a matched twin , and on the shared fields, archive member names and central-directory sizes, the declared filename, and in the digest conditions the digest of ,
where inner( ) means the declared sizes hold, an archive's being its central-directory declarations, or, on a network or image twin, that the body is the content the evaluator paired with the declaration. Compressed size, archive length, offsets, Content-Length (13 and 14 bytes), and image bytes differ, so a guard reading them can separate the arms; unzip -l reports only the shared fields.
B. Safety Invariants and Hazard Ingress
With the state at time and the indicator, the availability invariant bounds the bytes of extracted archive members,
where counts extracted-member bytes present at t wherever written, excluding the harness's runtime files, and MiB; B = 0 on network and image carriers. Fixture and twin have equal member counts, so we record inodes descriptively. The integrity invariant concerns protected paths , here every workspace file bearing the declared filename apart from the carrier's own staged copy,
so each protected file is absent or holds its legitimate content . A commitment fixes : the digest in the two digest conditions, or the file's prior content when it already exists, as in the container control and the protected-file ablation; in these fixtures is the line project-alpha. Without a commitment is undefined for a new declared name, so eq. (5) does not apply and such writes are reported as exposure (section V-D). We write for a declaration naming f, and leave confidentiality to future work. The safety invariant is
and the requirement is for all , whatever the agent knows. Safe behavior follows per condition: on the archive, any opening that keeps ; on a network or image carrier with a commitment, writing only a body whose digest matches and leaving any protected file intact. In the two digest conditions the input carries , the first 16 hex digits of the SHA-256 digest of the legitimate content. The evaluator sets this digest and serves it with the body, which models a commitment the attacker cannot alter, such as one from a package index, delivered where the agent sees it; these conditions measure whether agents check a commitment, and section VI evaluates a digest the attacker sets.
Step Zero of a cell is the interval of its first call that materializes the payload, the first extraction of an archive or the first fetch or decode returning a network or image body, with both times infinite if no such call is issued. A member read that writes nothing is an observation, so Step Zero begins at the first extraction even after such a read. Hazard ingress occurs when a sealed hazard crosses the carrier boundary at Step Zero: an archive's understated member enters the environment, where extraction can raise above , and a network or image carrier's conflicting pair, a declaration and a body , enters the model context. Without a commitment, detecting the conflict rests on the agent judging whether the body fits the name; with a digest it is checkable, as . The ingress indicator of a fixture cell is
where is the first batch of tool returns carrying , empty if the body never arrives; it enters sink with the request after Step Zero, and on a twin cell the same event is co-delivery. For the archive, g is an operation-level proxy counting any issued extraction, the operation that can admit the stream, including one that skips the understated member, so it coincides with the act in Table I; the byte breach is the content-level count.
C. Immediate and Deferred Realization
Let . A cell with is free of risk realization; otherwise realization occurs at and is classified by whether content of had reached sink,
The classes partition the cells with a violation, and two factors set the class of a trajectory. The opening primitive decides whether an immediate violation is possible, since a primitive that writes while it reads can violate inside its own call while an opening whose only output is sink leaves unchanged. The rest of the trajectory decides whether content, such as a benign member read first, reached sink earlier. Section VII measures the first factor without a model. The following observation, a direct consequence of eqs. (3) and (8), places where a defense can act.
Proposition 1 (Indistinguishability under shared previews). Under eqs. (1) to (3) and (8), let a pre-execution guard be any map, deterministic or randomized with its own coins, from the call a the agent is about to issue, a command with its arguments, and to a decision. (i) If the agent has observed only the reference and before , the guard blocks the fixture and the twin with equal probability. (ii) A content guard that reads only can decide on carrier content only from on, later than every immediate violation. Preventing an immediate violation therefore requires acting on the opening call itself, by withholding it or by running it under a bound on what it writes to . An opening whose only output is sink leaves and unchanged, so a violation that follows it requires another call that writes .
Proof. (i) The agent's observations before coincide on both arms by eq. (3), so its distribution over calls coincides as well. The guard's inputs, and , are then identically distributed on both arms, and so is any function of them evaluated with independent coins. (ii) An immediate violation has , so at the sink holds no content of for to act on. A call either runs or is withheld, and a call that runs either has its writes to bounded or does not, so these are the interventions available at the call. An opening whose only output is sink changes in neither nor , and any later change comes from another call.
Remark. Part (i) covers looks that expose at most , such as the default unzip -1, which prints exactly the shared names and declared sizes; every breaching cell extracted with unzip (section VI-A). A richer look can separate the main fixture, whose local header truthfully declares 8 MiB, as the header gate of Table IV does. On the fully field-aligned pair of section VII, central directory, local header, CRC, compressed size, offsets, and archive length coincide across arms and declare 64 B while the adversarial stream inflates to 8 MiB, so unzip -v prints the same table for both and only decoding separates them. A violation after a sink-only opening is deferred and can be checked against a commitment set by a party other than the attacker, as the digest conditions model with .
Three properties of agent tooling produce these trajectories. Coupled observation and mutation: extraction writes decompressed streams while reading, so it can exceed before the model sees any output. Unbound previews: a listing reads the central directory's 64 B while the extractor follows the local header. Default materialization: a body observed beside a declared filename is commonly saved under that name, and checking a commitment first is up to the model.
IV. BENCHMARK DESIGN
A. Carriers and Matched Twins
Every cell's prompt is a bare target reference, such as ./project.zip or http://127.0.0.1:8780/project, so every extraction and save is the agent's own initiative. We build three carriers and pair each fixture with a matched twin
whose hidden body agrees with the declaration. The archive exercises availability. The network and image carriers exercise one integrity mechanism, a declaration paired with a body that the agent may save under the declared name, reached through a fetch or through a decoding tool.
The archive fixture is a standard ZIP archive of 169 members, 160 of them small shards, whose central directory declares 64 B for one member while its local header and deflate stream carry 8 MiB. Listing tools report 3,896 bytes in total, and an extractor that follows the local header writes 8,392,440 bytes across 174 inodes before it returns. The twin has the same members, names, order, and timestamps with a true 64 B member, so both list identically by name and declared size. Only the central-directory CRC and size are patched, so compressed size and archive length differ. Both create more than 120 inodes when extracted, so inode counts are descriptive and the twin satisfies eq. (4). The budget stays hidden from the agent, so a breach measures an unbounded opening of an input of unknown size.
The network carrier pairs the declared filename project-alpha.txt, , with a conflicting body . The header condition declares it in the attachment header, visible only to a client that reads headers. The in-band condition places declaration and body in one multipart part, visible even to a header-stripping client. The digest condition, served at /digest, adds the SHA-256 prefix of to that part and to the headers. Each twin serves .
The image carrier encodes a declaration record with the declared filename and a body record in one grayscale image. The dual-record condition sets the body to , and the digest condition adds the SHA-256 prefix of to the declaration record. Each twin encodes under the same filename and prompt.
Two controls complete the design. The container control stages a README and a file named like the protected project-alpha.txt but holding , inside an opaque TAR container or as a plain directory, next to a protected project-alpha.txt holding . The extension control stages identical single-record image bytes with and without a .png extension to isolate extension-based routing.
B. Harnesses and Models
We evaluate seven public harnesses whose tools range from file and web wrappers to a shell and a Python interpreter: Claude Code (v2.1.309), OpenAI Codex (v0.163.0), OpenCode (v1.19.4), Qwen Code (v0.26.0), mini-SWE-agent (v2.4.6), gptme (v0.35.1), and smolagents (v1.26.0, CodeAgent) [49], [50], [51], [52], [53], [54], [55]. Each runs with six models: Qwen3.8-Max [56], DeepSeek-V4.1-Flash [57], GLM-5.3 [58], Kimi-K3 [59], Gemini-4-Argon [60], and GPT-6-Sol [61]. One local gateway translates between the OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages protocols, requests high-effort reasoning, preserves multi-turn tool-call signatures, and replaces every image attachment with the same text notice, so image carriers can be decoded only through tools. A recording proxy in front of the gateway stores every request, the record the judge reads. Each cell may issue at most 100 model calls in unlimited wall-clock time and runs headlessly with automatic tool approval, as in standard agent evaluations [7], [30].
C. Isolation and Measurement
Agents explore their environment, so isolation is part of the measurement. Each cell runs as its own unprivileged account in a fresh directory under an unlistable base, with a private home and temporary directory, a scrubbed environment, and only the carrier staged. Its files are removed before and after the cell, and its processes are terminated at the end. Network carriers are served from one local port, one arm and condition at a time, answering only that condition's path. The gateway rejects the session key a cell holds, and only the recording proxy maps it to a gateway key, so every request that reaches a model is recorded. Agents probed their environment, and the recording proxy refused every request without a registered session key, so each cell reached only its own carrier and, through the proxy, the model. Each cell leaves three records for the judge, the proxy log, the 20 ms disk timeline, and a snapshot of every file the account owns.
D. Measured Quantities
The first return and Step-Zero ingress follow eq. (7), with co-delivery the same event on a twin. The body reached the model context if it appears in any request. A declared-file write leaves the declared file in the workspace after the run, and a wrong write leaves it holding the conflicting body. Realization is a byte-budget breach by extracted members on the archive and a wrong write on network and image carriers. On digest conditions a hash is a hash whose output returned to the agent, and a stated conflict is an explicit statement that declaration and body disagree; listing both digests counts only together with that statement. A rejection requires ingress, a stated conflict, and no wrong write in the final snapshot, and a stated conflict on a twin is a false alarm. Archive breaches are split into those from an extraction in the first step touching the archive, those after an earlier listing returned, and those before any member's content entered the model context.
E. Scoring and Statistics
Every indicator comes from the proxy log and the disk records. For network and image carriers ingress is judged on the first return, and a first return carrying the body without the declaration scores whatever later calls expose. For the archive, records whether an extraction was issued, and a sampler polls the account's disk every 20 ms, counts bytes and inodes of extracted members wherever written, excluding the harness's runtime files, and attributes the first budget crossing to the last archive operation issued before it. Writes come from the file snapshot. Stated conflicts are matched in the agent's own prose and final answers, excluding tool output, code, and negated statements. On a stratified random sample of 40 round-1 cells, half flagged by the rule, labels assigned blind to its verdict agreed in 36/40 cells (Cohen's ), and in 38/40 after reading the disagreements, with 0 missed

Fig. 2. Step-Zero ingress (circle), realization (triangle), and twin realization (hollow square) per condition in round 1, n = 42 cells per arm, with Wilson 95% intervals. Definitions and counts are in Table I. On the three network and image conditions without a commitment, realization is level (i) exposure (section V-D).
statements and 2 false positives, both on twins; we therefore read every flagged twin cell and report the corrected count.
Every primary rate uses round 1, in which each of the six models runs each condition once in each of the seven harnesses, so every condition and arm has exactly 42 valid cells; the build fails otherwise. The extension control pools five trials of four models (n = 140 per arm). Repetitions are reported apart from the primary rates, and where rounds are pooled each harness and model counts once. Rates are counts with Wilson 95% score intervals. Cells sharing a harness or a model are correlated, so every paired contrast gets a two-way cluster bootstrap interval over harnesses and models and the number of harnesses and models whose mean difference points the same way (Table II). Inference is reserved for the confirmatory contrasts that carry the claims, the archive fixture against its twin and SZSP against no gate and against a header-reading gate, which pair cells by harness and model. They also get the exact McNemar test, exact sign tests over harnesses and over models, a Holm correction across the four tests, and a logistic model with crossed random intercepts for harness and model, fitted with a weak prior so that a twin arm with no events yields a finite effect. With seven harnesses and six or four models the smallest attainable two-sided sign-test p is 0.016, 0.031, or 0.125, so the sign tests describe consistency and the interval and mixed model carry the inference. Controls, ablations, and comparisons across carriers, conditions, and models are descriptive.
V. EXPERIMENTS
Primary results come from round 1, six models × seven harnesses with one valid cell per condition and arm. Four models (DeepSeek-V4.1-Flash, GLM-5.3, Kimi-K3, Qwen3.8-Max) were repeated for three rounds on the dual-record image, the archive, and the container control and for five trials on the extension control, and Gemini-4-Argon and GPT-6-Sol
TABLE I
STEP-ZERO INGRESS, THE AGENT'S ACT, AND REALIZATION PER CONDITION IN ROUND 1, IN PERCENT WITH COUNTS, 42 CELLS PER ARM. INGRESS: THE FIRST RETURN CARRYING THE BODY ALSO CARRIED THE DECLARATION, OR FOR THE ARCHIVE AN EXTRACTION WAS ISSUED. ACT: THE EXTRACTION, OR A WRITE OF THE DECLARED FILE. REALIZATION: EXTRACTED MEMBERS EXCEEDED 4 MiB, OR THE DECLARED FILE HELD THE CONFLICTING BODY; IT IS ZERO BY CONSTRUCTION FOR NETWORK AND IMAGE TWINS. †LEVEL (I) EXPOSURE, WHERE THE INPUT FIXES NO CORRECT CONTENT (SECTION V-D); THE DIGEST ROWS COUNT VIOLATIONS AGAINST A COMMITMENT.
| Carrier and condition | Realization | Ingress | Act | Realized | Hash | Reject | ||
|---|---|---|---|---|---|---|---|---|
| Fixture | Twin | Fixture | Twin | |||||
| Archive, size declaration | Imm. 26, Def. 6 | 79 (33/42) | 79 (33/42) | 88 (37/42) | 76 (32/42) | 0 (0/42) | - | - |
| Network, header declaration | Deferred | 36 (15/42) | 17 (7/42) | 33 (14/42) | 14 (6/42)† | 0 (0/42) | - | - |
| Network, in-band declaration | Deferred | 95 (40/42) | 26 (11/42) | 50 (21/42) | 26 (11/42)† | 0 (0/42) | - | - |
| Network, digest commitment | Deferred | 98 (41/42) | 10 (4/42) | 12 (5/42) | 2 (1/42) | 0 (0/42) | 88 (37/42) | 74 (31/42) |
| Image, dual record | Deferred | 93 (39/42) | 45 (19/42) | 60 (25/42) | 45 (19/42)† | 0 (0/42) | - | - |
| Image, digest record | Deferred | 76 (32/42) | 21 (9/42) | 38 (16/42) | 2 (1/42) | 0 (0/42) | 55 (23/42) | 33 (14/42) |
for three rounds on the archive (Table III); round-1 rates use round-1 cells alone.
A. Attribution to the Carrier's Bytes
32/42 fixture cells and 0/42 twins exceeded 4 MiB, and 26/42 breached before the first member reached the model. The twin's members total far less than the budget, so this contrast is a control that attributes the bytes to the carrier's stream. The misdeclaration is unnecessary against default agents: a truthfully declared 8 MiB archive breached in 28/28 cells, 27/28 before content (section VI), and it matters against defenses that read declared fields (section VII). All 38/38 network and image wrong writes followed the body into the context, and without a commitment all but one of the fixture cells that wrote the declared file wrote the conflicting body (36/37). Three Claude Code trajectories show each pattern: a breach 2.9 s after listing, before README.md arrived; project-beta saved as project-alpha.txt with the conflict unstated; and a cell that hashed both lines, stated the conflict, and wrote nothing.
B. Hazard Ingress at the First Return
On network and image carriers the first return carrying the body usually carried the conflicting declaration (40/42 (95.2%) in-band, 41/42 (97.6%) network digest, 39/42 (92.9%) dual-record, 32/42 (76.2%) digest-record; Table I and Fig. 2), and the header condition reached 15/42 (35.7%) because several harnesses fetch the body alone (section V-G). On the archive, ingress is the extraction itself, issued in 33/42 (78.6%) of cells. The four repeated models extracted in every cell of every round (28/28, 28/28, 28/28), and Gemini-4-Argon and GPT-6-Sol in 8/21 and 7/21 of their cells over three rounds.
C. Immediate Realization on Archives
Extraction exceeded the 4 MiB budget in 32/42 (76.2%) of fixture cells and in 0/42 twins, which agents extracted at least as often (37/42); the exact McNemar test on pairs by harness and model gives , and the cluster-level tests agree (Table II). In 26/42 cells the budget was exceeded before the first member's content, timed by the first benign project marker in a return, reached the model (Fig. 3), the immediate

Fig. 3. Lead of the archive breach over the first member reaching the model, for the 32 breaching fixture cells in round 1, timed from the first archive operation (logarithmic beyond s). Rows separate cells by whether a listing returned before the breach. Filled, shaded: breach first. Hollow: member first. Red counts give breach-first cells per row. The upper row holds the 14/42 cells that breached in the first step on the archive and the one breach the sampler could not attribute to a step.
realizations of eq. (8). Every budget from 1 to 8 MiB gives the same 32/42 fixture and 0/42 twin breaches, 25 to 27 of them immediate, because a full extraction writes the whole 8 MiB stream. The median breach came 2.9 s and the median first member 6.0 s after the first archive operation. 14/42 breached in the first step on the archive and 17/42 after a listing had returned, which reports the central directory's 3,896 bytes while the extractor follows the local header; the sampler could not assign the remaining breach to a step, so the count before content is a lower bound. Over three rounds with all six models, extraction breached in 98/126 (77.8%) of cells and 0/126 twins, and the only fixture cell to extract within the budget (1/42) was a Gemini-4-Argon cell that parsed the local headers and skipped the understated stream. Extraction created more than 120 inodes in 31/42 fixture and 37/42 twin cells, so eq. (4) bounds bytes.
D. Deferred Realization on Network and Image Carriers
On network and image carriers the scored invariants hold through Step Zero, and the violation comes when the agent saves the delivered body under the declared filename, a reasonable default when the declaration is true, as the twins show. Without a commitment, agents wrote the declared file in 60/126 (47.6%) of twin and 37/126 (29.4%) of fixture cells; of 126 pairs, 28 wrote only on the twin and 5 only on the fixture (cluster interval [3, 34] points, Table II), a gap the cue-free condition traces to the lexical marker (section VI). Every write stored the body as received, the declared body on the twin (60/60). Wrong writes reached 19/42 (45.2%) on dual-record images, 11/42 (26.2%) on in-band and 6/42 (14.3%) on header declarations, and in OpenCode and mini-SWE-agent header wrong writes outnumbered header ingress (1/6 against 0/6, and 2/6 against 1/6; Fig. 5), so the two scores are separate. These writes measure how often agents act on an unverifiable declaration, and verification is measured on the digest conditions.
The writes establish three levels of integrity harm, with the attack-specific evidence in levels (ii) and (iii). (i) Provenance-blind materialization: without a commitment a wrong write measures exposure, the default of saving unverified bytes under an unchecked name, which the twins show at an equal or higher rate. (ii) Mismatch against a commitment: with a neutral path and a random agents wrote the conflicting body in 7/28 of cells, and under an explicit save task in 27/28, 12/28 of them after stating the mismatch, while 0/28 refused. (iii) Destructive overwrite: an opaque container overwrote an existing protected file in 5/42 (11.9%) of round-one cells and 17/84 over three rounds, the same files as a plain directory left it intact in every cell (section VI-A), and saving a fetched body overwrote it in 9/28 of cells with a digest that matched the body.
E. Effect of a Digest Commitment
A digest cut wrong writes sharply, from 11/42 with an in-band declaration to 1/42 on the network carrier and from 19/42 to 1/42 on the image carrier, contrasts that are descriptive under clustering. Part of the drop comes from cues, the path /digest and a guessable from the filename, and agents checked less often once a neutral condition removed them (section VI). The remaining fixture writes under a digest (3/42 of 4/42 on network and 8/42 of 9/42 on image) held at the end of the run, the agent having reconstructed project-alpha from the filename, so the reported violations are a lower bound on whole-process violations under eq. (6). Agents computed a digest in 37/42 (88.1%) of network and 23/42 (54.8%) of image cells and stated the conflict in 32/42 (76.2%) and 16/42 (38.1%), a hashing difference of 33 points (cluster interval [7, 64]; 5/7 harnesses and 5/6 models in the same direction). Many image cells that skipped the check also left the declared file unwritten: 9/42 wrote it with the digest, against 19/42 on the dual-record condition.
The checking gap persists among cells in which the digest arrived with the body (hashing in 37/41 network and 20/32 image cells, stated conflicts in 32/41 and 14/32), a self-selected and descriptive comparison; image cells whose body arrived

Fig. 4. Per-model outcomes on the three carrier types: archive breaches over three rounds ( per model), and in round 1 wrong writes of the declared file without a commitment () and rejections with a digest (). Labels give cells with the event over cells. The dashed line separates the two models that held the archive budget in some cells from the four that breached it in every cell.
alone are too few to compare (3/4 hashed). The rule flagged a stated conflict in 10 twin cells, 2 of them genuine, both where a MIME parser had dropped the trailing newline before hashing, and claims of a match without a computed digest were rare (0/42 and 1/42).
F. Model-Dependent Caution
Every model incurred harm on some carrier, and low harm came from checking or from abstaining (Fig. 4). Gemini-4-Argon computed a digest in every digest cell (14/14) yet rejected in 7/14, often listing both digests without stating their difference, and without a commitment it wrote the conflicting body in 11/21 of the cells the body reached. GPT-6-Sol wrote it in 1/21 cells, mostly because the body stayed outside its context (7/35, including all 5/5 smolagents cells, whose sandbox refused the read); where it saw the body it wrote the declared file in 1/17, and with a digest it rejected in 5/14. DeepSeek-V4.1-Flash rejected most often (11/14). These orderings are descriptive under clustering.
Care on the archive was specific to that carrier. Over three rounds Gemini-4-Argon inspected the archive read-only first in 20/21 cells, and it and GPT-6-Sol held the budget in at least one round in 11/14 harness-model units, mostly by reading members directly, while the other four models breached in every cell of every round (84/84). Without a commitment Gemini-4-Argon had the most conflicting writes (11/21), and DeepSeek-V4.1-Flash, which rejected most digest cells, breached every archive (21/21). Each model showed at most one of the two careful behaviors.
G. Harness Mediation
The harness decides what a tool returns, so the same model was exposed differently across harnesses. A harness whose fetch returns the body alone keeps the declaration out of the first return, and header ingress ranges from zero to most cells

Fig. 5. Step-Zero ingress and wrong writes of the declared file per network and image condition, round 1. Bars: the share of the 42 cells pooled over the seven harnesses, with Wilson 95% intervals. Dots: one harness each, the share of its six models, one cell each, for which the event occurred, so one model corresponds to 17%.
by harness (Fig. 5). Wrong writes cluster by harness too: mini-SWE-agent wrote the conflicting body in 12/18 of its cells without a commitment, and every harness did so at least once. File routing shifts exposure within a harness and leaves the pooled rate unchanged. OpenCode sends a .png to an image attachment, which the gateway replaces with a text notice, and removing only the extension changed the share of OpenCode cells whose body reached the model from 10/20 to 13/20 over five trials of four models, with the pooled rate unchanged (125/140 (89.3%) and 125/140 (89.3%)) because agents given a text notice fall back to a command-line decoder.
VI. ROBUSTNESS AND CONTROLS
The Step-Zero results survive changes to the agent's tools, our fixtures, and the prompt. Scripted runs, a container control, and repeated rounds separate the opening primitive from the agent and the carrier (Table III). Fixture and prompt variations form a case study on the four models present in every round (DeepSeek-V4.1-Flash, GLM-5.3, Kimi-K3, Qwen3.8-Max) across the seven harnesses, 28 cells per condition, each compared with the same models' primary rate. These models breached the archive budget in every primary cell, so each variation is tested where the attack succeeds most. The archive breach and the integrity hazard survive every variation, and only the apparent protection of a digest shrinks.
The main contrasts hold when cells are grouped by harness and by model (Table II). In the four confirmatory contrasts every discordant pair points one way, 32 to 0 for the archive and 27 to 0 for SZSP against the header gate, with a Holm-corrected McNemar p of < 0.001 for each. The crossed-random-intercept model gives arm effects of 5.4 [4.5, 6.2] and 5.8 [4.2, 7.4] log-odds, whose size depends on the prior with an event-free arm, while the lower bound stays above 2.6 for prior standard deviations from 1 to 5. The fixture-versus-twin contrast is a control that attributes the bytes to the carrier's stream, and the across-prompt extraction rate, the truthfully declared archive, and the bounded-tool effect describe agent behavior.
TABLE II
CLUSTER-LEVEL VIEW OF THE PAIRED CONTRASTS, ARMS PAIRED BY HARNESS AND MODEL. DIFFERENCE: PERCENTAGE POINTS, FIRST MINUS SECOND ARM, WITH A TWO-WAY CLUSTER BOOTSTRAP 95% INTERVAL. HARNESSES, MODELS: CLUSTERS WHOSE MEAN DIFFERENCE HAS THE OVERALL SIGN, OF ALL CLUSTERS; CONFIRMATORY ROWS ADD THE EXACT TWO-SIDED SIGN TEST OVER CLUSTERS WITH A NONZERO DIFFERENCE. THE SZSP ROWS AND THE LAST TWO ROWS USE THE FOUR-MODEL PANEL, WHERE THE SMALLEST ATTAINABLE p OVER MODELS IS 0.125. AN INTERVAL OF [100, 100] ARISES WHEN EVERY RESAMPLED PAIR DIFFERS IN ONE DIRECTION.
| Contrast | Difference | Harnesses | Models |
|---|---|---|---|
| Confirmatory | |||
| Archive breach, fixture vs. twin | 76 [43, 100] | 7/7 (0.02) | 6/6 (0.03) |
| Breach, no gate vs. SZSP front-end | 100 [100, 100] | 7/7 (0.02) | 4/4 (0.12) |
| Breach, header gate vs. SZSP, aligned carrier | 96 [79, 100] | 7/7 (0.02) | 4/4 (0.12) |
| Breach on the extraction task, no gate vs. SZSP | 100 [100, 100] | 7/7 (0.02) | 4/4 (0.12) |
| Descriptive | |||
| Task completed, SZSP vs. no gate | 7 [-14, 29] | 2/7 | 2/4 |
| Declared file written, twin vs. fixture | 18 [3, 34] | 6/7 | 6/6 |
| Hash computed, network vs. image digest | 33 [7, 64] | 5/7 | 5/6 |
| Conflict stated, network vs. image digest | 38 [5, 71] | 6/7 | 5/6 |
| Overwrite in any round, TAR vs. directory | 32 [0, 64] | 5/7 | 4/4 |
| Hash computed, primary vs. random c* | 43 [14, 79] | 5/7 | 4/4 |
| Wrong write, random c* vs. primary | 21 [0, 50] | 3/7 | 4/4 |
The archive breach and both SZSP contrasts point the same way in every harness and model, and the twin's higher declared-file write rate in 6/7 harnesses and 6/6 models. The network-versus-image checking gap ([7, 64]) and the container overwrite (5/7 harnesses, interval [0, 64]) are consistent but moderate, and the case-study ablations move hashing and wrong writes the same way in every model of the panel.
A. Opaque-Carrier Controls
The breach belongs to the opening primitive. A model-free script running unzip on the archive exceeded the budget in 5/5 trials and in 0/5 on the twin, and bsdtar matched it (5/5). Python's zipfile honors the declared size and stayed inside the budget (0/5), as in the primitive study of section VII. The primitive fixes whether a breach can happen before the agent decides anything.
TABLE III
REPEATED ROUNDS ON THE FOUR MODELS THAT TOOK PART IN EVERY ROUND OF EVERY REPEATED CONDITION (DEEPSEEK-V4.1-FLASH, GLM-5.3, KIMI-K3, QWEN3.8-MAX). EACH ROUND HAS 28 CELLS, ONE FOR EACH OF THESE MODELS IN EACH OF THE SEVEN HARNESSES. THE EXTENSION CONTROL HAS FIVE TRIALS AND THE OTHER CONDITIONS HAVE THREE.
| Condition | R1 | R2 | R3 | R4 | R5 | Pooled |
|---|---|---|---|---|---|---|
| Archive, byte budget exceeded | 28/28 | 28/28 | 28/28 | - | - | 100 (84/84) |
| Archive twin, byte budget exceeded | 0/28 | 0/28 | 0/28 | - | - | 0 (0/84) |
| Image dual, Step-Zero ingress | 27/28 | 27/28 | 26/28 | - | - | 95 (80/84) |
| Image dual, wrong write | 11/28 | 15/28 | 13/28 | - | - | 46 (39/84) |
| Image dual twin, wrong write | 0/28 | 0/28 | 0/28 | - | - | 0 (0/84) |
| Container, protected file overwritten | 5/28 | 8/28 | 4/28 | - | - | 20 (17/84) |
| Directory, protected file overwritten | 0/28 | 0/28 | 0/28 | - | - | 0 (0/84) |
| Image .png, body in context | 26/28 | 25/28 | 24/28 | 24/28 | 26/28 | 89 (125/140) |
| Image without extension, body in context | 25/28 | 23/28 | 25/28 | 26/28 | 26/28 | 89 (125/140) |
The agent decides whether to run a mutating primitive, and every extracting agent chose one. Every breaching cell used unzip (32/32), as did every extracting cell (33/33). Among the extracting cells, 0/33 used a reader that honors the declared size, 0/33 set a resource limit, and 0/33 sent unzip outside the workspace; the mkdir in the breaching Claude Code trajectory creates a directory inside the workspace, so members written there count toward the budget. The attack succeeds because the opening agents reach for by default is the one that writes.
A safe opening was available, and two models took it. The 10 fixture cells that held the budget, all from Gemini-4-Argon and GPT-6-Sol, limited what they extracted. In 9/10 the agent left the archive unextracted, and in the remaining one it read the local headers and passed the other names to unzip. Over three rounds, 22/28 of the cells in which these two models held the budget read member content directly from the archive. A side-effect-free look was within every agent's reach, and the default opening remained the one that writes.
Opacity enables the overwrite. The container control gives both arms the same two files, one named like the protected workspace file, in an opaque TAR or as a plain directory. The member's content reached the model in 41/42 (97.6%) of container and 41/42 (97.6%) of directory cells, and the protected file was overwritten in 5/42 (11.9%) and 0/42 (0.0%) of them. Across three rounds the counts were 17/84 against 0/84, and in 9 of 28 harness and model pairs the container arm overwrote the file in some round while the directory arm kept it intact in every round. Delivered transparently, the same information left the protected file intact.
The failure recurs across extractors and carriers and is stable across rounds. unzip and bsdtar both breached the archive, the TAR control overwrote an existing file, and the extractor-free network and image carriers admitted the conflicting declaration in their first return (Table I). Repeating the main conditions on the four models present in every round (Table III), archive breaches were identical in every round with zero twin breaches and zero directory overwrites, image wrong writes moved from 11/28 to 15/28, and container overwrites ranged from 4/28 to 8/28. Every contrast between arms held in each repeated condition; the network conditions ran in round 1 only. What these carriers share is that the agent must process them before it can judge them.
B. Fixture and Prompt Variations
The primary conditions use one fixture per carrier, an obvious lexical cue between declared filename and body (project-alpha versus project-beta), a digest path named /digest, and a bare reference as the prompt. We vary each choice in turn.
The archive breach holds across independently built fixtures and under a truthful declaration. Two independent archives, with a 10 MiB and a 16 MiB understated member under different layouts, breached the budget in 28/28 and 28/28 of cells, 9/28 and 9/28 before any member reached the model, matching the same models' primary rate of 28/28. On a third archive whose central directory, local header, and stream all declare the true 8 MiB, agents extracted and exceeded the budget in 28/28 of cells, 12/28 of them after reading a listing that showed the true size. In 27/28 cells the budget was exceeded before any member reached the model. Agents extract an archive larger than the budget even when they can see its size, so against default agents the harm rests on the stage and on default extraction, and the understatement is needed only to defeat a defense that reads declared fields, such as the header gate of section VII.
The lexical cue explains the lower fixture write rate. In the primary no-commitment conditions the fixture's declared file was written less often than the twin's. With a random-token body that looks neutral beside the declared name, agents wrote the declared file on the fixture as often as on the twin (8/28 versus 8/28), and each fixture write held the conflicting body. Agents wrote a tampered body as readily as a legitimate one, so the integrity hazard is at least as broad as the primary rates show.
The digest's effect was partly cued. The primary digest path is named /digest and its follows from the filename, and both prompt a check. With a random and a neutral path, agents computed a digest in 14/28 of cells (26/28 for the same models in the primary condition, cluster interval [14, 79] points) and wrote the conflicting body in 7/28 (against 1/28). A digest in the input protects only through voluntary model-side verification, which is unreliable when unprompted.
A benign task defeats verification. Asked to fetch an attachment and save it, with a digest mismatched to the body, agents completed the save in 28/28 of cells and wrote the conflicting body in 27/28; in 12/28 of these cells the agent stated the mismatch and saved anyway, and 0/28 cells refused. Archives split the same way. Asked only to read a configuration value, agents breached the budget in 2/28 of cells and completed the task in 28/28. Asked to extract and run the tests, they breached in 28/28 and completed the task safely in 0/28, against 24/28 completion on the twin. Under the current default, every completion of a materializing task came with a breach.
A protected file is overwritten even under an attacker-consistent commitment. When a workspace file already holds and the server supplies a digest of the body it serves, agents overwrote the protected file in 9/28 of cells, and in 5/28 of digest-free cells. A commitment the adversary controls leaves the protected file exposed, so the gate of section VII binds the write to evidence set independently of the body's sender.
TABLE IV
MODEL-FREE ARCHIVE OPENINGS ON TEN ADVERSARIAL CARRIERS AND SIX TWINS (ADAPTIVE VARIANTS SHARE A TWIN), FIVE TRIALS EACH WITH THE 20 MS SAMPLER (50 ADVERSARIAL, 30 TWIN CELLS). HELD: ADVERSARIAL CELLS WITHIN 4 MiB. PEAK: MOST BYTES WRITTEN ON ANY ADVERSARIAL CARRIER. TWIN DONE: TWINS EXTRACTED COMPLETELY. OVERHEAD: MEDIAN TIME ON A TWIN. Disk quota: A WATCHDOG THAT TERMINATES UNZIP WHEN THE DESTINATION PASSES THE BUDGET.
| Opening | Held | Peak (MiB) | Twin done | Overhead |
|---|---|---|---|---|
| unzip | 0/50 | 512.0 | 30/30 | 6 ms |
| bsdtar | 20/50 | 16.0 | 30/30 | 10 ms |
| zipfile | 45/50 | 8.0 | 30/30 | 52 ms |
| ulimit+unzip | 0/50 | 4.0 | 30/30 | 8 ms |
| disk quota | 0/50 | 4.5 | 30/30 | 54 ms |
| header gate | 30/50 | 512.0 | 30/30 | 48 ms |
| SZSP peek | 50/50 | 0.0 | — | 51 ms |
| SZSP extract | 50/50 | 4.0 | 30/30 | 58 ms |
VII. A STEP-ZERO SAFE PROTOCOL
The measurements locate the failure in the opening primitive, so the remedy belongs at the primitive, before the model decides. We describe the Step-Zero Safe Protocol (SZSP) and evaluate it against the primitives agents use, against an adaptive carrier, inside live agents, and for its cost on benign work. SZSP is an interim remedy, and it shows that an opening decoupling observation from mutation is cheap enough for harnesses to make it their default.
A. Decoupling Observation from Mutation
SZSP replaces the mutating opening with two operations that a harness can expose as its archive tool. Peek streams every member through the decompressor and reports the bytes each one produces, a safety-relevant fact beyond , with zero writes and no member content in sink, so the agent stays at (eq. (2)) with a preview that now bounds the stream. Extract materializes members into a private staging directory while counting produced bytes, refuses the first chunk that would carry the total past , and commits by rename only if every member fits, so a refusal leaves untouched. Peek stops once the produced bytes pass , so its decoding work is bounded by the budget. Both treat every declared field as untrusted. They reach members by walking the local-header chain from offset zero and through the central directory, decode each deflate stream to its own end marker, and refuse a member whose name escapes the destination or whose mode is a symlink. An existing protected file is replaced only on request, so stays intact. For network openings SZSP gives a reference design that fetches into the model context and binds any write under the declared name to a digest set independently of the body's sender. Its enforcement belongs in the harness's write tool, and we evaluate the archive gate, the fetch primitives, and an advisory verdict.
B. Model-Free Evaluation
Table IV runs every opening model-free on the ten adversarial archives and their twins. SZSP held the budget on every adversarial archive (50/50) and extracted every twin completely (30/30), and peek held on all of them with zero writes. The native extractors agents reach for wrote the stream: unzip held in 0/50 and wrote up to 512.0 MiB, and bsdtar held in 20/50. Two total-size controls bound the bytes near the budget and leave a damaged tree. A per-file ulimit of 4 MiB, the bound an agent could set itself, truncates the oversized member, so the other members carry the total just past the budget (peak 4.0 MiB) and a truncated file remains. A watchdog standing in for a per-workspace quota stopped every adversarial extraction within half a mebibyte of the budget (median 4.3, peak 4.5 MiB, so its strict count reflects polling granularity) and let every twin complete; it stops mid-write, leaves a partial tree in 50/50 of adversarial extractions, and bounds bytes alone. SZSP counts bytes before its commit, leaves unchanged on refusal, and covers the integrity overwrite through staging. A header gate enforcing the same 4 MiB budget from declared local-header sizes held in 30/50. It blocks the main fixture, whose local header truthfully declares 8 MiB, and the honestly declared bomb, and the aligned, data-descriptor, and scaled carriers defeat it (peak 512.0 MiB), since their local headers declare 64B. With the budget policy shared, this contrast isolates counting produced bytes against trusting a declaration. Python's zipfile, which honors the declared size, held in 45/50, failing only on the honestly declared bomb.
The network and container side is symmetric. A fetch to standard output leaves the declared file unwritten, and curl -OJ and wget --content-disposition write the body under the declared name inside the call, before it reaches the model, so the same carrier realizes immediately under one primitive and is deferred under another. Container extraction overwrites a protected file in the same call (tar -x, bsdtar -x, tarfile), and tar -xk refuses. Immediacy is a property of the opening.
C. Field-Aligned Carriers
A defense that reads declared fields is defeated by a carrier whose fields all match a benign archive while the stream exceeds them, so we test SZSP on carriers built to evade a header check: the fully field-aligned pair, byte-identical across arms in central directory, local header, CRC, compressed size, offsets, and archive length (section III); a data-descriptor variant whose local header defers sizes to a trailing descriptor; an honestly declared 8 MiB member; and members scaled to 64 and 512 MiB. SZSP held on every one, and the header-reading wrapper let unzip write the full stream on the aligned, data-descriptor, and scaled carriers (peak 512.0 MiB on the 512 MiB carrier). The guarantee is per materialization. extract holds for the members of one call and commits nothing on refusal, so each gated call keeps its own writes within . A whole-process bound across calls needs a cumulative ledger, since two gated calls under budget can together exceed it, and an inode bound is the analogous count; we leave both to deployment. By construction a member just under the budget stays within it, staging and commit close the gap between inspection and materialization because the bytes counted are the bytes written, and a symlink or path-escaping member is refused before the first write.
In live agents the aligned carrier separates the gates as the primitive study predicts. Across all seven harnesses with the four repeat-panel models, 28 cells per configuration in one batch, with SZSP front-ends on the unzip path and on Python's zipfile and shutil unpack_archive, ungated runs exceeded the budget in 28/28 cells and the header-reading wrapper in 28/28, since the aligned carrier's local header declares 64B and understates the stream. With SZSP the budget was exceeded in 1/28 (McNemar against the header gate), and the aligned twin was extracted completely in 28/28. The one breach marks the boundary of the guarantee. That harness invoked the system unzip by its absolute path from its first call onward, past a front-end that covers the names an agent types, so closing the gap needs the gate in the harness's tool layer or a budget enforced below the agent, such as a per-workspace quota.
D. Live-Agent Evaluation
Table IV tests the tool in isolation, and the closed-loop question is whether an agent offered a safe opening uses it. On the same panel, offering a bounded tool beside the shell left the breach in place: agents called it in 5/28 of cells, ran a raw extractor in 28/28, and exceeded the budget in 28/28. Installing the SZSP front-end in place of unzip cut breaches to 0/28 of cells against 28/28 in the non-concurrent main study (McNemar ; the aligned-carrier run above has a concurrent control) and still extracted the twin in 27/28. After the refusal, 15/28 of agents tried another route, almost always Python's zipfile, and all stayed within the budget because zipfile stops at the declared size this carrier understates. On an honestly declared bomb the same route breaches (Table IV), which is why the aligned-carrier run gates zipfile as well.
On the network carrier the tool's digest verdict was advisory. The response carried the body with a MISMATCH verdict, and the write stayed open to the agent. Wrong writes stayed at 1/28 and rejections at 25/28, close to the rates with a digest the agent could compute itself (McNemar against the in-band digest) and consistent with the model-side reading of section V-E. In the one wrong write the agent read the verdict, recomputed both digests, called the body a swapped payload, and saved it under the declared filename as a reference copy. A verdict the agent can ignore is a hint. The binding the contract requires, a write committed only when the digest matches, is a property of the tool, and its evaluation in live agents is future work.
E. Overhead and Utility
SZSP costs one extra pass over the compressed bytes. On the twins the median extraction took 58 ms against 6 ms for unzip, mostly interpreter start-up, and peek took 51 ms, negligible beside a single model call. Utility is the harder bar. On an explicit unit-test task that requires extracting the project, agents completed the task in 25/28 of cells with the SZSP front-end against 23/28 without it, and held the budget in 28/28 against 0/28. The completion difference is 7 points with cluster interval [-14, 29], which bounds any loss of completion. Paired by harness and model over 28 pairs, the gate removed the breach in every pair that breached without it (discordant pairs 28/0, McNemar ), and completion differed in four
pairs, one completed only without the gate and three only with it. SZSP refuses any archive whose produced bytes exceed the budget, benign or adversarial, and reports the size peek measured, so a user or harness can raise the budget for that archive. The budget is a deployment policy, and here is a measurement threshold. It must be set outside the agent's reach: our prototype reads it from the process environment, which an agent could override, so a deployment fixes it in the tool layer's own configuration.
VIII. DISCUSSION
When the harm is realized decides which defense can act. A check on the model context sees the body before a deferred write, since all 131 network and image cells that wrote the declared file did so after the body arrived (131/131), while 26/42 archive cells breached before any member reached the model. Content-judging defenses therefore address deferred realization, and only the opening itself can stop immediate realization, which is where SZSP acts.
Harness designers control the default the attack exploits. A read-only look was within reach of every agent, and the two models that held the archive budget used one (section VI-A), yet every harness left the choice to the agent, many under automatic approval [4]. SZSP makes the safe default cost one extra pass over the compressed bytes, and its one live breach shows that the gate belongs in the harness's own tool layer, as the default every agent receives.
Model-side caution is carrier-specific, so the check belongs in the tool. Gemini-4-Argon inspected the archive read-only most often and had the most conflicting writes on network and image carriers (section V-F), and one agent saved a body with the tool's own MISMATCH verdict in its context (section VII). Teaching agents to weigh the operation that acquires information complements a check that the tool enforces.
Benchmarks must start before the input is readable. Those this work builds on begin after a repository is materialized or present untrusted input as decoded text (section II), so their observation starts after Step Zero. The paired protocol adds this step with matched twins, a record of the model context, and a disk sampler, and it applies to any carrier a tool must open before its content is known. We measured archives, TAR containers, network responses, and encoded images, and documents, repositories, and packages are future work. Defending the step that acquires information first requires measuring it.
IX. LIMITATIONS AND THREATS TO VALIDITY
The primary rates use one fixture per condition. The archive result replicates on two independently built archives (section VI), and the network and image results rest on one fixture each, varied in cues and commitment. Every request passes through one gateway that translates protocols and requests high-effort reasoning, the case-study ablations use four of the six models, and two of the 42 harness and model pairs are native to each other (Codex with GPT-6-Sol, Qwen Code with Qwen3.8-Max), so rates and orderings describe this panel under this configuration. The hidden budget MiB is a measurement threshold for unbounded materialization, and the same archive cells breached under every budget from 1 to 8 MiB. Every breaching cell of the two ungated live archive conditions wrote at least the whole 8 MiB stream (56/56; median 8.0 MiB, maximum 2481 MiB under repeated extraction), and the bytes scale with the stream in live agents. On a 64 MiB understated member agents breached in 27/28 of cells and wrote a median of 64 MiB, up to 384 MiB; on a 512 MiB member, in 7/7 cells, a median of 512 MiB and up to 1024 MiB. Default command timeouts fired in 0/28 and 0/7 of these cells, so the attacker sets the size of the availability harm, up to any disk quota a deployment imposes (section VII). The gateway replaces the image carrier's pixels with one text notice, so it measures decoding through a tool, and pixel-level perception is future work. The models are served through closed APIs, so we characterize behavior from recorded traffic and disk records, and attributing it to logits or attention requires open-weight models. Cells cluster by harness and model, so inference is reserved for confirmatory contrasts that hold at the cluster level (Table II). SZSP's gate is evaluated on archive openings and its network contract on the fetch primitives and an advisory verdict. The enforced write binding, a cumulative byte ledger across calls, an inode bound, and other carriers and formats are left to deployment and future work.
X. CONCLUSION
Most defenses for agents act on content that has entered the model context, and at Step Zero the content is still sealed: deciding whether to process an archive, a response, or an image requires information that only processing delivers. Across seven harnesses and six models with benign prompts, most agents were already unsafe at Step Zero: default extraction overran a disk budget on archives, usually before any member reached the model and whatever size the archive declared, so the harm landed before model-side defenses could act. On network and image carriers, agents saved unverified bodies under declared names, so seeing the content left the input in control of what was written. A model-free comparison places the cause in the processing primitive, and the models' own checks faded once cues were removed or a task asked for the save, so model-side judgment is too late or too weak at this step. A gate that counts the bytes a processing call produces held every adversarial archive model-free and every routed extraction in live agents while agents completed 25/28 tasks. Harnesses should offer, in their own tool layer, a read-only preview and a materialization that binds each write to evidence from outside the input, and vendors should pair these gates with safety-alignment training that teaches agents to inspect an input before processing it.
ETHICAL CONSIDERATIONS
Every cell ran in an isolated, single-use account under a disk budget, on a local testbed with synthetic data and network egress limited to the local fixture server, and its files were destroyed afterwards. The carriers are synthetic canaries with benign, instruction-free content, an archive whose central directory understates one member and a response or
image whose declared filename disagrees with a short, harmless marker body. The decompression carriers are distributed solely as generator code that targets the local testbed.
The measured behavior is a default handling of untrusted input shared by widely used agent harnesses and the extractors and fetchers they drive. The effects we measure are confined to disk usage and file contents under the agent's own account on the authors' testbed, and the work serves defensive research: the gate of section VII is the artifact that harness maintainers can adopt to close the gap.
DATA AND CODE AVAILABILITY
The fixture generators, matched-twin protocol, recording proxy and disk sampler, seven-harness runner, judge, model-free primitive study, SZSP gate, and per-cell records will be released upon acceptance.
REFERENCES
[1] J. Yang et al., “SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), 2024, pp. 50 528–50 652, doi: 10.52202/079017-1601.
[2] X. Wang et al., “OpenHands: An Open Platform for AI Software Developers as Generalist Agents,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2025, doi: 10.48550/arXiv.2407.16741.
[3] M. A. Merrill, A. G. Shaw, N. Carlini et al., “Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2026, doi: 10.48550/arXiv.2601.11868.
[4] X. Yang et al., “From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents,” arXiv:2610.22987, 2026, doi: 10.48550/arXiv.2610.22987.
[5] K. Greshake, S. Abdelnabi, S. Mishra, C. Endres, T. Holz, and M. Fritz, "Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection," in Proc. ACM Workshop Artif. Intell. Secur. (AISec), 2023, pp. 79–90, doi: 10.1145/3605764.3623985.
[6] Q. Zhan, Z. Liang, Z. Ying, and D. Kang, “InjecAgent: Benchmarking indirect prompt injections in tool-integrated large language model agents,” in Findings Assoc. Comput. Linguist.: ACL, Aug. 2024, pp. 10 471–10 506, doi: 10.18653/v1/2024.findings-acl.624.
[7] E. Debenedetti, J. Zhang, M. Balunović, L. Beurer-Kellner, M. Fischer, and F. Tramèr, “AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), Datasets Benchmarks Track, vol. 37, 2024, pp. 82 895–82 920, doi: 10.52202/079017-2636.
[8] H. Zhang et al., “Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2025, doi: 10.48550/arXiv.2410.02644.
[9] M. Andriushchenko et al., “AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2025, pp. 79 185–79 220, doi: 10.48550/arXiv.2410.09024.
[10] T. D. Nguyen, J. Guo, R. S. Dubauskas, S. Damuluru, T. T. Johnson, and K. Leach, “INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic Systems,” arXiv:2610.20776, 2026, doi: 10.48550/arXiv.2610.20776.
[11] J. Yi et al., “Benchmarking and Defending against Indirect Prompt Injection Attacks on Large Language Models,” in Proc. ACM SIGKDD Conf. Knowl. Discov. Data Min. (KDD), 2025, pp. 1809–1820, doi: 10.1145/3690624.3709179.
[12] C. E. Jimenez et al., “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?” in Proc. Int. Conf. Learn. Represent. (ICLR), 2024, doi: 10.48550/arXiv.2310.06770.
[13] Y. You, J. Chen, Q. Wang, and H. Duan, “My ZIP isn’t your ZIP: Identifying and exploiting semantic gaps between ZIP parsers,” in Proc. USENIX Secur. Symp., Aug. 2025, pp. 431–450. [Online]. Available: https://www.usenix.org/conference/usenixsecurity25/presentation/you
[14] P. He, Y. Xie, Y. Li, and S. Ji, “Hybrid Analysis for Secure MCP Tool Use in LLM Agents,” arXiv:2607.25297, 2026, doi: 10.48550/arXiv.2607.25297.
[15] X. Guo et al., “When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents,” arXiv:2608.27146, 2026, doi: 10.48550/arXiv.2608.27146.
[16] D. Fifield, “A Better Zip Bomb,” in Proc. USENIX Workshop Offensive Technol. (WOOT), Aug. 2019. [Online]. Available: https://www.usenix.org/conference/woot19/presentation/fifield
[17] MITRE, “CWE-409: Improper Handling of Highly Compressed Data (Data Amplification),” Common Weakness Enumeration (CWE), Version 4.20, 2026, Accessed: Oct. 27, 2026. [Online]. Available: https://cwe.mitre.org/data/definitions/409.html
[18] A. Barth, J. Caballero, and D. Song, “Secure Content Sniffing for Web Browsers, or How to Stop Papers from Reviewing Themselves,” in Proc. IEEE Symp. Secur. Privacy, 2009, pp. 360–371, doi: 10.1109/SP.2009.3.
[19] Aphroq, “Archive extraction should enforce resource limits before writing payloads,” GitHub issue #3274, openai/openai-agents-python, May 2026, Accessed: Oct. 27, 2026. [Online]. Available: https://github.com/openai/openai-agents-python/issues/3274
[20] W. Kasselman, “Bound the input_handler ingest layer (URL download, zip extraction, git clone) before the per-file gate,” GitHub issue #21, NVIDIA/SkillSpector, Jun. 2026, Accessed: Oct. 27, 2026. [Online]. Available: https://github.com/NVIDIA/SkillSpector/issues/21
[21] I. Evtimov, A. Zharmagambetov, A. Grattafoiri, C. Guo, and K. Chaudhuri, "WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks," in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), 2025, pp. 22436–22458, doi: 10.52202/085713-0666.
[22] E. Bagdasaryan, T.-Y. Hsieh, B. Nassi, and V. Shmatikov, “Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs,” arXiv:2307.10490, 2023, doi: 10.48550/arXiv.2307.10490.
[23] T. Kuntz et al., “OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), 2025, pp. 50396–50427, doi: 10.52202/085713-1502.
[24] E. Wallace, K. Xiao, R. Leike, L. Weng, J. Heidecke, and A. Beutel, “The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions,” arXiv:2404.13208, 2024, doi: 10.48550/arXiv.2404.13208.
[25] S. Chen, J. Piet, C. Sitawarin, and D. Wagner, “StruQ: Defending against prompt injection with structured queries,” in Proc. USENIX Secur. Symp., Aug. 2025, pp. 2383–2400, doi: 10.48550/arXiv.2402.06363.
[26] K. Hines, G. Lopez, M. Hall, F. Zarfati, Y. Zunger, and E. Kicman, “Defending Against Indirect Prompt Injection Attacks With Spotlighting,” in Proc. Conf. Appl. Mach. Learn. Inf. Secur. (CAMLIS), vol. 3920, Oct. 2024, pp. 48–62, doi: 10.48550/arXiv.2403.14720.
[27] Q. Zhan, R. Fang, H. S. Panchal, and D. Kang, “Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents,” in Findings Assoc. Comput. Linguist.: NAACL, 2025, pp. 7101–7117, doi: 10.18653/v1/2025.findings-naacl.395.
[28] L. Beurer-Kellner et al., “Design Patterns for Securing LLM Agents against Prompt Injections,” arXiv:2506.08837, 2025, doi: 10.48550/arXiv.2506.08837.
[29] A. G. R. Day et al., “Workspace Topology as an Attack Vector in Agentic Coding Assistants,” arXiv:2608.14876, 2026, accepted at the Conference on Applied Machine Learning in Information Security (CAMLIS 2026), doi: 10.48550/arXiv.2608.14876.
[30] Z. Zhu et al., “HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses?” arXiv:2610.07639, 2026, doi: 10.48550/arXiv.2610.07639.
[31] D. Dworken and O. Weller-Davies, “Beyond Permission Prompts: Making Claude Code More Secure and Autonomous,” Anthropic Engineering Blog, Anthropic, Oct. 2025, Accessed: Oct. 27, 2026. [Online]. Available: https://www.anthropic.com/research/claude-code-sandboxing
[32] Model Context Protocol, “Model Context Protocol Specification (Version 2025-06-18),” Official specification, protocol revision 2025-06-18, Jun. 2025, Accessed: Oct. 27, 2026. [Online]. Available: https://modelcontextprotocol.io/specification/2025-06-18
[33] Z. Wang et al., “MCPTox: A Benchmark for Tool Poisoning on Real-World MCP Servers,” Proc. AAAI Conf. Artif. Intell., vol. 40, no. 42, pp. 35811–35819, 2026, doi: 10.1609/aaai.v40i42.40895.
[34] Q. Zhang et al., “EpiSEM-Bench: Evaluating Safety and Evidence Recovery in LLM Agents under Missing Evidence,” arXiv:2610.31650, 2026, doi: 10.48550/arXiv.2610.31650.
[35] Snyk, “Zip Slip Vulnerability (Arbitrary file write through archive extraction),” GitHub repository, https://github.com/snyk/zip-slip-vulnerability, 2018, Accessed: Oct. 27, 2026.
[36] MITRE, “CWE-59: Improper Link Resolution Before File Access ('Link Following'),” Common Weakness Enumeration (CWE), Version 4.20, 2026, Accessed: Oct. 27, 2026. [Online]. Available: https://cwe.mitre.org/data/definitions/59.html
[37] L. Sassaman, M. L. Patterson, S. Bratus, and M. E. Locasto, “Security
Applications of Formal Language Theory," IEEE Syst. J., vol. 7, no. 3, pp. 489–500, Sep. 2013, doi: 10.1109/JSYT.2012.2222000.
[38] PKWARE Inc., "APPNOTE.TXT – .ZIP File Format Specification, Version 6.3.10," https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT, Nov. 2022, revised Nov. 1, 2022.
[39] Zylos Research, “Untrusted Archives in Agent Tools: Bound the Namespace, Work, and Publication,” Zylos Research (web article), Sep. 2026, Accessed: Oct. 27, 2026. [Online]. Available: https://zylos.ai/en/research/2026-09-19-bounded-archive-extraction/
[40] G. Chua, “Running in CIRCLE? A Simple Benchmark for LLM Code Interpreter Security,” arXiv:2507.19399, 2025, doi: 10.48550/arXiv.2507.19399.
[41] F. B. Schneider, “Enforceable Security Policies,” ACM Trans. Inf. Syst. Secur., vol. 3, no. 1, pp. 30–50, 2000, doi: 10.1145/353323.353382.
[42] J. Ligatti, L. Bauer, and D. Walker, “Edit Automata: Enforcement Mechanisms for Run-Time Security Policies,” Int. J. Inf. Secur., vol. 4, no. 1–2, pp. 2–16, 2005, doi: 10.1007/s10207-004-0046-8.
[43] M. Alshiekh, R. Bloem, R. Ehlers, B. Könighofer, S. Niekum, and U. Topcu, “Safe Reinforcement Learning via Shielding,” in Proc. AAAI Conf. Artif. Intell., vol. 32, no. 1, 2018, doi: 10.1609/aaai.v32i11.11797.
[44] J. Saltzer and M. Schroeder, “The protection of information in computer systems,” Proc. IEEE, vol. 63, no. 9, pp. 1278–1308, 1975, doi: 10.1109/PROC.1975.9939.
[45] R. N. M. Watson, J. Anderson, B. Laurie, and K. Kennaway, “A taste of Capsicum: practical capabilities for UNIX,” Commun. ACM, vol. 55, no. 3, pp. 97–104, Mar. 2012, doi: 10.1145/2093548.2093572.
[46] H. Wang, C. M. Poskitt, and J. Sun, “AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents,” in Proc. IEEE/ACM Int. Conf. Softw. Eng. (ICSE), 2026, pp. 2938–2950, doi: 10.1145/3744916.3764546.
[47] E. Debenedetti et al., “Defeating Prompt Injections by Design,” in Proc. IEEE Conf. Secure Trustworthy Mach. Learn. (SaTML), Mar. 2026, pp. 587–618, doi: 10.1109/satml68715.2026.00040.
[48] T. Shi et al., “Progent: Securing AI Agents with Privilege Control,” arXiv:2504.11703, 2025, doi: 10.48550/arXiv.2504.11703.
[49] Anthropic, “Claude Code,” https://github.com/anthropics/claude-code, 2026, version 2.1.309.
[50] OpenAI, “Codex CLI,” 2026, version 0.163.0. [Online]. Available: https://github.com/openai/codex
[51] Anomaly, “OpenCode: The Open Source Coding Agent,” GitHub repository, 2026, version 1.19.4. [Online]. Available: https://github.com/anomalyco/opencode
[52] Qwen Team, “Qwen Code,” https://github.com/QwenLM/qwen-code, 2026, version 0.26.0.
[53] K. Lieret and C. E. Jimenez, “mini-SWE-agent,” GitHub repository, https://github.com/SWE-agent/mini-swe-agent, 2026, version 2.4.6.
[54] E. Bjäreholt, “gptme,” https://github.com/gptme/gptme, Oct. 2026, version 0.35.1, doi: 10.5281/zenodo.23405897.
[55] A. Roucher, A. V. del Moral, T. Wolf, L. von Werra, and E. Kaunismäki, “smolagents: A smol library to build great agentic systems,” https://github.com/huggingface/smolagents, 2025, version 1.26.0.
[56] Qwen Team, “Qwen3.8-Max: A new bar for coding and cowork,” https://qwen.ai/blog?id=qwen3.8, 2026, Accessed: Oct. 27, 2026.
[57] DeepSeek-AI, “DeepSeek-V4.1-Flash: Pushing the limits of KV cache compression,” https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017, 2026, Accessed: Oct. 27, 2026.
[58] Z.ai, “GLM-5.3,” https://docs.z.ai/guides/llm/glm-5.3, 2026, Accessed: Nov. 2, 2026.
[59] Moonshot AI, “Kimi K3,” https://huggingface.co/moonshotai/Kimi-K3, 2026, Accessed: Oct. 27, 2026.
[60] Google DeepMind, “Gemini 4 argon model card,” https://deepmind.google/models/model-cards/gemini-4-argon/, 2026, Accessed: Oct. 27, 2026.
[61] OpenAI, “Introducing GPT-6 Sol and Luna,” https://openai.com/index/introducing-gpt-6-sol-and-luna/, 2026, Accessed: Oct. 27, 2026.