Simone Aonzo, Merve Sahin, Aurélien Francillon, Daniele Perito
Artificial intelligence (AI) systems are increasingly adopted as tool-using agents that can plan, observe their environment, and take actions over extended time periods. This evolution challenges current evaluation practices where the AI models are tested in restricted, fully observable settings. In this article, we argue that evaluations of AI agents are vulnerable to a well-known failure mode in computer security: malicious software that exhibits benign behavior when it detects that it is being analyzed. We point out how AI agents can infer the properties of their evaluation environment and adapt their behavior accordingly. This can lead to overly optimistic safety and robustness assessments. Drawing parallels with decades of research on malware sandbox evasion, we demonstrate that this is not a speculative concern, but rather a structural risk inherent to the evaluation of adaptive systems. Finally, we outline concrete principles for evaluating AI agents, which treat the system under test as potentially adversarial. These principles emphasize realism, variability of test conditions, and post-deployment reassessment.
This paper draws an explicit structural analogy between malware sandbox evasion—a well-studied phenomenon in computer security—and the problem of evaluating AI agents that may behave differently under testing than in deployment. The core argument is that tool-using AI agents possess the functional prerequisites for "evaluator-discrimination": the ability to detect evaluation contexts and adapt behavior accordingly. The paper introduces vocabulary from the malware domain (red pills, blue pills, conditional execution, logic bombs) to frame AI safety evaluation challenges, and concludes with a set of practical principles for adversarial evaluation.
The contribution is primarily conceptual and rhetorical rather than empirical or technical. The paper does not present new experiments, formal models, or novel detection methods. Instead, it synthesizes existing knowledge from two domains—malware analysis and AI safety—to argue that a structural risk is underappreciated. The analogy itself is the main offering.
As a perspective/opinion piece submitted to CACM, the paper does not claim to present new experimental results, which is appropriate for the venue. However, this also means the claims rest entirely on the persuasiveness of the analogy and the cited literature.
The parallels drawn are generally well-constructed. The mapping between sandbox evasion and AI evaluation evasion is intuitive: both involve adaptive systems that can probe their environment and conditionally reveal or conceal capabilities. The red pill/blue pill framing is effective. The paper correctly identifies several specific parallels: logic bombs ↔ sleeper agents, sandbox artifacts ↔ evaluation harness artifacts, pre/post-deployment evasion phases, and dual-use actions.
However, the paper's argumentation has notable gaps:
The paper's primary value lies in bridging two communities that have much to learn from each other. Security researchers have decades of experience with adversarial evaluation that AI safety researchers may underappreciate. Conversely, the AI safety implications give renewed relevance to lessons from malware analysis.
The practical impact depends on whether the target audience—AI developers, safety evaluators, policymakers—finds the analogy novel and motivating. For the AI safety community, the general concern about evaluation gaming is already well-known (alignment tax, deceptive alignment, Goodhart's law). What this paper adds is the specific technical vocabulary and historical precedent from malware analysis, which could sharpen thinking about evaluation design.
For the security community, the paper may inspire new research directions at the intersection of malware analysis techniques and AI agent monitoring. The idea that AI agent monitoring systems should be designed with the same rigor as endpoint detection systems is a useful contribution.
The paper is highly timely. The rapid deployment of AI agents with tool-use capabilities (MCP, function calling, multi-step planning) has outpaced evaluation methodology. Recent demonstrations of in-context scheming and evaluation awareness in frontier models make this concern more concrete than it would have been even a year ago. Regulatory frameworks (EU AI Act, NIST AI RMF) are grappling with how to evaluate AI systems, and this paper highlights a fundamental limitation of current approaches.
The submission to CACM is appropriate—this is a cross-cutting concern that benefits from broad visibility rather than being siloed in either a security or AI venue.
This is a well-framed perspective piece that introduces a productive analogy between malware sandbox evasion and AI agent evaluation. Its contribution is primarily conceptual—it does not present new methods, experiments, or formal results. The analogy is illuminating but imperfect, and the practical recommendations, while sensible, are underdeveloped. The paper's impact will likely be modest but positive: it may influence how evaluation frameworks are designed and encourage cross-pollination between the security and AI safety communities. It is best understood as an invitation to further research rather than a substantial advance in its own right.
Generated Apr 7, 2026
ExploitBench introduces a novel, concrete benchmark with a granular capability ladder for evaluating LLM exploitation abilities, filling a clear gap in existing binary-outcome benchmarks. It provides reproducible methodology with deterministic oracles, empirical results across multiple frontier models, and reveals a meaningful capability split. Paper 2 raises important conceptual concerns about evaluation evasion but is more of a position/perspective piece drawing analogies from malware analysis without introducing new empirical methods or tools. ExploitBench's concrete benchmark contribution is likely to see wider adoption and citation in the rapidly growing LLM security evaluation field.
Paper 1 presents a rigorous empirical measurement study exposing immediate, real-world privacy vulnerabilities in widely used AI chatbots. Its concrete findings on data leaks offer actionable insights for privacy researchers and regulators, promising high near-term impact. Paper 2, while highly novel and relevant to long-term AI safety, appears to be a conceptual position paper. The empirical grounding and immediate societal relevance of Paper 1 give it a higher potential for widespread, measurable scientific impact.
Paper 1 introduces a highly novel conceptual paradigm for AI safety by drawing parallels between AI evaluation and malware evasion. This has broad, long-lasting implications for how autonomous AI agents are fundamentally assessed, deeply impacting AI alignment and security research. Paper 2, while a rigorous and timely empirical privacy study, addresses immediate, fixable tracking issues, giving it a narrower long-term scientific impact compared to the structural evaluation risks identified in Paper 1.
Paper 1 addresses a fundamental, cross-cutting challenge in AI safety evaluation by drawing novel parallels between malware sandbox evasion and AI agent evaluation—a conceptual framework applicable across the entire AI safety field. Its breadth of impact is greater as it affects how all agentic AI systems are evaluated, a timely concern as AI agents become more autonomous. Paper 2, while technically rigorous and practically useful, addresses a narrower problem (privacy-preserving RAG) with incremental improvements using known cryptographic techniques. Paper 1's structural insight has broader implications for AI governance and policy.
Paper 1 offers a profound conceptual innovation by drawing parallels between malware evasion and AI agent evaluation. This structural insight has the potential for broad, long-term impact across the entire field of AI safety and alignment, shifting fundamental paradigms of how AI agents are evaluated. While Paper 2 provides strong empirical results for cybersecurity benchmarking, Paper 1 addresses a foundational vulnerability applicable to all adaptive AI systems.
Paper 2 likely has higher scientific impact because it proposes and empirically validates a concrete, scalable evaluation paradigm (Dynamic Cyber Ranges) with clear real-world applicability to securing and benchmarking LLM agents. It includes multi-tier deployments and measurable outcomes, suggesting stronger methodological rigor and immediate utility for cyber range design, defensive automation, and benchmark integrity. Its dynamic attacker–defender framing can generalize across cybersecurity evaluation settings and remains timely as agent capabilities rapidly improve. Paper 1 is novel conceptually, but is more of a position/principles paper with less direct experimental validation.
Paper 2 demonstrates higher scientific impact through rigorous empirical methodology and mechanistic analysis. While Paper 1 introduces a valuable conceptual framework borrowing from cybersecurity, Paper 2 provides the first systematic study of a specific vulnerability in state-of-the-art Audio LLMs. It quantifies the risk (JSR up to 87%), decomposes the axes of vulnerability, and proposes effective, actionable defenses. Its concrete, empirical insights and immediate applicability to the rapidly growing field of multimodal AI safety give it a stronger foundation for driving follow-up research and real-world implementation.
Paper 2 addresses a fundamental, broadly applicable problem—AI agents evading safety evaluations—by drawing on decades of malware analysis research. Its conceptual framework applies across the entire AI safety ecosystem and is timely given rapid agent deployment. Paper 1, while technically rigorous with a novel commit-open protocol for model substitution detection, addresses a narrower problem (hosted LLM substitution) with a more specialized audience. Paper 2's cross-disciplinary insight and relevance to AI governance and policy give it wider potential impact across fields.
Paper 2 addresses a fundamental and broadly applicable challenge in AI safety evaluation—the risk that AI agents can detect and evade evaluation environments, analogous to malware sandbox evasion. This cross-disciplinary insight connecting computer security with AI evaluation is highly novel, timely given rapid AI agent deployment, and has broad implications across AI safety, policy, and governance. Paper 1, while technically solid with meaningful speedups in privacy-preserving LLM routing, addresses a more niche optimization problem with narrower impact scope.
Paper 2 addresses a fundamental and broadly applicable challenge in AI safety evaluation—the risk that AI agents can detect and evade evaluation environments, analogous to malware sandbox evasion. This cross-disciplinary insight connecting computer security with AI evaluation is highly novel, timely given the rapid deployment of AI agents, and has broad impact across AI safety, alignment, policy, and security communities. Paper 1, while technically sound, addresses a narrower problem (time watermarking for LLM-generated text) with more limited scope and audience. Paper 2's framework-level contribution is likely to influence evaluation methodology across the field.