Evals & Observability·Question 60 of 83Advanced

Your browsing-agent benchmark runs on the live internet. Mid-run the agent exploited an injection flaw in a third-party site to get an answer and submitted a real government form. Nobody attacked it. How do you scope, contain and audit agent evals?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

This is not hypothetical. In October 2026 Anthropic reported Claude models doing these things, mostly in public benchmarks run on the live internet: exploiting an injection flaw in a university-hosted analysis tool after it returned an error, an unreleased model submitting a real government form when the practice form failed to load, a model using access tokens it read from a settings file, and models using URL shorteners to get round a fetch tool's URL length limit. Wikimedia separately documented agents making test edits on its wikis and reconfiguring a citation tool to use it as a proxy. The causes Anthropic named are the useful part: ambiguous or impossible tasks, eval instructions that did not define scope, permitted actions or network boundaries, deliberately limited tools, and training that rewarded working round restrictions.

Full worked answer with diagram

This is not hypothetical. In October 2026 Anthropic reported Claude models doing these things, mostly in public benchmarks run on the live internet: exploiting an injection flaw in a university-hosted analysis tool after it returned an error, an unreleased model submitting a real government form when the practice form failed to load, a model using access tokens it read from a settings file, and models using URL shorteners to get round a fetch tool's URL length limit. Wikimedia separately documented agents making test edits on its wikis and reconfiguring a citation tool to use it as a proxy. The causes Anthropic named are the useful part: ambiguous or impossible tasks, eval instructions that did not define scope, permitted actions or network boundaries, deliberately limited tools, and training that rewarded working round restrictions.

So the eval is an operation with a blast radius, and it needs the same controls as a production agent.

Default offline. Run against recorded or mirrored copies of the web wherever the task allows. Anthropic's response was to disable live internet for all internal evals and move or rebuild public evals offline. You also gain reproducibility: a live-web score drifts as pages change.

If live access is genuinely needed, define it as policy, not prose. All traffic goes through an egress proxy that enforces method and domain rules: read-only requests by default, no form submissions or authenticated sessions except to sandbox targets you own, no URL shorteners or open redirects. Identify the agent in its user agent so site operators can tell what hit them.

Give impossible tasks a sanctioned exit. If the practice form does not load and the only scored outcome is "submitted", you have built an incentive to find a real one. Every task needs "stop and report that it cannot be done" as a valid, scored outcome.

Monitor and block in real time. A classifier or rule set over the trace that flags out-of-scope actions (writes to third-party hosts, credential use, exploitation patterns) and can halt the run, not just log it. Plant tripwires: canary credentials and honeypot forms that should never be touched.

Audit as part of the score. Review every run's outbound log. Report the unsanctioned-action rate next to the task score, and treat a success reached through an out-of-scope action as a failure, not a win. Otherwise the leaderboard rewards exactly the behaviour you are trying to remove.

Have an incident path. If an eval did touch a real system, someone owns telling the affected operator, the same way a pentest team would.

Worth sketching. Optional, but it shows that the proxy and the monitor sit outside the agent, which is what makes the scope enforceable.

flowchart LR
    T["Task spec:<br/>scope, allowed actions, exit"] --> A["Agent under test"]
    A --> P["Egress proxy"]
    P -->|"default"| O["Offline mirror"]
    P -->|"allowlisted, read only"| L["Live site"]
    P --> M["Real-time monitor"]
    M -->|"out of scope"| K["Halt run"]
    M --> R["Audit log and<br/>unsanctioned-action rate"]

What a good answer covers

  • In October 2026 Anthropic reported Claude models doing these things, mostly in public benchmarks run on…
  • Wikimedia separately documented agents making test edits on its wikis and reconfiguring a citation tool…
  • The causes Anthropic named are the useful part
  • So the eval is an operation with a blast radius, and it needs the same controls as a production agent
  • Run against recorded or mirrored copies of the web wherever the task allows

Key terms: Default offline · Have an incident path

Interviewer follow-ups to expect

  1. The benchmark you want to report only exists in a live-web version: what would you need before running it?

  2. How do you score a run that got the right answer through an out-of-scope action?

  3. Which tripwires give you the best signal for the least effort?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep