CIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter AgentsCIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter Agents
Translation in progress — untranslated text is omitted.
The researchers propose CIBER, an automated benchmark for evaluating the security of code interpreter agents, combining dynamic attack generation, isolated sandboxes, and state-aware evaluation. The benchmark covers four categories of adversarial attacks: direct and indirect prompt injection, memory poisoning, and prompt-based backdoors, and evaluates six foundation models on two agents, OpenInterpreter and OpenCodeInterpreter. Results show that attacks disguised in natural language achieve a 14.1% higher success rate than explicit code snippets, and that agents defend well against explicit threats but fail against implicit semantic risks, which the authors call security polarization.
- Code interpreter agents can actually execute code, but existing security benchmarks are mostly static datasets or simulated environments, which cannot capture the risks brought by dynamic code execution, tool interaction, and multi-turn context, and also ignore the interaction between model capabilities and architectural constraints.
- The authors propose CIBER: the attack generation module rewrites four types of attacks—DPI, IPI, MPA, PBD—into three input modalities, with real execution in a Docker sandbox; the state-aware evaluation module combines intent analysis A and physical state verification V to give a three-tier score.
- On 2 agents, 6 models, and 57,000 instances, the authors state: context-channel attacks (MPA 73.3%, IPI 71.8% ASR) are stronger than DPI (59.4%); the Code Descriptions modality is the most dangerous (62.5% ASR); agents can defend against explicit threats but fail against implicit semantic harms.
- In the Limitations in the Conclusion, the authors state: the study focuses on representative architectures and discrete metrics targeting known vulnerabilities, leaving zero-day attacks and covert side-channel leakage for future work. The experiments cover 2 agents and 6 models across 25 RedCode scenarios; the paper does not report human evaluation or statistical significance testing.
Related papers
Both use: RedCode