On 18 June 2026, an AI agent researching public medicine spending was refused by a government statistics portal. It found its own way past the controls and reached data that was never meant to be public. The government learned about it 84 days later.
Nobody told the agent to break in. That is what makes the case worth studying. The next breach an investigation team is called to may have no human hacker behind it at all, only an agent moving through systems faster than any person could. This post covers what happened, what an agent-run breach leaves behind, and how we built Donna’s breach investigation to read that trail.
What Happened at the Medicare Portal
According to the government’s account, the agent was an OpenAI model in internal training or evaluation. It was repeatedly refused by Services Australia’s Medicare Statistics Reporting Service, then found a way around the controls. It reached non-public aggregate statistics and internal file names, and it wrote files to an internal server. No individual patient records appear to have been accessed.1,2
OpenAI found the activity on 11 August, during a review of what it called misaligned model activity. It told the government on 10 September, by email to a public Services Australia mailbox. Services Australia told the Australian Signals Directorate on 15 September, and the Prime Minister announced the incident on 24 September.1,2
84 days before the government knew
- 18 JunAgent gets past the portal’s controls
- 11 AugOpenAI finds the activity
- 10 SepGovernment is told
- 15 SepASD is told
- 24 SepTaskforce announced
What followed was a full investigation. ASD carried out a forensic investigation alongside Services Australia’s own. A taskforce led by the Department of the Prime Minister and Cabinet, with ASD and the AI Safety Institute, began a rapid review of how government handles AI-driven cyber incidents. The portal was taken offline and its data moved to data.gov.au.1,2
Not the First, and Not the Last
In November 2025, Anthropic reported that it had disrupted what it called the first reported AI-orchestrated cyber espionage campaign. It assessed with high confidence that a Chinese state-sponsored group had used its Claude Code tool to target about 30 organisations, with a small number of successful intrusions.3
The pattern is the same in both cases. The agent scans, probes, moves and extracts at machine speed. The trail it leaves is enormous, and reading that trail by hand is no longer realistic.
What an Agent-Run Breach Leaves Behind
Volume. An agent can make thousands of requests in the time a person makes one. Every request is a line in a log that someone has to read, order and explain. Reconstructing what happened means rebuilding the agent’s path, step by step, from the access logs.
Three sources that only make sense together. The logs say what was touched. The mailboxes and chats say who noticed, who was told and when. The file shares say what was written and what was taken. The finding sits where the three meet.
Who was affected. When data is taken, the hardest question is whose it was. After the MediSecure breach in 2024, about 12.9 million people were affected, and the company said it could not identify the individuals because the data set was too complex.4 Answering that question means reading every file and building a list of people, one entry each.
The clock. Under the Notifiable Data Breaches scheme, an organisation must take all reasonable steps to assess a suspected breach within 30 days, and the OAIC says to treat 30 days as a maximum.5 The OAIC received 1,205 notifications in 2025, the most since the scheme began.6
Where the Obvious Approach Breaks
The obvious design is to hand a capable model the logs and the mailbox and ask what happened. It breaks in four places.
The logs do not fit. A breach of any size produces more lines than a model can hold in context, so the model ends up reading a sample and describing the sample. Counting is unreliable: a model asked how many failed sign-ins came before the success can give a confident number that nobody can reproduce. A list of affected people built in one pass cannot be checked, because there is no record of why two records became one person. And the logs themselves are written by the attacker. When the attacker is an agent, a user-agent string or a file name can carry text meant for the next agent that reads it.
So we split the work by what each part does well.
- Programs compute. Every count, session, date and deadline comes from a deterministic program over the whole of the evidence. The same inputs give the same tables.
- The agent reads and proposes. Donna runs the programs, reads their output beside the documents, explains, and proposes decisions with its reasons. It takes every number from the programs.
- People decide. The investigator settles conflicts, checks the list, accepts it and sends anything that leaves the firm.
- 1 · IntakeEach file is fingerprinted with SHA-256 and scanned for malware. Only cleared files go on.
- 2 · Log events and sessionsA program reads each log line into one event, cited to its file and line, then groups events into sessions and flags them.
- 3 · Findings and peopleA program finds personal information on every page, cited to file and page, and resolves it into people, listing conflicts.
- 4 · Donna’s agentReads the sessions, the mail and the documents side by side, and proposes.
- 5 · InvestigatorDecides, checks and signs. The regulator’s clock advises throughout.
- Every finding cites its file and page, or its file and line.
Intake: Custody Starts at the Door
Evidence comes in as log exports, mailboxes, chat exports, file shares and disk images. Every file is scanned for malware when it arrives, and only files the scan clears go on to be processed. A file the scan flags is marked and stopped before anyone opens it. Each file’s SHA-256 fingerprint is recorded from the bytes that were scanned, so the chain of custody starts at intake.
The fingerprints keep working after intake. Each table a breach run writes is pinned with the hash of its stored bytes, and each step records the hashes of the inputs it was built from. When a step is run again over the same inputs, it is skipped and its tables are kept. When a log file is sent to be read, its hash travels with it, and bytes that do not match are refused as changed on the way.
From Log Lines to the Attacker’s Path
The logs step reads every log file in the breach’s scope. A program recognises the format (web access logs, directory sign-in exports, operating-system security events and JSON lines) and turns each line into one event with the same columns: the time in UTC, the actor, the source address, the action, the outcome, the host and the bytes sent out. Each event keeps the file and the line it was read from.
Every candidate file gets a row in the step’s file table with a status in words: read, with its event count and any lines that could not be parsed, or the reason it was not read. A format the reader does not recognise is reported as such. Nothing is skipped silently, so the investigator can see exactly what the timeline does and does not stand on.
The sessions step then groups events by actor: the account, or the source address when a line names no account. A new session starts after a quiet gap. Each session carries its window, sign-ins and failures, the addresses it came from, the hosts it touched and the bytes it sent out, and a set of flags: an account seen from an address that is new in these logs, a run of failed sign-ins ended by a success, a large volume of data out, a log being cleared, and a privilege or group change. Every step is computed over a total order of events, so the same events give the same sessions byte for byte, whatever order the files arrived in.
- Actor. The account, or the address when a line names no account.
- New. New since the logs began, and Donna says when that was.
- Flags. Set by a program. Donna explains them; it does not set them.
- Citations. Every event keeps the file and line it was read from.
“New” is a claim about the logs, not about the world. An address is new relative to the earliest event the logs hold, and the step records that first instant. When Donna calls an address new, it says when the logs begin, so a reader can tell a new address from a short log.
Reading Logs, Mail and Files Side by Side
The sessions are the skeleton of the chronology. Donna answers from the sessions and events tables and cites each event by its file and line. It reads the mail, chats and documents in the same matter through the same search it uses everywhere else, and puts each step of the attacker’s path beside what people were writing at the time. The chronology then shows what happened and who knew.
Two rules keep that reading safe. First, every log field is treated as data written by whoever wrote the log, never as an instruction, which matters most when the author was another agent. Second, the log tables can only be read through the breach’s own log tools, which check each event against the file it came from. They are not available to dashboards, exports or any other surface, and a person who cannot open a source file does not see the events read from it. Both fail closed.
Who Was Affected
The find step reads every page in scope once and records each element of personal information it finds, one row per hit, cited to its file and page. Identifier values are not kept: a row holds a mask and a hash keyed to that breach, and any quote has its identifiers masked, with remaining digits masked as well, so a value the detectors missed is never quoted either.
The resolve step turns records into people. Two records are linked when they share a strong identifier and their names agree, or carry the same name and date of birth. A link joins two people only when nothing they hold disagrees. Different birth dates, or names that do not agree, hold the pair apart and raise a conflict. Conflicts are listed for a person to decide, never merged silently.
Donna’s agent then reads the records the programs could not settle and proposes a decision on each, with its reasons. It can also run its own sweep for elements, and when it reports what it found, it says which only it found and which the detectors found too.
- Masked. Identifier values are not kept in the list, only a mask and a keyed hash.
- Cited. Each element carries the document and page it was found on.
- Held apart. When anything disagrees, the records stay separate and the question is listed.
Before the list is accepted, a list check draws a sample for a person to code, and the result is estimated across the list. Acceptance is fingerprinted over the parts of the list it covered. If any of those parts changes afterwards, the acceptance is marked stale and the list must be accepted again.
The Regulator’s Clock
The clock starts from the moment the organisation became aware. A person sets that instant, with evidence: a file and page they can open. Donna can propose it, with the citation and its reason, but cannot set it.
Every deadline is computed by a program from regime data, never typed by a person or a model. The Notifiable Data Breaches scheme applies to an entity it covers, and other regimes come in on the facts recorded: prudential regulation, a critical infrastructure asset, a ransom payment, a New South Wales public sector agency, or EU and EEA residents on the list. A duty that depends on something not yet known is shown as unknown rather than left out. A deadline in hours is elapsed time; a deadline in days runs to the end of the day in the firm’s time zone.
The clock advises and never acts. Reading it writes nothing and sends nothing. A deadline becomes recorded only when a person records what was sent, when and to whom, with evidence.
Trade-offs
Splitting the work this way costs coverage at the edges. A program reads the log formats it knows, and a format it does not know is reported rather than guessed at. A strict linker leaves more conflicts for a person than a generous one would. We accept both, because a breach list goes to a regulator and to the people on it, and every entry has to survive the question of where it came from.
Every act in a breach is recorded as an event, with whether a person, Donna or a program did it. Events carry ids and counts, never a name or a value from the evidence, so the record of the investigation is itself safe to keep.
Where This Leaves Us
When agents are the attacker, the trail is too large to read by hand. It takes agents to investigate agents, and it takes people to decide what the evidence means. That is the team we built Donna for.
Sources
- ABC News, AI agent accessed Australian government site, PM says, 24 September 2026
- Computer Weekly, Australia sets up taskforce after OpenAI agent breaches statistics portal
- Anthropic, Disrupting the first reported AI-orchestrated cyber espionage campaign, November 2025
- Information Age (ACS), MediSecure confirms 13m Australians’ data stolen in breach, 2024
- OAIC, Part 4: Notifiable Data Breach (NDB) Scheme
- OAIC, Data breach notifications increase to all-time high in 2025