Newsroom Wire

CN China10-22 14:15⏱ 12 min read

AI hunted vulnerabilities all year, and finally landed a big one for humans

AI hunted vulnerabilities all year, and

After a year of AI-driven security scanning, an agent found a major real-world vulnerability, marking a milestone for autonomous bug discovery.

Header image credit: Wiz. On the evening of October 21, if you are in the habit of surfing social media, you may have noticed a strange wave of website shutdowns: almost at the same time, websites of critical infrastructure across multiple countries and regions announced temporary closures. Wednesday. The Finnish government shut down all of its externally facing online services; the Dutch National Cyber Security Center took down even its own website, followed by the Port of Rotterdam, the Dutch Football Association, the websites of five major political parties, and multiple hospitals; France's Ministry of the Interior had provincial government websites temporarily taken offline; Germany's federal IT service provider shut down multiple sites; and Belgium's foreign ministry, the Wikimedia Foundation, and Nintendo also suspended some services in turn. The Dutch government announced the preventive takedown of sites including DigiD | Image credit: Rijksoverheid. But none of these websites had actually been hacked — they shut down voluntarily. The cause: two vulnerabilities in PHP. PHP is the world's most-used website back-end language; in W3Techs' statistics, about 70% of websites with an identifiable back-end language run on it. The two vulnerabilities are jointly called PHP2Shell; an attacker does not need to log in and could potentially take remote control of the entire server. And the first to find them was AI. That AI finds vulnerabilities is old news by now. But according to public reporting so far, this is the first time an AI-discovered vulnerability drove the governments of several countries to shut down their websites on the same day. What it truly ended is a rule of cybersecurity that was never written into textbooks yet has always been in effect: many vulnerabilities are safe only because attacking them is too exhausting. PHP's official severity score for both vulnerabilities is 9.2 out of 10; security firm watchTowr simply gave it full marks. Both vulnerabilities sit in PHP's lowest-level memory management, unrelated to how well a website's own code is written. According to PHP's official statement, all PHP that handles web requests is affected; Cloudflare said the affected versions go all the way back to PHP 5.4, more than a decade ago. The PHP Foundation's Volker Dusch compared it to 2014's "Heartbleed," calling it the most serious PHP security issue in more than a decade. What unnerved governments was the chaotic 48 hours that followed: the vulnerabilities had been under embargo, and by industry convention the software vendor prepares the patch first and then discloses together with the discoverers. But on October 20, someone posted word of it on Hacker News and the underground forum BreachForums, and watchTowr confirmed the same day that the vulnerabilities were real. That night, PHP officially announced the patch would move up one day, to be released at 14:00 (UTC) on the 21st. Attack attempts began before the patch came out. Cloudflare's CTO Dane Knecht said on X nearly six hours before the patch release, "We are seeing early exploitation attempts." The advice from the U.S. National Security Agency, the UK's National Cyber Security Centre, and the EU's cybersecurity agency CERT-EU was nearly identical: if you cannot patch in time, take systems offline. Hence the scene at the opening. Three companies jointly disclosed this set of vulnerabilities | Image credit: PHP2Shell. The ghost vulnerability resurrects. The most unusual thing about PHP2Shell is that it is not new — it was not even discovered just yesterday. In its technical article, Calif, the security firm that found it first, traced its origin to 2004. Twenty years ago, security researcher Stefan Esser had already discovered a similar class of PHP problems under memory exhaustion. In 2020, someone submitted a related bug report that was almost entirely ignored; in 2024, a third-party-funded PHP security audit ran into the related problem again, but because it could not prove the bug was genuinely exploitable, it was never fixed in the end. This vulnerability lay inside PHP for over a decade; more than once people brushed against its edge, yet no one ever forged it into a real attack. The 2020 bug report drew almost no attention | Image credit: Calif. The reason was not that nobody thought of it — it was simply too laborious. Independent author Nick Rogers wrote in his analysis that turning this class of vulnerability into a usable exploit takes "weeks of tedious manual debugging," a cost no one was willing to pay in the past. He gave this state a name: security by exhaustion — safety guaranteed by attackers tiring out and giving up. Large amounts of old code at the internet's foundations sit in this strange, twisted state: theoretically vulnerable, but when it comes to actually attacking, everyone finds it too much work, so it just stays there. What changed this was "Patch the Planet," a program OpenAI launched this June: putting up money and models to pay security firms to audit the open-source software the whole world depends on. Calif was one of the participants, and it set its sights on PHP. On August 1, Calif researcher Ryan Austin began the audit with AI. According to Calif's public technical article, AI in this audit was an "audit partner" and also an agent: it combed through the PHP kernel code and traced the program's execution paths, and the key defect of the first vulnerability was found by the agent inside the kernel code. Just days into the audit, the first problem surfaced. On August 11, Calif reported the vulnerability to PHP: the team had the AI summarize the first vulnerability's "pattern" into a reusable skill file, specifically for hunting the same class of defect. The second vulnerability was found precisely with the help of that skill file. After an AI finds one vulnerability, it can package up the method that found it and go looking for the next. Calif recreated the AI audit scene in a comic | Image credit: Calif. Oh, and by the way: according to OpenAI's official blog post, Calif this time did not use specialized AI offensive-defense tools like Daybreak, nor frontier flagship models like Astra, but cheaper models such as GPT-5.6 Sol. At almost the same time, another security firm, Wiz, also stumbled onto the same set of vulnerabilities. On August 19, Wiz researchers, using their own tool Wiz Atlas, Google's Gemini 4 Argon, and OpenAI's GPT-5.6 Sol, independently discovered the first vulnerability. The next day, they verified remote code execution on Drupal; on the third day, they verified it on WordPress as well. Wiz wrote in its blog that frontier models helped the team analyze failure causes and adjust repeatedly, getting the exploit working across multiple applications "within hours." Its conclusion: "One researcher accomplished in one week what used to take a world-class team months." Wiz gave the largest share of credit for this discovery to Gemini 4 Argon, and Google DeepMind's Gemini security lead Raluca Ada Popa also came out to say it demonstrates "why frontier AI will change the landscape of cyber defense." Two companies, three AI models, three weeks, hitting the same set of vulnerabilities from two directions. OpenAI and Google each emphasized their own models' contributions — which by itself shows that using AI to find vulnerabilities has become a head-on competitive arena for leading AI companies. What AI changes seems to be not just "whether it can be found," but rather "whether it is worth doing." When the cost of finding a vulnerability, verifying it, and adapting an exploit to different environments drops from "a top team's months" to "one person's week," or even "a few hours," all those past "too tiring to be worthwhile" vulnerabilities become worthwhile. In Rogers's words, AI has for the first time pushed the marginal cost of cyberattacks "toward zero." This also explains why the two companies hit the same set of vulnerabilities within three weeks. Calif specifically noted that at the initial discovery, "no special tools were used, and no models unavailable to ordinary people." If defenders can find it with public models, attackers can do the same. Placing PHP2Shell back into the past two years reveals a fuse slowly being lit: in November 2024, Google announced that its AI project Big Sleep had found a previously unknown vulnerability in the database software SQLite, calling it the first time AI had discovered an exploitable vulnerability in widely used, real-world software. This April, Anthropic said the Claude Mythos preview had found thousands of zero-day vulnerabilities in testing, including one that had existed in OpenBSD for 27 years; because the model was too capable, it was not released publicly, but provided only to more than 40 organizations maintaining critical software. In July, wp2shell, an AI-discovered WordPress core vulnerability chain, went public and was subsequently exploited at scale by attackers. From "can find" to "governments shut down": two years | Image credit: GeekPark. From "AI can find vulnerabilities," to "AI-found vulnerabilities are too dangerous to publish," to "vulnerabilities found by AI shut government websites down" — AI's change to cybersecurity has for the first time moved from technical news inside the security circle to a reality the whole of society can feel. About the current free-for-all mess, OpenAI also salvaged some face in its blog post: the very same capability that helped find the vulnerabilities "could also help attackers rapidly develop attack tools." That is no longer a hypothesis. On the day PHP2Shell went public, watchTowr researcher Jake Knott said the attack attempts they observed on decoy servers used tools partly written with the help of AI. "So far nobody has succeeded, but we do not expect that to last long." Over the past year, attackers' use of AI has escalated rapidly. In November 2025, Anthropic disclosed that an organization it assessed to have state backing used Claude Code to mount intrusions against about 30 targets, with 80% to 90% of the tactical operations in the attacks completed autonomously by AI. This May, Google's threat intelligence team reported that an attacker used AI to develop a working zero-day exploit and planned a large-scale attack, which Google intercepted in advance — considered the first time an attacker successfully built a zero-day attack with AI. Google threat intelligence principal analyst John Hultquist said AI can not only review code at scale for vulnerabilities, but also "produce working exploits, and that used to be a high bar." By September, the examples in Anthropic's threat intelligence report had become industrial-scale operations: an organization suspected of ties to Russian intelligence used an AI agent to automatically rewrite malware after security software raised alerts, with targets including more than 20 government and defense agencies; a group of Chinese-speaking operators used AI "agent clusters" for reconnaissance and vulnerability development, with one pipeline producing a dozen-plus suspected zero-day vulnerabilities within a month; and a lone hacker-actor used AI to write a WordPress zero-day exploit, breaching at least 14 of 42 targets. Anthropic's report put it this way: AI has shifted the cost back onto the defenders. Launching a complex attack once required a team; now one person plus a few AI agents is enough. The defenders' time window. On the day PHP2Shell went public, OpenAI also offered a judgment: in the coming months, similar discoveries will increase sharply. That statement is already being borne out by data. The day before PHP2Shell went public, October 20, Google released Chrome 156 stable, and this single release fixed 353 security vulnerabilities. A year ago, Chrome 141 and Chrome 142 fixed 21 and 26 respectively. In one year, fixes per release grew more than tenfold | Image credit: GeekPark. The roster of reporters has changed too. Of Chrome 156's six highest-severity "critical" vulnerabilities, 4 were reported by Anthropic researcher Xinyang Ge, one of them explicitly marked "with assistance from Claude"; one more came from OpenAI's Codex Security. AI companies' names are now appearing in batches in the security advisories of the world's most-used browser. Of 6 critical vulnerabilities, 5 were reported by AI companies | Image credit: GeekPark. Why the sharp increase? The first reason is that vulnerability-finding methods have become replicable. The skill file in PHP2Shell is the example: in the past, a top security researcher's experience was hard to replicate; now it can become a file handed to countless agents to run simultaneously. In fact, the "stock" of vulnerabilities still waiting to be mined on the internet is enormous. The internet's foundations are decades of accumulated old code — PHP, browsers, operating systems, all kinds of open-source libraries. How many more vulnerabilities like PHP2Shell — "long since brushed by someone, just too hard to hit" — remain in this code, nobody can count. In the past they were protected by "too exhausting," and that layer of protection is disappearing. This is also why every frontier AI research institution is doubling down. Anthropic has provided Mythos to more than 40 critical-software organizations; OpenAI has committed the equivalent of $1 billion in usage credits to Patch the Planet; Google has Big Sleep; and Wiz this time put Gemini on the table as well. Leading AI companies all treat "using AI to find vulnerabilities" as the main battlefield for demonstrating model capability. But do not forget: the AI in attackers' hands is often the same generation of models the defenders use. OpenAI calls the period between a vulnerability's discovery and attackers beginning to exploit it the "defender's window." PHP2Shell's window was originally more than two months; one premature leak compressed it to a few hours. AI makes finding vulnerabilities unprecedentedly easy, while patching still has to be done server by server. PHP issued official fixes only for the four versions 8.2 through 8.5; per security firm Mallory's count, the day before the patch was released, about 880,000 servers on the internet were still publicly displaying PHP 8.1 or older. For them, that sense of security — "theoretically vulnerable, practically no one will attack" — is gone. Government websites collectively closing because of a single AI-mined vulnerability: this should be the first time, but it looks unlikely to be the last.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…