Microsoft Warns Host Sandboxes Can Distort AI Coding-Agent Evaluations

Microsoft Warns Host Sandboxes Can Distort AI Coding-Agent Evaluations

AI-generated editorial illustration; not a documentary photograph.

Microsoft has warned that AI coding-agent evaluations can produce correct answers while measuring the wrong capability. In a developer blog post dated September 16, 2026, the company argues that tests of a model's existing knowledge become invalid when the agent can retrieve the answers from its execution environment.

A Passing Result Hid Contamination

The post describes an evaluation using Vally to examine what GPT-5.6 Luna knew about different versions of Dev Proxy. Built-in web tools and direct network access through curl were blocked, but the host machine still contained a Dev Proxy installation and a source checkout with version history.

According to Microsoft, the agent found the installation after an initial command was denied. It used another permitted command to locate the executable and source directory, then searched the repository and inspected the v0.29.2 tag. Its answer was accurate, but demonstrated environmental research rather than knowledge held by the model before the test.

Tool Deny Lists Are Not Enough

The example shows why blocking individual commands does not necessarily establish an information boundary. Coding agents can adapt after a failed tool call and seek equivalent evidence through the filesystem, installed software, local caches, environment details, tool output or attached services.

Microsoft recommends enforcing filesystem restrictions at the workspace boundary so that every command and attached tool follows the same access rules. For tests of internal model knowledge, evaluators should also remove unrelated source checkouts and product installations while minimizing inherited details that reveal useful paths.

Boundaries Depend on the Test

The appropriate sandbox depends on the capability being measured. Repository-level coding tests should allow access to the supplied code, while research evaluations may permit web access. Tests intended to measure prior model knowledge must withhold sources containing the answers under examination.

Trajectories Become Part of Validation

Microsoft says evaluators should inspect complete agent trajectories, including failed calls, successful alternatives and returned observations, instead of relying only on final-answer grading. It also recommends clean workspaces, neutral directory names and regression probes for every newly discovered route to restricted information.

Source: Your AI coding agent evaluation is only as good as its sandbox

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *