Permission Denied: Policy-Graded Evaluation of Coding Agents in Hardened Environments

Dotan Davidovich, Yair Amar, Hai Rozencwajg, Or Hiltch
8/2/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

Coding agents increasingly run inside organizations whose security controls (scoped credentials, restricted egress, read-only filesystems, non-root execution) constrain them like any other software. Existing benchmarks, however, evaluate agents almost exclusively in permissive sandboxes, so it is unknown how performance changes when policy is enforced.

Show full abstract

In this work, we evaluate 12 coding agents on Terminal-Bench 2.1 across nested security policy levels derived from common real-world enterprise restrictions. Hardening is never free but far from uniform: under the strictest policy, success losses reach 18.3 points and cost inflation 167.3\%, and the two axes disagree; the model that best preserves success is also the one that loses the most efficiency, so model choice is policy-dependent. Beyond aggregate scores, we characterize how agents behave when policy blocks their actions and decompose the failures hardening induces: runs grind into timeouts or wrong solutions rather than stopping early, in a mix that differs by model. To ground comparisons, we verify task solvability under the strictest policy, separating model failures from tasks the policy forecloses. We release Boundary-Bench, an open-source hardening plugin enabling policy-constrained evaluation of coding agents on Terminal-Bench and compatible benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{davidovich2026permission,
  title  = {Permission Denied: Policy-Graded Evaluation of Coding Agents in Hardened Environments},
  author = {Dotan Davidovich and Yair Amar and Hai Rozencwajg and Or Hiltch},
  year   = {2026},
  eprint = {2608.02670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.02670v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.02670.svg)](https://codeofpaper.com/paper/2608.02670)

Discussion