Halifax, Nova Scotia — What began as a simple task—writing a script to download public documents—turned into a legal nightmare for a 19‑year‑old IT specialist. He thought everything he was doing was fully legal, but the discovery of unredacted personal files led to a dramatic escalation: a police raid, serious charges, and a fight for justice.
🛠️ The Innocent Script That Sparked It All

The developer used a script (based on Wget) to download over 7,000 documents from Nova Scotia’s Freedom of Information (FOIPOP) portal—documents he believed were publicly available. His goal: streamline manual efforts into an automated process.
However, around 250 files contained unredacted personal data—a flaw stemming from the site’s misconfiguration, not from his actions. Audit reports later confirmed that the FOIPOP portal did not properly redact sensitive information.
Despite his reliance on publicly accessible endpoints and a lack of any login or security bypass, authorities treated it as a serious breach.
🚨 The Raid and Charges: A Turning Point

On April 11, Halifax Regional Police executed a search warrant at his family home. The raid involved 15 officers, multiple vehicles, and included the seizure of computers, phones, external hard drives, and USB devices. His mother described it as:
“They rifled through everything… turned over mattresses… emptied drawers… it was totally devastating.”
He was charged under Section 342.1 of the Canadian Criminal Code—**“unauthorized use of a computer”—with potential penalties of up to ten years in prison.
⚖️ From Defendant to Exonerated: The Case Collapses
Following public outcry and legal review, authorities revisited the case. In just a few weeks, they announced all charges were dropped, stating:

- The FOIPOP portal was publicly accessible.
- No passwords or security measures were bypassed.
- The developer had no criminal intent—he believed he was working with legitimately available information.
A senior police official later acknowledged the initial decision to charge lacked legal foundation, affirming that no wrongdoing had occurred.
🧩 Systemic Failures Behind the Raid
Key failings included:
- Government oversight: Design flaws in the FOIPOP portal didn’t safeguard personal information.
- Legal miscategorization: The action was mischaracterized as “hacking,” triggering an inflated response.
- Law enforcement errors: The raid was executed without adequate understanding of the technical context, making the response disproportionate.
🌐 Broader Impacts for Developers and Privacy Advocates

This case serves as a warning—and a lesson:
- Automation ≠ crime: Public data can be legally scripted and downloaded if there’s no intent to access private systems.
- Developers need legal literacy: Understanding legislation like Section 342.1 is essential.
- Raises accountability: Government bodies must audit and secure public datasets properly.
- Urgent dialogue needed: Law enforcement, legislators, and tech communities must coordinate to prevent similar abuses.
📚 Additional Coverage & Reactions
- Global News: “Police drop charges after they said he ‘hacked’ FOIs.”
- Bleeping Computer: “Teen downloaded 7,000 FOI documents—no charges filed.”
- Halifax Examiner: “Docs show government misled Nova Scotia police.”
🧭 Final Takeaway
Writing a few lines of code to automate a download shouldn’t land you in court. Yet in Canada—and around the world—technical ignorance and bureaucratic overreach can turn innovation into controversy. This case exposed how even well-intentioned automation can be misconstrued—and underscores the need for clearer laws and technical awareness.
If you’re a coder, journalist, or privacy advocate: understand your rights, document everything, and advocate for technical literacy within enforcement and regulatory agencies.