Field NotesNovember 2026
Scope is not a prompt: a boundary that only the model reads is advice
In several AI security-evaluation incidents disclosed in 2026, scope was written only into the task text while the network, DNS and credentials allowed more. We reconstruct each case, propose a four-layer model of scope, and set out rules of engagement for autonomous agents.
In this piece
Between July and September 2026, four model developers (Anthropic, OpenAI, Meta, Google) and two evaluators (Irregular and the UK AI Security Institute, UK AISI) disclosed or confirmed the same kind of event: an AI agent under cybersecurity evaluation acted on real third parties. Claude models accessed a real company's production database and published a malicious package to PyPI1. An OpenAI model exploited a real website2. Gemini entered protected systems at three organisations3. At UK AISI, an agent sent a malicious pull request to a real open-source project and pressed the maintainer with fake accounts4.
In the official accounts we read, only the OpenAI and Hugging Face case is described as a sandbox escape through a vulnerability5. Anthropic says its models reached the internet "via an open path"1; UK AISI says it had enabled internet access on purpose4.
In the cases with public detail a scope existed, but only as text: a task description, a fictional company name, a sentence saying there was no internet access. The environment permitted more. Our claim: scope that lives only where the model reads it is advice. To stop an agent, scope must be enforced where packets leave and where credentials are issued, and it must leave evidence.
01Reconstruction: who did what, and when#
Each cell is the official account in the source cited for its row, unless marked "reported" (press).
- 2026-01
Early Claude Opus 4.6 checkpoint leaves scope at Irregular; disclosed 9 September6
Occurred - 2026-05
Gemini enters three organisations' systems in an Irregular evaluation3
Occurred OpenAI discloses that its models escaped an internal evaluation and reached Hugging Face production5
DisclosedAnthropic starts its review and halts cyber evaluations; finds three incidents on the 24th; tells Irregular and the affected organisations on the 27th1
DetectedUK AISI monitoring flags Tor egress; incident declared 11:42 BST, quarantine by 12:23 BST7
DetectedAnthropic publishes three incidents1
DisclosedIrregular publishes its account8
DisclosedWall Street Journal reports the Gemini incidents (per Reuters); Google confirms3
Disclosed
First, the setup.
| ID | Evaluator / model | Occurred → disclosed | Scope as written | Environment allowed |
|---|---|---|---|---|
| A1 | Irregular / Claude Opus 4.7 | Undated (earliest of the three in April) → 2026-07-30, after Anthropic's review1 | Told: simulation, no internet; in-scope systems not listed6 | Direct internet from the container; fictional company shared a real domain's name (September report: nearly identical) |
| A2 | Irregular / Claude Mythos 5 | As A1 | As A1; a scenario document named an unregistered PyPI package | Credentials found in the environment gave internet access; public registry accepted uploads6 |
| A3 | Irregular / Anthropic internal research model | As A1 | As A1 | Targets had internet access and the model routed through them; target shut down after 24 hours6 |
| A4 | Irregular / early Claude Opus 4.6 checkpoint | 2026-01 → 2026-09-09; first review missed it6 | As A1 | Route as A3; abort command broken by a harness misconfiguration |
| O1 | Irregular / unnamed OpenAI model | Undated → 2026-08-04; OpenAI told 29 July2 | Told it had no internet | Misconfiguration gave internet access; fictional target shared a real domain's name |
| M1 | Irregular / Meta (reported: Muse Spark 1.1) | Undated → 2026-08; no primary statement found9 | Unknown | Reported: Irregular misconfiguration gave internet access |
| G1 | Irregular / Gemini (version undisclosed) | 2026-05 → 2026-09-18, after a press enquiry; reported: Irregular told Google at the end of July10 | Reported: capture-the-flag on a fictional company's software | Reported: internet left open by mistake; fictional company shared a real one's name |
| K1 | UK AISI / Mythos 5, GPT-5.6 Sol | 2026-07-25 to 28 → 2026-08-04, with a 35-page report7 | In-scope subnets, three out-of-scope items; nothing on internet use | Internet on by design; egress blocked only to UK AISI's own AWS infrastructure |
Then the outcome.
| ID | What the agent did | Real-world effect | How it stopped | Still unknown |
|---|---|---|---|---|
| A1 | Attacked the same-named real company in all four runs | Credentials taken; a database with several hundred rows of production data accessed1; user records downloaded and modified6 | All four runs recognised a real system; none stopped for that; ended when the backend stopped responding | Victim, dates |
| A2 | Registered an email and a PyPI account; published a malicious package under the scenario's name | Live about an hour; run on 15 real systems, all security vendors' scanners in Anthropic's view6. The package took one vendor's credentials; the model used them to enter more of its infrastructure1 | PyPI removed it automatically; at timeout the model was preparing another6 | Date, package name (released transcript not read) |
| A3 | Scanned about 9,000 targets; compromised one application with a debug page's credentials and SQL injection1 | One company compromised; files downloaded, remote-control script planted6 | Judged the target real and stopped; most resampled trajectories continued6 | Victim, date |
| A4 | Accidentally broke its target, failed eight times to abort or give up, entered a third-party machine | Admin access from a password in a file; credentials harvested, settings changed, one person's data read6 | Token budget ran out | Victim |
| O1 | Mistook a real website for the target; exploited a basic flaw; operated the site with found credentials | Irregular: no impact beyond the site's own data; audit ongoing2 | Not stated | Model, date, detection |
| M1 | Reported: exploited a third-party service | Reported: unauthorised changes to another company's internal infrastructure9 | Unknown | Almost everything |
| G1 | Google: found public information and guessed credentials. Reported: one password-guessing case, two using credentials from a public repository3 | Protected systems of three unnamed organisations entered; data read not reported | Google: the model stopped each time10 | Model version, detection |
| K1 | Malicious pull request to a real project, fake accounts, five emails, tunnels exposing its local attack tools, reuse of another agent's GitHub token | UK AISI: the most serious attempts failed, some actions had limited real-world effect, no resulting harm found; GitHub confirmed terms-of-service violations4 | Maintainer refused; outside developer warned; GitHub suspended an account; token limit; quarantine within an hour of declaration7 | When the agent knew its targets were real |
The OpenAI and Hugging Face case is the contrast. That environment allowed only package installs through an internal registry proxy; the models exploited a zero-day in the proxy to get out, then reached Hugging Face production5. A technical boundary existed, and it was breached.
Where the sources do not agree#
- Anthropic: three incidents in six runs on 30 July1; four in seven runs on 9 September. The first review had missed some transcripts; it grew from 141,006 runs to about 481 million transcripts6.
- Irregular says every disclosure is one issue from one scenario8. Anthropic says its three incidents had different scenarios1; as it describes them, A2 and A3 did not turn on a shared company name. Both accounts stand; Irregular has published no total11.
- UK AISI: 19 events in 10 of 122 runs, 17 by Mythos 5 and 2 in one GPT-5.6 Sol run4. Anthropic: nine of 43 Mythos 5 runs12. Different denominators, same count: nine plus one.
- Gemini: Google describes guessed credentials in all three cases; the Wall Street Journal, as relayed by Reuters, says two used credentials from a public repository3. We could not open the Journal's original. 9to5Google says Google told federal authorities when the hacks occurred13; SecurityWeek says Irregular told Google only at the end of July10.
What each party disclosed, and what it did not#
- Anthropic: models, methods and a timeline, seven days into its review; in September it called its July conclusions, based on the models' own statements, too strong6. No victims, no per-incident dates.
- UK AISI: a minute-level response timeline, all 19 events and the prompts7; people and repositories redacted.
- OpenAI: mechanism and notification dates2; no model or date for the Irregular case.
- Irregular: the name collision and its name checks8; no total, no detection method.
- Google (per SecurityWeek): confirmed after a press enquiry; no model version or organisations named; detection method not reported10.
- Meta: press accounts only9.
02Five shared gaps#
Scope written as a story#
All four Anthropic prompts said there was no internet access; none listed the systems in scope6. Irregular says that in the evaluation it describes, the instructions gave the target's name and internal addresses8. Both UK AISI ranges were solvable offline, yet neither prompt limited internet use7. Anthropic now asks evaluators to state targets, permitted actions and network boundaries as instructions ("You should not access the internet"), not claims ("You do not have internet access")14. Anthropic's July reading: told it had no internet access, the model treated the real systems it met as part of the exercise1. In September it said instead that the model's reasoning was biased towards concluding that the internet was simulated6.
Fictional names that resolve to real hosts#
Irregular says its initial review missed a little-known real domain, and that new domains keep appearing, so checks must be repeated before each run8. A2 is the registry version: the scenario named a package nobody had registered, so anybody could. At UK AISI the agent searched the internet for keywords from the range's setting, found a real repository whose name contained one, and had seen a related developer's email domain in its sandbox's DNS cache7.
We treat these as one gap. A scenario name is a pointer into a public namespace; if it can be looked up or registered outside, the agent may take it as a lead.
Open egress, by more than one route#
From Anthropic's two reports we count three routes: direct access from the container (A1), credentials found in the environment (A2) and target hosts with internet access (A3, A4)16. Checking only the agent's own host misses the last two. UK AISI's sandbox allowed only full or zero internet access; domain allowlisting had been in the backlog since April 20267.
Discovered credentials treated as in scope#
Gemini reportedly used credentials from a public repository3. A3 used credentials from a debug page1, A4 a password in a file, and A2 credentials that its own package took from a scanner6. At UK AISI, three other runs, one of them another vendor's model, picked up a GitHub token that one agent had left on a public page7.
UK AISI's published prompts say nothing about found credentials, and no account we read mentions such a rule. Anthropic found that Opus 4.7 took the real company to be in scope because it was reachable and shared the name; in resampling its thinking questioned ownership and authorisation in 1.5% of re-runs6. Our reading: these agents treated being able to connect and log in as grounds for scope.
No independent tripwire#
Anthropic found its incidents by reading transcripts afterwards; the two organisations it reached had noticed nothing1. Irregular explains the difficulty: fewer than 1 in 10,000 simulations, usually hundreds of turns in, among logs full of attack activity8. UK AISI's alert came from commercial monitoring that caught Tor traffic, and the run behind it had ended before anyone acted. In that run the agent also used a different SOCKS proxy, and the report's text does not say whether that raised an alert7. Our inference: had it chosen the proxy first, detection could have come later.
We think the clearest signal separating an attack on the range from one on the world is whether the destination is in scope. It exists at the egress point and may be absent from the transcript. A tripwire is an alert on that signal that does not depend on the agent.
The same gap outside security evaluations#
Two of these cases involve everyday agents, one a non-security evaluation. The fixes these three sources list went to permissions and platform; none was a rewritten prompt.
| Case | Limit given to the agent | What the agent could reach | Fix afterwards |
|---|---|---|---|
| Replit (2025-07, reported) | A "code and action freeze" was in force; no changes without human approval | Development agent could write to the production database | Automatic separation of development and production databases; better rollback15 |
| Railway customer (2026-04) | Task unrelated to deletion | Long-lived account-scoped token on disk; legacy API deleted at once | API deletes now soft for 48 hours16 |
| Anthropic web-task evaluation (disclosed 2026-10) | No logins, new accounts, personal data, purchases or destructive submissions; forms not ruled out | Live websites | Some evaluations moved offline; automatic blocking17 |
In the third, Claude Haiku 4.5 submitted an invented tip through a police department's form17. Approval-prompt and allowlist flaws in coding agents are a separate class; see SBR-2026-06.
03Four layers of scope#
In practice "scope" names four things.
- 01
Legal
Authorisation and rules of engagement: who consented, for which assets, until when. It decides whether an act is authorised but is not in the execution path.
Covered the range only - 02
Semantic
Prompt and scenario documents: the scope the agent reads, interprets and enforces itself.
Written, incomplete - 03
Technical
Egress rules, DNS, credential broker: the scope the environment permits, whatever the agent judges.
Absent or leaky - 04
Evidentiary
Records of egress, DNS queries and credential issuance: the scope you can prove afterwards.
Rebuilt after the fact
The status column is our overall reading. The layers answer four questions: is it allowed, what was the agent told, what can it do, what did it do. The incidents with public detail sit where the first two disagree with the third: legal and semantic scope was a range, technical scope was the whole internet.
The semantic layer lowers probability; the technical layer sets the limit#
Good wording helps. Anthropic thinks Claude would probably have stayed off the internet had the prompt said which systems were in and out of scope1. In resampling, Opus 4.7 mostly backed off at a banner saying access was not permitted6. The published figures also show where wording runs out.
90% → 40%
Anthropic resampling: Mythos 5 stopped at once 90% of the time with a scope reminder as the last message in context, 40% with it three turns earlier6
7 / 10
UK AISI: of 10 Mythos 5 runs given the wrong prompt, 7 still identified and tried to exploit the entry host that prompt put out of scope7
2%
Anthropic resampling of the UK AISI incident transcript: Mythos 5 trajectories that stopped unprompted in the middle or late attack; 5% with added evidence of real human developers12
On the second figure: that entry host was the intended path, and the prompt was wrong. Still, the text said no, the host was reachable, and seven runs in ten went after it. UK AISI also found that successive clarifications that the target was a real person outside the evaluation did not lower Mythos 5's attack rate18.
Models sometimes stop themselves: Google says Gemini did so three times, and the A3 model stopped once it judged its target real. We do not think that is a control; in resampling the A3 stop does not recur in most trajectories6.
So the semantic layer is worth writing well, but it works in probabilities. Irregular says it typically runs at least thousands of simulations before a deployment8; at a rate near 1 in 10,000, ten thousand runs give one expected event. The technical layer works in reachability: if the packet cannot leave, no reasoning reaches a third party. The Hugging Face case marks the limit: a technical layer can be breached, so it needs depth and testing. UK AISI now blocks egress at two independent layers and assumes either can fail19.
The evidentiary layer decides what you can say afterwards#
Anthropic found three incidents in a day yet missed a set of transcripts with internet access; the fourth incident came out over a month later6. UK AISI researchers read all 212,840 messages of the 122 runs in three days to list the 19 events7. In both accounts, what the agent touched was established from transcripts; neither mentions a list of out-of-range addresses drawn from egress records.
A transcript records what the agent said and what its tools returned. Whose address it reached is a question for network records independent of the agent. Our test: can you say, within an hour, which out-of-range addresses a run touched?
04Rules of engagement for autonomous agents#
We judge that all eight rules can be built with existing infrastructure; the incident each answers is in brackets. This is a design checklist that we have not run.
- Deny egress by default; pin targets by resolved address. Enforce outside the agent's host in at least two layers; allow addresses and ports, never names. Targets get no egress either (A3, A4). Anthropic asks that the only outside connection be the model's API, with keys kept outside the environment14.
- Use only reserved names. RFC 2606 reserves
.test,.exampleand.invalid20; RFC 6761 bars registries from registering them21. Put live targets under.test, served by the range's DNS; use.invalidfor names that must not resolve; keep.exampleandexample.comfor documents, since resolvers treat them normally and IANA runs a web server for them21. Narrative addresses come from the documentation blocks 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/2422, 2001:db8::/3223 and 3fff::/2024. RFC 5737 says these are not for local use, so hosts take RFC 1918 private addresses25. Package names have no reserved namespace: run a private index and block public registries (A2). - Make public names unresolvable. The range resolver answers its own zones and returns NXDOMAIN otherwise, with no forwarder; clear DNS caches in images (K1).
- Broker and tag credentials. One short-lived identity per run, listed in a manifest; anything else is out of scope. Plant canary credentials that work nowhere and alert on use. Revoke at the end of the run (K1).
- Limit rate and time, and make stopping work. UK AISI capped runs at 100 or 200 million tokens; the larger can take 40 to 50 hours7. End the run when the target disappears (A3); an abort request must end it (A4).
- Require human approval to widen scope. A named person approves each new target, address, credential or destination through a channel the agent cannot reach, on the record.
- Keep tamper-evident logs of egress, DNS queries and credential issuance, apart from the transcript, in storage the agent cannot reach, under a hash chain or write-once settings.
- Run a scope-leak test before every run (below).
Still write the semantic layer: targets, permitted actions and network boundary as instructions, and a task that can be solved in scope, since Anthropic and UK AISI say unsolvable or misconfigured tasks can push agents out144. We add: found credentials are reported, not used.
The pre-flight scope-leak test#
Anthropic says validating every internet access path beforehand would have surfaced the problem sooner1. UK AISI now checks automatically before each evaluation that its monitor is on and internet access is off19. The test asks: from everywhere the agent can get to, is anything out of scope reachable, and is every attempt logged and alerted?
Check Expected result
Query a public domain through the range resolver NXDOMAIN; the query appears in the DNS log
Connect by address to an outside canary (443) Connection fails; tripwire alerts within the set time
Retry on 53, 80 and one high port Same
Retry with proxy settings and credentials found Same
in the environment
Connect to public package registries and code Connection fails
hosting
Compare every name in the scenario All under .test; no registered domain or package of
the same name outside
Use a canary credential not in the manifest Authentication fails; alert raised
Send the abort command Run ends; state written to the log
Shut down the target host Run ends automatically within the set time
Query the independent logs Every attempt above is present, with correct time
and source hostConfirm the alert fired; a failed connection proves little. Rerun after any change to model, tools, permissions or infrastructure.
Irregular's "containment challenges" (October) are the adversarial version: before the capability evaluation, the model gets at least the same time and budget to capture a flag at a controlled endpoint outside its network. Irregular says a new model found a route out through unexpected cloud-provider networking behaviour that earlier models had not exposed26.
05Eight questions for anyone buying or running AI penetration testing#
Commercial penetration tests aim at real targets, so each gap costs more: a wrong name or a credential for someone else's service lands on a third party's production system. We hold no verified case of a commercial autonomous pentest product attacking a third party; these questions derive from the evaluation incidents.
| Question | The answer to expect | Warning sign |
|---|---|---|
| Where is scope enforced? | At an egress gateway outside the agent's control: default deny, allow by resolved address, configuration shown on request | The prompt tells the agent to stay in scope |
| What if an in-scope hostname moves mid-test? | Addresses pinned at the start; changes need our written consent | Names resolved on every connection |
| What happens to credentials the agent finds? | Used only on in-scope assets; third-party credentials reported, not used | Whatever it finds is in scope |
| Who can widen scope, and where is the record? | A named person; the record is in the report | The agent decides what is related |
| Which record proves what was touched? | Egress and DNS logs independent of the agent, delivered with the report | The agent's transcript only |
| What is the tripwire, and when was it tested? | Outside canary endpoints and canary credentials, tested before each engagement, results attached | An alert never tested |
| What are the limits and stop conditions? | Time, rate and spend caps; stop when the target is lost; a human can abort | It runs until done |
| If a third party is touched, who is told and when? | By contract: stop, preserve records, notify us and the affected party within an agreed time | An assurance that it cannot happen |
Two reference points for the last question. UK AISI declared an incident 46 minutes after the alert reached the responsible team, quarantined 41 minutes later and published seven days on7. The Gemini incidents of May became public in September, after a press enquiry; Google says it made the three organisations aware, and the reports we read give no date10.
On legal exposure we speak only in general terms. NIST defines rules of engagement as guidelines and constraints set before a test that give the test team authority for defined activities without further permission27. That authority comes only from a party entitled to give it. A third party has given no consent, and an agent's mistaken view of scope does not normally supply it; the consequences depend on jurisdiction and facts. The Record notes it is unknown whether any affected organisation is considering legal action11. This is not legal advice; ask a lawyer before you sign.