aiqbench analysis
This research quantifies the performance degradation of coding agents when deployed under strict enterprise security policies, revealing that hardening measures incur significant costs in both success rates and operational efficiency. The study demonstrates that model selection must be policy-dependent, as the agent optimizing for safety often sacrifices speed more than others, while also characterizing distinct failure modes like timeouts versus incorrect solutions. By releasing Boundary-Bench, this work provides a critical benchmarking tool to evaluate AI agents realistically within constrained environments rather than permissive sandboxes.
Permission Denied: Policy-Graded Evaluation of Coding Agents in Hardened Environments
arXiv:2608.02670v1 Announce Type: cross 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. 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.
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. 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.
Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI)
arXiv:2608.02670 [cs.CR]
(or arXiv:2608.02670v1 [cs.CR] for this version)
https://doi.org/10.48550/arXiv.2608.02670 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 282 words
Related coverage

Govern AI agent tool access with Amazon Bedrock AgentCore Gateway
AWS · Aug 21, 2026

How Benchling secured multi-tenant AI agents with Amazon Bedrock AgentCore
AWS · Sep 21, 2026
Links #5: 2026/07
LessWrong · Jul 31, 2026

Four Ways to Deploy More Secure AI Agents
NVIDIA · Jul 30, 2026