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.
What's happening
Finding4In 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.
flag a problem with BI-FIND-2026-1300
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.
flag a problem with BI-FIND-2026-1301
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%).
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.
flag a problem with BI-FIND-2026-1303
Section by section
6showing 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
Gap, threat model and the CIBER benchmark
Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University
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
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
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
Finding 2: trusted contextual channels beat direct injection
Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University
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
Finding 3: natural language disguise
Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University
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
Finding 4: explicit versus implicit hazards
Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University
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
Proposed defenses and limits
Lei Ba, Southeast University · Qinbin Li, Huazhong University of Science and Technology · Songze Li, Southeast University
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