paper-with-me

Papers

SandboxEval: Towards Securing Test Environment for Untrusted Code

2025-03-27 · Rafiqul Rabin, Jesse Hostetler, Sean McGregor, Brett Weir, Nick Judd

While large language models (LLMs) are powerful assistants in programming tasks, they may also produce malicious code. Testing LLM-generated code therefore poses significant risks to assessment infrastructure tasked with executing untrusted code. To address these risks, this work focuses on evaluating the security and confidentiality properties of test environments, reducing the risk that LLM-generated code may compromise the assessment infrastructure. We introduce SandboxEval, a test suite featuring manually crafted test cases that simulate real-world safety scenarios for LLM assessment environments in the context of untrusted code execution. The suite evaluates vulnerabilities to sensitive information exposure, filesystem manipulation, external communication, and other potentially dangerous operations in the course of assessment activity. We demonstrate the utility of SandboxEval by deploying it on an open-source implementation of Dyff, an established AI assessment framework used to evaluate the safety of LLMs at scale. We show, first, that the test suite accurately describes limitations placed on an LLM operating under instructions to generate malicious code. Second, we show that the test results provide valuable insights for developers seeking to harden assessment infrastructure and identify risks associated with LLM execution activities.

📄 PDF Abstract BibTeX arXiv:2504.00018

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Defeating Prompt Injections by Design

2025-03-24 · Edoardo Debenedetti, Ilia Shumailov, Tianqi Fan, Jamie Hayes 외

Large Language Models (LLMs) are increasingly deployed in agentic systems that interact with an untrusted environment. However, LLM agents are vulnerable to prompt injection attacks when handling untrusted data. In this …

Untrusted Content Masking for Web Agents with Security Guarantees

2026-07-06 · Kristina Nikolić, Egor Zverev, Javier Rando, Matthew Jagielski 외 arxiv

Defenses that provide security guarantees against prompt injection attacks rely on strict isolation between trusted instructions and untrusted data. In text-based environments such as tool-use APIs, this separation arise…

SecureInfer: Heterogeneous TEE-GPU Architecture for Privacy-Critical Tensors for Large Language Model Deployment

2025-10-22 · Tushar Nayan, Ziqi Zhang, Ruimin Sun arxiv

With the increasing deployment of Large Language Models (LLMs) on mobile and edge platforms, securing them against model extraction attacks has become a pressing concern. However, protecting model privacy without sacrifi…

Model extraction

The Hidden Dangers of Browsing AI Agents

2025-05-19 · Mykyta Mudryi, Markiyan Chaklosh, Grzegorz Wójcik

Autonomous browsing agents powered by large language models (LLMs) are increasingly used to automate web-based tasks. However, their reliance on dynamic content, tool execution, and user-provided data exposes them to a b…

Securing Transformer-based AI Execution via Unified TEEs and Crypto-protected Accelerators

2025-07-04 · Jiaqi Xue, Yifei Zhao, Mengxin Zheng, Fan Yao 외 arxiv

Recent advances in Transformer models, e.g., large language models (LLMs), have brought tremendous breakthroughs in various artificial intelligence (AI) tasks, leading to their wide applications in many security-critical…