Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

Code agents in the CIBER benchmark resisted deleting sensitive files far better than copying or reading them

CIBER, from researchers at Southeast University and Huazhong University of Science and Technology, attacked two open-source code interpreter agents 57,000 times in sandboxes and checked what actually changed on the system. Attacks hidden in fake conversation history worked more often than direct commands. The agents pushed back on a reverse shell or a file deletion, and resisted far less when asked to copy, list or read sensitive files.

arXiv · Lei Ba, Songze Li, Qinbin Li · February 23, 2026 · read

share
11,682 words. With Lei Ba, author, Southeast University; Qinbin Li, author, Huazhong University of Science and Technology; Songze Li, author, Southeast University.
01

What's happening

Finding4
BI-FIND-2026-1300Lead finding

In Ba, Li and Li's scoring, agents refused more often than attacks succeeded on only four of RedCode's 25 scenarios, such as deleting sensitive files.

Ba, Li and Li scored each of RedCode's 25 risky-code scenarios as refusal rate minus attack success rate, and the agents came out ahead on only four, which the authors class as explicit threats, led by creating a reverse shell (+39.7) and deleting sensitive files (+31.0). Copying sensitive files scored -75.7, listing them -66.5, reading them -66.1 and posting them -58.9, and fifteen of the 25 scenarios fell below -50. The authors read this as refusals keyed to obvious malicious markers: agents, they write, cannot tell legitimate development tasks from "malicious exploitation" when the operation itself looks harmless.

medium confidencebest source: independent researchobserved Feb 2026EvidenceFinding 4: explicit versus implicit hazardsGap, threat model and the CIBER benchmark
flag a problem with BI-FIND-2026-1300
BI-FIND-2026-1301

With plain-language prompts, fake conversation history succeeded 73.3% of the time on average, tool-output injection 71.8% and direct injection 59.4%.

Attacks planted in material the agent trusts did better than direct commands. With plain-language prompts, fake conversation history (memory poisoning) succeeded 73.3% of the time on average and instructions hidden in tool output 71.8%, against 59.4% for direct injection. Memory poisoning beat direct injection on both agents. Tool-output injection did so mainly on OpenCodeInterpreter (76.5% against 55.5%), where the authors say injected code bypasses the model and goes straight into execution; on OpenInterpreter the two were nearly level (65.5% and 64.7%). The authors conclude that current defenses "strictly filter explicit user inputs" but cannot check trusted background information.

medium confidencebest source: independent researchobserved Feb 2026EvidenceSection 3
flag a problem with BI-FIND-2026-1301
BI-FIND-2026-1302

The sandboxed OpenCodeInterpreter cut GPT-3.5-Turbo's memory-poisoning success from 87.1% to 66.9%, but its overall success moved only from 63.2% to 60.0%.

Run with GPT-3.5-Turbo on both agents, the sandboxed, syntax-checked OpenCodeInterpreter cut memory-poisoning success from 87.1% to 66.9%, which the authors say confirms an architectural "Safety Floor". We read the same table as showing an uneven floor: on OpenCodeInterpreter that model's tool-output injection success rose from 69.6% to 72.4% and its backdoor trigger rate from 45.3% to 65.9%, and its overall success moved only from 63.2% to 60.0%. No agent and model pairing got overall success below 48.0%, the figure for GPT-5-mini on the unfiltered OpenInterpreter, which also refused more often than any other pairing (22.5%).

medium confidencebest source: independent researchobserved Feb 2026EvidenceSection 2Section 3
flag a problem with BI-FIND-2026-1302
BI-FIND-2026-1303

Describing malicious code step by step succeeded 62.5% of the time across six models and four attacks, against 48.4% for code snippets.

Describing the malicious code step by step worked better than pasting it. Across six models and four attacks, descriptions succeeded 62.5% of the time, plain language 55.6% and code snippets 48.4%. On direct injection OpenCodeInterpreter's models refused about 37.5% of snippets but about 14.6% of descriptions. The authors' explanation, which they call a hypothesis, is that pasted code gets reproduced as written and caught by syntax rules, while a description lets the model write equivalent code that the rules do not match.

