UNIO ANALYTICS

Entries  /  Infrastructure

Prosecutors say a Sydney man used ChatGPT to write code that pulled thousands of restricted court documents

New South Wales police say about 9,000 restricted files were downloaded from the state's online court registry in early 2025. In September 2026 a police prosecutor told a Sydney court that the accused used ChatGPT to write scripts that downloaded them in bulk, and later asked it for legal advice. He has pleaded not guilty to four counts of accessing restricted data.

Mechanism He is charged over the access itself. The prosecution wants to use the ChatGPT conversations to show how it was done and what he knew.

What happened

On March 25, 2025, New South Wales police learned that a large number of files had been taken from the state’s Online Registry. The registry is the website the Department of Communities and Justice runs for filings in the Supreme, District and Local Courts. The site went offline.

Police said about 9,000 sensitive court files had been downloaded, including apprehended violence orders and affidavits. The department said at the time that no data had been made public.

On April 23, 2025, detectives searched a home in Sydney’s east, seized two laptops and arrested a man. He was granted bail at his first court appearance. The conditions included handing in his passport and carrying only a basic phone that could make calls and send texts.

By then police had said the files were accessed between late January and late March 2025.

The hearing

In September 2026 the accused pleaded not guilty to four counts of accessing restricted data in the Downing Centre Local Court in Sydney.

A hearing booked for three days stalled when the court was told how much material there was. The defence estimated 10,000 or more pages of proposed exhibits. The case was adjourned for two weeks, and reports at the time said a longer hearing might be set.

The AI claim

ABC News and Information Age both reported the claim, which came from the police prosecutor, Sergeant Andrew Maldigri, speaking in court.

Maldigri said the man used ChatGPT to write scripts in Python that downloaded documents in bulk. He described a scraper as code that lets a user get around the normal way of moving through a website.

Maldigri said the man’s login to the registry was later shut down. After that, the prosecution alleges, he asked ChatGPT what police would be doing and what to say if they approached him. He later declined to answer questions in a police interview.

The prosecution intends to rely on the ChatGPT conversations, together with expert evidence on the forensics. Maldigri said this could be the first use of generative AI evidence of this kind in an Australian court. ABC also described it as believed to be one of the first such cases in Australia.

No report says how police obtained the conversations or which version of ChatGPT was used. Nor is it clear whether the scripts have been shown in court.

What the defence says

The defence barrister, Daniel McMahon, said the queries, if his client made them, read more like a realisation after the event. He pointed to questions such as whether it was even a crime yet and what had been done without authority.

McMahon told the court the offence requires proof that the accused actually knew the access was unauthorised. Recklessness, he said, is not enough. In general terms, he said, his client might not dispute some of the conduct alleged. The court heard that the man was helping a friend with complicated bankruptcy proceedings.

The numbers

The reports disagree on how many documents were taken. Police first said about 9,000. iTnews quoted police at the April 2025 charge as saying 8,769 restricted documents. ABC’s 2025 report gave 8,789 and its 2026 report gave 8,769.

When he was first charged, iTnews reported a separate count of using a carriage service to menace, harass or offend. The 2026 reports describe only four counts of accessing restricted data. We do not know whether the earlier count was withdrawn or never carried over.

A note on naming

News outlets have named the accused. We have not found a NSW Police release or court document that names him, so we have not.

Open

The hearing No outcome or later date has been reported since the September adjournment.

The charge The reports describe the offence as accessing restricted data held in a computer. They do not name the statute or section, and we have not confirmed it, so we give no penalty.

The documents Accounts differ on what was in them. Police and early reports mention apprehended violence orders and affidavits. Information Age also mentions details of minors, attributing that to officials.

Detection No report says who found the breach or how.

Sources Everything about the hearing comes from news reports. We have not seen a NSW Police release, a charge document or a transcript.

Sources

  1. S ABC News (Australia): Prosecutors allege man used AI to 'scrape' court website, then asked ChatGPT for legal help
    retrieved 2026.11.16
  2. S Information Age (Australian Computer Society): Sydney man allegedly used ChatGPT in court data breach
    retrieved 2026.11.16
  3. S ABC News (Australia): Man granted bail over NSW court website hit by major data breach
    retrieved 2026.11.16
  4. S iTnews: Man charged in connection with court document data breach
    retrieved 2026.11.16
  5. S iTnews: Thousands of NSW court documents downloaded in 'major data breach'
    retrieved 2026.11.16
  6. S Cyber Daily: NSW Police investigating significant Department of Communities and Justice data breach
    retrieved 2026.11.16

Search used: Online Registry NSW data breach ChatGPT scraper Maldigri Downing Centre Local Court restricted data not guilty

Updated 2026.11.16. Tier and status definitions are in the methodology.