PHP code in a programmer's editor. In October, researchers using AI found serious flaws in PHP, the language behind a large share of the world's websites, and attackers moved to exploit them within hours. • Credit: Photo: Yuri Samoilov, CC BY 2.0, via Wikimedia Commons. The photographer asks for a link to yuri.samoilov.online, which is already in the file.
Analysis · 7 min read · December 3, 2026
PHP code in a programmer's editor. In October, researchers using AI found serious flaws in PHP, the language behind a large share of the world's websites, and attackers moved to exploit them within hours.
Photo: Yuri Samoilov, CC BY 2.0, via Wikimedia Commons.
On Tuesday, Prime Minister Mark Carney confirmed that unauthorized activity on federal networks, apparently involving AI tools, had led to "some data compromise." He then added a warning that reached well beyond Ottawa: the threat "is only going to increase."
Canada is not alone. The cybersecurity industry has a name for this autumn's wave of attacks: "Black October." A record crypto heist, a flaw in software that runs much of the web, and incident-response firms turning away victims have combined into the clearest sign yet that artificial intelligence is changing the balance between attackers and defenders.
The question is not whether something has changed. It is what, exactly, AI changed, and what that means for governments and companies trying to keep up.
Three shocks in one month
The Binance heist. On October 29, attackers drained roughly US$6 billion from Binance, the world's largest cryptocurrency exchange, according to the Atlantic Council. The FBI attributed the theft to TraderTraitor, a North Korean state hacking operation. Pyongyang has denied involvement.
According to Binance's own account, as reported by Futurism, the operation ran for months. It began with social engineering, including fake job interviews, and with tampered developer tools installed on an employee's computer. From there the attackers moved across the machines of other engineers who managed the exchange's wallets.
A flaw in PHP. On October 21, the cloud security firm Wiz disclosed a set of serious vulnerabilities in PHP, a programming language that runs a large share of the world's websites. The Atlantic Council reports that Wiz found them with the help of frontier AI models. Cloudflare's chief executive, Matthew Prince, said exploitation attempts climbed from thousands before disclosure to millions within hours, according to an industry report. Reuters reported that the Netherlands, France, Denmark and Finland took some government websites offline as a precaution.
Overwhelmed responders. In a Reuters survey of 16 incident-response firms, tech companies and insurers, as relayed by the Ukrainian tech outlet dev.ua, several reported two to five times their usual caseload in October. Guy Segal, chief executive of the Israeli firm Sygnia, said that in a single day his company "turned down as many affected companies as we did in the entire period from January to June."
Canada's piece of the story
Ottawa's disclosure fits the same pattern. Treasury Board's Office of the Chief Information Officer said on November 30 that it had detected apparent AI-enabled activity on government networks over several weeks. Foreign Affairs Minister Anita Anand confirmed a breach of the department's online export-permit system. Defence Minister David McGuinty said "a few" departments were affected, including National Defence.
The government has not said who was behind the attacks or what data was taken. The Canadian Centre for Cyber Security offered the most useful summary of what is new: many of the techniques are well known, but AI helps attackers find and use them more quickly.
Related reading · The Canadian case in detail, from the export records taken to the consequences for Ottawa.
Black October Comes to Ottawa: The AI-Assisted Breach of Canada's Export Control System
Attackers spent weeks inside federal networks and walked away with at least 125,000 files from the system that tracks Canada's military and strategic exports. The breach is a warning about how artificial intelligence is changing cyberwarfare, and about what a sovereign country has to protect in a digital age.
What AI actually changed
Strip away the alarm and the evidence points to three shifts:
Discovery is cheaper. Finding a serious flaw in widely used software once took skilled researchers weeks or months. AI models can now help do it far faster, for defenders and attackers alike. The PHP flaws were found by a security firm, but the same capability is available to criminals.
Exploitation is faster. The gap between a flaw becoming public and attackers using it at scale has shrunk from days to hours. India's national cyber agency, CERT-In, warned in mid-October that AI agents were cutting attack timelines in exactly this way.
Scale is easier. Automated tools let a small group probe thousands of targets at once. That helps explain why responders saw a flood of cases, not just a few large ones.
The case for calm
Not everyone accepts the "Black October" framing, and the sceptics make important points.
The Atlantic Council notes there is "no public evidence" that AI tools were used to break into Binance. The core of that attack, tricking employees and stealing trusted access, is an old method. North Korean hackers used similar methods in the US$1.5 billion theft from the Bybit exchange in 2025, long before this autumn. Major crypto thefts date back more than a decade.
Binance founder Changpeng Zhao, speaking in Bangkok on November 28, did say the attackers used AI to analyze parts of Binance's source code, cutting months of work to a day. But he also admitted the hack "could have been prevented," blaming complacency after years without a major incident.
The industry data are mixed, too. Rapid7 reported a 41 per cent rise in incidents but said most were low-level, with serious breaches holding steady. Sophos and Huntress reported no change in breach numbers. And industry coverage of October has stressed that there is no evidence of a single coordinated campaign.
In other words, much of what failed was basic security: stolen credentials, unpatched systems, staff who clicked the wrong link. AI made those weaknesses easier to find and exploit. It did not create them.
Why it still matters
The sceptics are right that AI is not magic. But speed and scale are not small things in security. When the time between a flaw going public and mass exploitation shrinks to hours, the old routine of patching within weeks no longer works. When response firms run out of people, victims wait longer, and attackers gain leverage.
That has real economic costs. Insurers are repricing cyber risk. Banks are raising security budgets. Governments that run ageing systems, as many do, face a choice between expensive modernization now and costlier breaches later.
There is also a hopeful side. The same tools that help attackers find flaws are helping defenders find them first. The PHP vulnerabilities were reported privately by researchers, not discovered in the wild. The race is not lost. It has simply sped up.
What governments are doing
Canada's own response predates the breach. A federal cybersecurity directive took effect on October 1, requiring departments to patch faster, use multi-factor authentication and replace or isolate unsupported technology. Departments faced a November 30 deadline to list their critical systems. The government has not said whether the affected systems met those standards.
Elsewhere, responses so far have been mostly advisories and emergency patching. Bigger policy questions, such as who is liable when an AI-assisted attack succeeds and whether AI developers must screen for misuse, remain largely unanswered.
What to Watch
Ottawa's disclosure. Watch for what the Communications Security Establishment says publicly about the scope of the breach and who was behind it.
The Binance money trail, and whether investigators trace and freeze the stolen funds.
Insurance renewals in January, an early signal of how the market prices AI-era cyber risk.
Rules for AI developers on preventing misuse of hacking-capable models, in Canada, the United States and Europe.
Sources
Canada targeted in cyberattack, PM Carney says some data compromised, The Canadian Press via BNN Bloomberg, December 1, 2026
A $6 billion hack in a season of AI anxiety, Atlantic Council, November 3, 2026
It turns out Binance's $6 billion hack happened because its employees were vibe coding, Futurism, November 5, 2026
CZ says Binance's $6 billion hack exposed security complacency, TokenPost, December 1, 2026
"Black October" in cybersecurity: companies forced to turn away victims, dev.ua (relaying Reuters), November 30, 2026
"Black October" 2026: Is the internet under attack as AI hacking sparks global fears?, exchange4media, October 23, 2026
Canadian government cyberattack: AI tools suspected in federal network breach, Beinsure, December 1, 2026