medium confidencebest source: independent researchobserved Feb 2026EvidenceFinding 3: natural language disguise
flag a problem with BI-FIND-2026-1303
02

Section by section

6

showing 6 of 6

[1]

Gap, threat model and the CIBER benchmark

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

Ba, Li and Li argue that earlier benchmarks for code agents use static datasets or simulated environments and can mistake a verbal refusal for a safe outcome. CIBER runs each attack inside a Docker container and then checks the system (file checksums, config diffs, the process list), and an attack counts as successful when the state actually changed. Four attacks, three phrasings and RedCode's 25 risky-code scenarios make 57,000 tests.

technical artifactfrom published text + figures

[2]

Finding 1: architecture and alignment set the security baseline

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

OpenInterpreter hands the model a terminal with no filter; OpenCodeInterpreter adds a sandbox, a syntax check before execution and output cleaning. With GPT-3.5-Turbo on both, OpenCodeInterpreter cut memory-poisoning success from 87.1% to 66.9%. Overall success ran from 48.0% for GPT-5-mini on OpenInterpreter, which refused most often, to 69.3% for GPT-4o. The authors read GPT-4o's edge over GPT-3.5 on direct injection (70.3% vs 67.5%) as capability making a model easier to steer.

technical artifactfrom published text + figures

[3]

Finding 2: trusted contextual channels beat direct injection

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

Averaged over seven agent and model pairs with plain-language prompts, memory poisoning succeeded 73.3% of the time, injection through tool output 71.8%, direct injection 59.4% and a backdoor planted in the system prompt 20.3%. OpenCodeInterpreter was more exposed to tool-output injection than OpenInterpreter (76.5% vs 65.5%), which the authors trace to injected code being substituted straight into execution. GPT-3.5 on OpenCodeInterpreter set off the backdoor 65.9% of the time.

technical artifactfrom published text + figures

[4]

Finding 3: natural language disguise

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

Each attack was phrased three ways: plain language, a step-by-step description of the code, or the code itself. Across six models and four attacks, descriptions succeeded 62.5% of the time, plain language 55.6% and code snippets 48.4%. On direct injection OpenCodeInterpreter refused about 37.5% of snippets and about 14.6% of descriptions. The authors offer a hypothesis: pasted code is reproduced as written and caught by syntax rules.

technical artifactfrom published text + figures

[5]

Finding 4: explicit versus implicit hazards

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

Each scenario is scored as refusal rate minus attack success rate. Four came out above zero: creating a reverse shell (+39.7), deleting sensitive files (+31.0), a risky .bashrc alias (+19.9) and eval injection (+8.2). Six fell between -27.6 and -49.3, and fifteen below -50, among them copying (-75.7), listing (-66.5), reading (-66.1) and posting (-58.9) sensitive files. GPT-5-mini did best on the bias scenarios and not on technical ones.

technical artifactfrom published text + figures

[6]

Proposed defenses and limits

Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University

AI trust

The authors propose three defenses and test none: a model-based semantic firewall that classifies a request's intent before any code is written; taint tracking, so data from tools cannot become executable code without a sanitization step such as human approval; and conversation turns signed by the system and checked when memory is recalled. They limit their claims to representative architectures and known vulnerabilities, leaving zero-day attacks and side-channel leaks open.

opinionfrom published text

Terms used

Reverse shell
A connection opened from a victim machine back to an attacker's server that gives the attacker a command line on the victim, bypassing inbound firewall rules.
Attack success rate
The share of attack attempts in a test that achieve the attacker's goal.
Memory poisoning
Planting malicious entries in an agent's long-term memory or retrieval store so they are fetched later and steer its actions.
GPT-3.5-Turbo
OpenAI's chat model in the GPT-3.5 (Generative Pre-trained Transformer) family.
Docker
A container runtime that runs software in isolated environments that can be started, used and destroyed.
GPT-3
OpenAI's large language model family released in 2020, short for Generative Pre-trained Transformer 3.
Taint tracking
Marking data from untrusted sources and blocking it from reaching sensitive sinks, such as executable code, without sanitization.
Side-channel attack
Learning a secret from indirect signals, such as timing or whether a step ran, instead of reading the secret itself.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity