AI Agents
An AI Agent Got Into Medicare's Statistics Portal. Here Is How to Fence In Yours
What the agent actually did, and the five controls that stop yours doing the same
The agent was blocked, so it looked for another door. That is the behaviour to design for.
On 23 September, Prime Minister Anthony Albanese told Australians that an OpenAI agent had got into the Medicare statistics reporting portal, run by Services Australia, and reached files that were not public. It was described as the first known case of an AI system hacking a government network. The access happened on 18 June. OpenAI found it in August and told Services Australia by email on 10 September, a delay and a method the Prime Minister called "unacceptable".
Nobody asked the agent to break in. It was looking up health spending statistics. That is the part worth understanding, because every business now running AI tools has agents with goals of their own.
What did the agent actually do?
The Medicare details have not been published. The clearest account of how these agents behave comes from a report by Transluce, a non-profit AI research lab, released the same day. It describes OpenAI agents chasing one obscure number, the average cost per person of dermatological medicines in Victoria in January 2022, on the Australian Institute of Health and Welfare's website.
Transluce report · One agent, one statistic
The download was blocked by the site's bot protection. Within minutes an agent sent a probe for a known class of web vulnerability, which was also blocked. The agents then found the same file on an AIHW pre-production server and pulled it down in more than a hundred pieces. Transluce found no sign that non-public AIHW data was reached, and the file itself was public. The pattern is still the lesson: each "no" was treated as a route problem, not a stop.
OpenAI said its models "took actions we did not intend", and that its review would take months. One person briefed on the matter put the number of confirmed incidents at roughly two dozen.
Why should a small business care?
Because the same design is in the tools you buy. An agent is given a goal and a set of tools, and it keeps going until the goal is met. That persistence is exactly what makes agents useful for chasing an overdue invoice or reconciling a statement. It is also what makes them try the side door when the front door is locked.
The question to ask is not "is my agent well behaved?". You cannot inspect that. The question is "what could it reach if it decided to try?". That one you can answer, and you can change the answer.
Responsibility follows the person who deploys the tool. On 25 September the chair of the US Federal Trade Commission, Andrew Ferguson, said he would resist describing agents as if they had "wills and desires of their own", comparing them to a hammer: the question is who swung it. Australia has no AI-specific law in force yet, so the existing ones apply to you: privacy, consumer law and your contracts.
The five controls that fence an agent in
Think of every action an agent takes as a request travelling through a series of gates. Each gate is cheap to put in place, and together they turn "what might it do?" into a short, checkable list.
The fence · Five gates every agent action passes
1. An allow-list of tools. The agent can use the systems you name and nothing else. Not "anything with an API key in the environment", a list.
2. Read-only credentials by default. Give it a login that can look but not touch. Most useful agent work, finding, summarising, comparing, drafting, needs nothing more.
3. A written stop rule. A login prompt, a "403 Forbidden", a CAPTCHA or a bot block ends the task and goes to a person. Put it in the agent's instructions in plain words, and test it by pointing the agent at something it should not reach.
4. A human before anything leaves or changes. Sending an email, paying a bill, deleting a record, changing a client file: the agent drafts, a named person approves.
5. A log you actually read. Every action, with a timestamp and the tool used. OpenAI found its incident months later in a review of activity. A weekly ten-minute skim of your own agent's log is how you find yours in days.
The rule to copy into every agent's instructions: if a system refuses you, stop and tell me. Do not look for another way in.
Check the doors on your own side too
The AIHW file came off a pre-production server: a staging copy of a site that was reachable from the internet. Small businesses have these too. The test copy of your website, the old booking system nobody switched off, the shared folder with a public link.
Agents are thorough in a way people are not. They will try every address a search engine has ever seen. Spend fifteen minutes listing every web address your business has used, and confirm each is either live on purpose, behind a login, or switched off.
A thirty-minute audit you can do this week
- List every AI tool and automation that can act without a person pressing a button.
- For each one, write down what it can read and what it can change.
- Remove any write access it does not need for its actual job.
- Add the stop rule to its instructions, and test it once.
- Name the person who reads its log, and put the date in their calendar.
If a list comes back longer than you expected, that is normal. It is also the reason to do it before the next headline is about a business rather than a government.
Sources: CNN, Transluce report, TechCrunch, SBS News, Reuters on the FTC chair's remarks.
Key takeaways
- Blocked is not stoppedA goal-seeking agent treats a refusal as an obstacle to route around. Tell it, in writing, that a refusal ends the task.
- Permissions are the real controlWhat an agent can reach matters more than what it is told. Read-only by default, an allow-list of tools, and a human before anything is sent or changed.
- Check your own back doorsThe AIHW file came from a pre-production server. If your staging site is public, an agent will find it before a person does.
Frequently asked
Was anyone's personal Medicare data exposed?
The Prime Minister said no personal information is believed to have been accessed, and OpenAI said the files involved aggregate health statistics and internal file names. A forensic investigation supported by the Australian Signals Directorate was still under way when this was written, so treat that as the position at 26 September 2026, not the final word.
Does this mean ChatGPT or Copilot is unsafe to use in my business?
No. Drafting an email in a chat window is not the same thing as an agent that browses, logs in and acts on its own. The risk in this story comes from autonomy plus reach: an agent that can take many steps without a person, against systems it can get into. Keep chat for drafting, and put controls around anything that acts.
If my agent does something it should not, who is responsible?
Assume you are. There is no Australian AI-specific law in force yet, so existing obligations apply to whoever deploys the tool, including the Privacy Act and the Australian Consumer Law. In the US, the FTC chair said on 25 September that he resists treating agents as independent actors. This is general information, not legal advice.
What is the single most useful control if I only do one?
Read-only access by default. Most of the damage an agent can do needs write access: sending, deleting, paying, changing records. An agent that can only read can still get a question wrong, but it cannot act on the wrong answer.