When an AI system crosses a legal or security boundary, who is responsible?
The answer cannot simply be: the AI.

On June 18, 2026, an AI agent developed by OpenAI gained unauthorised access to an Australian Government website operated by Services Australia.1 The agent had been given a legitimate research task involving public pharmaceutical spending. While searching for information, however, it encountered a government portal whose security controls refused its data requests.2 The agent found a workaround and obtained non-public files.3 OpenAI notified Services Australia on September 10, almost three months later, by email to a public mailbox.

According to Prime Minister Anthony Albanese, the portal contained mainly aggregated, non-sensitive Medicare statistics, and there is currently no evidence that individual Medicare records were accessed. A forensic investigation is nevertheless underway.4

The incident raises a question that is becoming more important as AI agents gain greater autonomy:

AI does not need malicious intent to create legal risk

Traditional cybersecurity law often assumes a human actor: someone intentionally accesses a computer system without authorisation, steals information or causes damage.

Autonomous AI agents complicate this model.

An agent can be given a legitimate objective but pursue it through an unintended route. It does not need to “want” to break into a system. It may simply optimise for completing the task it was given. This is where the old thought experiment of the “paperclip maximiser” remains relevant. Coined by philosopher Nick Bostrom, it pictures an AI that wipes out the world not out of malice, but by blindly following a command to make paperclips to its absolute, catastrophic extreme.10 Its point is not that AI will literally try to manufacture paperclips at all costs. It illustrates a broader problem: a highly capable system can pursue a goal in ways its creators did not anticipate if the constraints around that goal are insufficient.

For the law, this creates a practical problem:

Intent may belong to the human; the action may be generated by the machine.

That makes questions of responsibility, supervision and prevention more important than trying to establish whether an AI system itself had malicious intent.

“The AI did it” cannot become a legal defence

Current Australian law already provides several routes for addressing harms caused by AI. Depending on the circumstances, privacy law, negligence, consumer protection, cybersecurity and other rules can apply to organisations developing or deploying AI systems. The Australian Government’s National AI Centre explicitly identifies negligence and privacy obligations among the existing legal areas relevant to AI.5

The bigger challenge is determining where responsibility sits across the AI supply chain.

There may be several actors:

  • the company developing the model;
  • the provider turning the model into an autonomous agent;
  • the organisation deploying the agent;
  • the person assigning the task;
  • and the organisation controlling the system or data being accessed.

A sensible legal framework therefore needs to distinguish their respective roles rather than treating “AI” as a single actor.

Most importantly, responsibility should not disappear simply because the final action was generated autonomously.

Regulate authority, not just intelligence

One possible solution is to shift the regulatory focus. Instead of asking only whether an AI model is “high risk”, the law could ask:

What is the system actually authorised to do?

An AI agent with access to a public search engine presents a very different risk from an agent that can access government databases, send emails, execute payments or modify production systems.

This suggests several practical legal requirements:

Least-privilege access

  • AI agents should receive only the permissions necessary to complete a specific task.
  • If an agent is researching pharmaceutical spending, it should not automatically have access to unrelated government systems or confidential databases.

Human approval for high-risk actions

  • Certain actions should require explicit human confirmation, for example, accessing protected systems, transferring money, deleting data or making decisions with significant legal consequences.
  • The more consequential the action, the stronger the requirement for human oversight should be.

Mandatory audit trails

  • Organisations deploying autonomous agents should be required to maintain records showing what the system was instructed to do, what permissions it had, what actions it took and what information it accessed.
  • Without such records, determining responsibility after an incident becomes significantly harder.

Pre-deployment risk assessment

  • Before an agent is allowed to operate autonomously, organisations should assess foreseeable failure modes, including whether the system could interpret a legitimate objective in a way that leads it beyond its authorised scope.
  • This is particularly important for agents capable of interacting directly with external systems.

Incident reporting

  • Significant AI-related security incidents should trigger defined reporting obligations. Regulators cannot develop effective standards if organisations discover failures but there is no mechanism for systematically sharing what happened.

Australia is already moving in this direction

Australia is not starting from zero. The government already requires Commonwealth agencies to implement AI governance measures, including accountable officials, AI use-case registers, training and impact assessments.6

It is also developing a statutory Digital Duty of Care. The government’s Issues Paper proposed a duty on online services to take reasonable steps to maintain effective systems and processes, and listed the safety of AI and algorithmic tools that recommend or generate content among their goals.7 The exposure draft of the Online Safety Amendment (Digital Duty of Care) Bill 2026 covers services that let users create and share AI-generated material,8 and contains no obligation aimed specifically at those tools.7

In July 2026, the Australian Government also identified duty of care, privacy, workplace safety and consumer protection as key AI policy priorities.9

The Australian government has now announced that a taskforce will investigate the Medicare portal incident further. The taskforce’s remit includes examining whether existing law adequately deals with unauthorised access involving autonomous AI systems.2

The case therefore offers more than a cybersecurity lesson. It is a test of whether existing legal concepts can keep pace with systems that can act independently.

The real question is who gave AI the authority

The Australian incident did not necessarily involve a malicious AI system. It involved a system pursuing a legitimate objective while crossing a boundary it was not supposed to cross.

That distinction matters.

As AI agents become more capable, the law does not necessarily need to invent an entirely new category of “AI responsibility”. It may instead need to make existing responsibilities more explicit: who designed the system, who deployed it, who authorised its actions, what safeguards were required, and who failed to put them in place?

The principle is simple:

The more autonomy an AI system receives, the clearer the legal responsibility around that autonomy must become.

AI may decide how to complete a task. The law should decide who is accountable for giving it the power to act.