ParanoiaEval: Benchmarking Unnecessary Defensive Work in Agentic Coding

Hanjun Luo, Hanan Salam and colleagues (NYU, NYU Abu Dhabi, PolyU) introduce ParanoiaEval, a benchmark that measures when coding agents do defensive work the task evidence has already ruled out, such as extra validation, backups and protective logic.
Ask this paper
Benchmark design. 200 evidence-controlled repository task pairs over 50 repositories, organized by the Avoidance-Transfer-Mitigation-Acceptance framework from software risk management. Each pair differs only in the evidence that determines the correct treatment.
Excess treatment is common. Across 8 model configurations in Claude Code and Codex, unnecessary risk treatment occurs in 11.2% to 58.7% of runs. Opus-5 in Claude Code has the highest rate at 58.7%.
Tests hide it. Task success stays between 88.3% and 97.6%, and 92.7% of runs with excess treatment still pass the oracle, so functional evaluation misses most violations.
Developers notice. In a human study, runs with excess treatment score 1.27 points lower on a 5-point satisfaction scale, and developers accept them as is 38% of the time against 78% otherwise.
Separate capability. Stronger task capability does not predict appropriate risk treatment, so the authors treat it as its own evaluation dimension.
Abstract
As coding agents increasingly undertake real-world work autonomously, judging whether their risk treatments are warranted has become important. Existing work evaluates related agent behaviors from separate perspectives, but lacks a systematic framework for unifying these behaviors. To bridge this gap, we introduce ParanoiaEval, the first benchmark for unified evaluation of risk-treatment capabilities in coding agents. Grounded in the well-established Avoidance-Transfer-Mitigation-Acceptance framework in software engineering risk management, ParanoiaEval operationalizes its 4 fundamental treatments for coding-agent settings and contains 200 evidence-controlled repository-level task pairs, each differing only in treatment-defining evidence. We further introduce dedicated metrics for risk-treatment violations and evidence responsiveness, using a human-calibrated agentic judge for reliable evaluation. Large-scale experiments on 8 representative models and a post-hoc human study reveal that (I) unnecessary risk treatment occurs in 11.2%-58.7% of runs despite explicit evidence, with substantial variation across agent configurations; (II) stronger task capability does not ensure more appropriate risk treatment, while treatment violations substantially harm developers' experience, establishing risk treatment as an independent capability dimension; and (III) agents exhibit systematic patterns consistent with established risk-management findings, suggesting that knowledge from human practice can guide the diagnosis and improvement of this capability.