paper-with-me

홈 › Papers

Running in CIRCLE? A Simple Benchmark for LLM Code Interpreter Security

2025-07-25 · Gabriel Chua arxiv

As large language models (LLMs) increasingly integrate native code interpreters, they enable powerful real-time execution capabilities, substantially expanding their utility. However, such integrations introduce potential system-level cybersecurity threats, fundamentally different from prompt-based vulnerabilities. To systematically evaluate these interpreter-specific risks, we propose CIRCLE (Code-Interpreter Resilience Check for LLM Exploits), a simple benchmark comprising 1,260 prompts targeting CPU, memory, and disk resource exhaustion. Each risk category includes explicitly malicious ("direct") and plausibly benign ("indirect") prompt variants. Our automated evaluation framework assesses not only whether LLMs refuse or generates risky code, but also executes the generated code within the interpreter environment to evaluate code correctness, simplifications made by the LLM to make the code safe, or execution timeouts. Evaluating 7 commercially available models from OpenAI and Google, we uncover significant and inconsistent vulnerabilities. For instance, evaluations show substantial disparities even within providers - OpenAI's o4-mini correctly refuses risky requests at 7.1%, notably higher rates compared to GPT-4.1 at 0.5%. Results particularly underscore that indirect, socially-engineered prompts substantially weaken model defenses. This highlights an urgent need for interpreter-specific cybersecurity benchmarks, dedicated mitigation tools (e.g., guardrails), and clear industry standards to guide safe and responsible deployment of LLM interpreter integrations. The benchmark dataset and evaluation code are publicly released to foster further research.

📄 PDF Abstract BibTeX arXiv:2507.19399

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Coevolving Artistic Images Using OMNIREP

2024-01-20 · Moshe Sipper, Jason H. Moore, Ryan J. Urbanowicz

We have recently developed OMNIREP, a coevolutionary algorithm to discover both a representation and an interpreter that solve a particular problem of interest. Herein, we demonstrate that the OMNIREP framework can be su…

Position

CircleSnake: Instance Segmentation with Circle Representation

2022-11-02 · Ethan H. Nguyen, Haichun Yang, Zuhayr Asad, Ruining Deng 외

Circle representation has recently been introduced as a medical imaging optimized representation for more effective instance object detection on ball-shaped medical objects. With its superior performance on instance dete…

Instance Segmentationobject-detectionObject DetectionSegmentation+1

OpenCodeInterpreter: Integrating Code Generation with Execution and Refinement

2024-02-22 · Tianyu Zheng, Ge Zhang, Tianhao Shen, Xueling Liu 외

The introduction of large language models has significantly advanced code generation. However, open-source models often lack the execution capabilities and iterative refinement of advanced systems like the GPT-4 Code Int…

Code GenerationHumanEvalmbpp

Chain of Code: Reasoning with a Language Model-Augmented Code Emulator

2023-12-07 · Chengshu Li, Jacky Liang, Andy Zeng, Xinyun Chen 외

Code provides a general syntactic structure to build complex programs and perform precise computations when paired with a code interpreter - we hypothesize that language models (LMs) can leverage code-writing to improve …

Language ModelingLanguage Modelling

Circle Representation for Medical Instance Object Segmentation

2024-03-18 · Juming Xiong, Ethan H. Nguyen, Yilin Liu, Ruining Deng 외

Recently, circle representation has been introduced for medical imaging, designed specifically to enhance the detection of instance objects that are spherically shaped (e.g., cells, glomeruli, and nuclei). Given its outs…

Instance SegmentationObjectSegmentationSemantic Segmentation