In a surprising legal saga, a 19-year-old programmer from Nova Scotia is turning heads—and laws—after being arrested for writing a simple script to download public documents. Now, he’s fighting back… and winning.
🛠️ A Script That Triggered a Raid
The incident began when the programmer wrote a short script to automatically download over 7,000 Freedom of Information (FOI) documents from Nova Scotia’s public portal. He believed he was simply accessing public data, but among the files was a handful—about 250—that weren’t properly redacted.reddit.com+9bleepingcomputer.com+9techdirt.com+9
Without a warrant or login, police raided his home with a team of 15 officers, seized electronic devices, and held him for nearly ten hours. His mother described it as a traumatic ordeal:
“They rifled through everything… turned over mattresses… emptied drawers… it was totally devastating.”bbc.co.uk+1bbc.com+1

⚖️ From Arrest to Exoneration
Facing charges under Nova Scotia’s anti-hacking laws—potentially carrying a 10-year prison sentence—the case caught national attention. But legal experts, privacy groups, and even ordinary citizens pushed back, arguing he did nothing more than script a public site.reddit.com+10techdirt.com+10bbc.com+10

After an internal investigation, Halifax Regional Police concluded “there are no grounds to lay charges.”atlantic.ctvnews.ca+4bleepingcomputer.com+4calgary.citynews.ca+4 The official reasoning:
- The portal was publicly accessible.
- He broke no passwords or security.
- He had no criminal intent.bleepingcomputer.com+15atlantic.ctvnews.ca+15reddit.com+15bleepingcomputer.com+4techdirt.com+4reddit.com+4
🧠 The Developer’s Legal Counter-Move
Now, backed by a growing GoFundMe for his defense, the young programmer is suing the state—challenging the overreach of authorities. His argument: enabling a script to download public data is NOT hacking. He’s asserting the legality of automation when the data is openly available.

🇨🇦 What This Means for Programmers Everywhere
- Targeting coders equals targeting innovation – if automation of public data leads to criminal charges, anyone could be at risk.
- This case sets a precedent: in Canada, scripting public data isn’t a crime—if done transparently.
- Legal clarity matters – provinces need clear policies distinguishing intelligent automation from illicit hacking.
🔍 Reflecting on the Bigger Picture
This isn’t just a teenage misfortune—it highlights the tension between digital sovereignty and archaic laws. With data increasingly online and robots doing routine tasks, Canadians need laws that recognize automation as legitimate.

📌 Read More
- Bleeping Computer: “Police Drop Charges Against Canadian Teen…”bbc.com+5bleepingcomputer.com+5calgary.citynews.ca+5
- BBC: “No charges for Canadian who downloaded 7,000 government files”bleepingcomputer.com+5bbc.com+5bbc.co.uk+5
- CTV News (Canadian Press): “Police drop case against teen…”calgary.citynews.ca+3atlantic.ctvnews.ca+3toronto.citynews.ca+3