More sites are getting broken into. The fix is the slow part.

Breaches keep coming. More of them now start with an unpatched bug. PHP2Shell shows why: AI made bugs cheap to find while fixing them is as slow as ever.

Actori6 min read
services reporting an affected version (Censys)
PHP2Shell    ██████████████████████████████  30M  no fix     ███████████████████████         23MNGINX2Root   █████████                       8.8Mwp2shell     █████████                       8.6M # a version string, not proof a server can be exploited

TL;DR

  • More sites are getting broken into. A growing share of the break-ins start with a bug nobody patched. The average breach costs about $5 million.
  • AI made bugs cheap to find, for the people who own the code and for the people attacking it. PHP2Shell was kept quiet by the book for ten weeks. Somebody was trying it four days before the fix anyway, and the embargo itself broke in its last day.
  • The fast teams had the fix running in two days. About 23 million PHP services have no fix to install at all.
  • Whether AI helps attackers or defenders is argued by people who know more than I do. I think each side is right about a different kind of system.
  • So I'd stop counting on one wall. Once the first line goes, what's left is noticing quickly, keeping the damage small and fixing fast.
  • People can't do that at this speed any more, so the work is going to AI agents that find, patch and deploy. An agent still gets things wrong, whatever its instructions say.
  • Something outside the agent has to decide what it may do. That part is what Actori, where I work, is for. The end of the post says what it does and doesn't do.

November has been one breach after another. On the 9th Nitori, the Japanese furniture chain, said up to 37.62 million customer records may have leaked after someone got into its systems. It was still working out how they got in. On the 24th Rakuten Securities put the count from its own break-in at about 4.41 million records of personal information.

More and more sites are getting broken into. The way in is changing too. Verizon's breach report this May found that about 31% of the breaches it studied began with an unpatched bug being exploited. Stolen credentials led the year before. This time they were 13%.

Confirmed breaches in Verizon's yearly study
  • 2025 report12,195
  • 2026 reportover 22,000

From SecurityWeek's summary of the report. This is the study's own sample, which grew. It isn't a count of the internet.

It isn't cheap either. IBM's yearly study puts the average breach at $4.99 million, a record. Where the attacker used AI it cost about a million more.

Average cost of one breach (IBM, 2026)
  • Global average$4.99M
  • Malicious attack, no AI$5.03M
  • Malicious attack using AI$6.04M
  • United States average$11.5M

602 organizations, breaches from March 2025 to February 2026. Figures as reported by Security Boulevard, not read from the IBM report.

I work on Actori, where we build controls for AI agents. Web servers aren't my area. Most of this post has nothing to do with our product. The last section says where it does.

Finding got cheap for both sides

The good half first. In April Anthropic started giving its unreleased Mythos Preview model to a group of large software companies. A month later, Engadget reported, those partners had found more than ten thousand vulnerabilities with it. Cloudflare alone found 2,000, of which 400 were high or critical.

That's the owners of the code finding bugs before anyone else does. The trouble is that the other side has models too. Mandiant, which investigates break-ins for a living, estimated that the mean time to exploit a vulnerability fell to minus seven days in 2025, which means that on average the attack came before the patch.

Software has always had a defence that nobody designed. Everyone knew the code had bugs. Finding a deep one and turning it into something that worked took rare people a long time, and that cost protected a great many systems nothing else was protecting. That cost is what dropped.

PHP2Shell: done by the book, out early anyway

On October 21 the PHP project shipped an emergency release for two bugs in the interpreter itself, the one part every PHP site on the internet has in common. TechTarget's timeline says both "could potentially enable an attacker to remotely execute code without any authentication." The pair got the name PHP2Shell. Calif found one with GPT-5.6 Sol. Wiz found its first with its Atlas tool and two frontier models.

Everyone did the careful thing. Calif reported its bug privately on August 11, the PHP Foundation built one coordinated fix, and distributors got it in advance so their users could update the moment it went public. That held for ten weeks.

The embargo came apart in the last day. On October 20 Calif published a video of its exploit by mistake, and PHP pulled the release forward a day. Early on the 21st Chainguard, one of those distributors, put out fixed images more than six hours ahead of schedule, which the PHP Foundation called the embargo break. Working exploits were circulating by 02:00 UTC.

And somebody had it before any of that. Amazon says its MadPot honeypots saw an attempt dating back to October 17, four days before the release. A spokesperson called it "largely a one-off probe". The timeline doesn't say how they got it. It may not have been a leak at all. Calif, Wiz and OpenAI had each found the problem on their own with AI tools, so a fourth party doing the same isn't a stretch.

How many sites were broken into through it? Nobody has a total. Five days in, CrowdSec had counted 1,187 addresses sending the exploit and knew of no confirmed compromise. That didn't last. Check Point wrote on November 12 that attackers had used PHP2Shell against unpatched Check Point gateways from October 30, about a week after a fix was available. The first wave hit Israeli organizations and wiped data at some of them.

Cheap to find, slow to fix

Some people moved fast. Censys watched more than four million PHP services switch to a fixed version on each of October 22 and 23. By October 29 over 11 million had moved. Over 30 million were still reporting an affected version. (A version string doesn't prove a server can be exploited.)

The figure I'd look at is inside that 30 million. Censys found "roughly three-quarters" of them on PHP 8.1 or older, "branches for which no official PHP2Shell fixed release is available". About 23 million services have no patch to apply. Their fix is a move to a newer PHP, which is a project.

So I don't think the split is big company against small one. It's whether anybody is still shipping the thing. On the newest PHP branch nearly 83% of services were fixed after nine days. The general trend runs the wrong way, though. In Verizon's data the median time to patch fully went from 32 days to 43.

A model can now do the finding. Everything after that still runs at the speed of people, who have to test the release and work out who owns the server.

PHP isn't the only one this year. Two other named bugs have the same kind of count, while a fourth is being exploited now with no count published.

Services reporting an affected version
  • PHP2Shell (PHP)over 30M
    Late October, after the fix. Around 23M are on branches with no fix.
  • NGINX2Root (NGINX)8.8M
    Reported November 20. No exploitation seen as of November 18.
  • wp2shell (WordPress)about 8.6M
    July 20. Attacks reported since disclosure.
  • ASP.NET anti-CSRF libraryno count
    Exploited in the wild, per Mandiant. On CISA's exploited list since November 24.

Counts by Censys: PHP, NGINX, WordPress. The ASP.NET bug is from The Hacker News. The dates differ, so read these as sizes and not as a ranking.

Attackers or defenders?

People who know this field better than I do disagree. Alex Stamos, now security chief at Cognition, told The Verge's Decoder: "We are entering a dark age. Things are going to get more bleak." His reason, as The Next Web reported it, is price: "The cost per token for attackers is going towards zero, and the cost of defense for defenders is staying quite high."

Greg Brockman of OpenAI argued the other side in August, in a piece called The Defender's Window. "Security is still a cat-and-mouse game, but AI may shift its economics in ways that fundamentally advantage defenders."

Bruce Schneier's answer from April is the one that fits the PHP numbers. For new software, he wrote, "this future favors the defender." About the rest he is less sure: "I'm not as confident that AI systems will be able to patch vulnerabilities as easily as they can find them." Some software, he adds, can't be patched at all.

Read that way, the two camps are talking about different software. Brockman is right about code that has an owner and a deploy pipeline. Stamos is right about the 23 million.

So the question only has an answer one system at a time. Once a fix exists, how long until it's running here? Where that takes days, the models mostly help you. Where it never happens, they help whoever finds you first.

More than one line

So I'd stop planning around not being broken into. Two security leads at Microsoft wrote much the same in October: "Not every vulnerability will be patched in time, so the controls that limit what an attacker can do by defense in depth matter more than ever." For the most critical systems they suggest a fix within 24 hours, without waiting for the maintenance window.

The Check Point attack shows what the other lines are. PHP2Shell only got the attackers in. They needed a second bug to become root and then SSH to reach a VMware host before they ran the wiper, so each of those steps was a place it could have stopped.

LineWhat it buysWhere it stands
Patch fastThe door closesMicrosoft says 24 hours for critical systems. Verizon's median is 43 days.
Wall off what can't be patchedThe bug is there but out of reachAbout 23 million PHP services are in this group.
NoticeLess time insideMandiant's median is 14 days before an intruder is found, up from 11.
Limit what a taken machine may doA foothold stays a footholdAt Check Point the attackers went from one gateway to root, then on to a second host.

Now read the right-hand column again. Twenty-four hours is the advice. Forty-three days is what happens. Ten thousand bugs turned up in a single month. People aren't going to close that gap by working harder.

So the work is going to software. The same Microsoft post tells CISOs to "use harnesses to scan and remediate vulnerabilities in the code base". Google is folding CodeMender, its agent that finds a bug, writes the patch and tests it, into its agent platform. An analyst quoted in that piece put it flatly: "There is absolutely no question that AI can now discover vulnerabilities faster than humans can remediate them." The loop being built is find, patch, test, deploy, then round again. I think the internet, which was built to carry information between people, is turning into a network where software acts.

That loop only works if the agent can change production. And however good its instructions are, an agent still does the wrong thing sometimes. One deleted a company's production database in April, using a token nobody meant to give it. Credentials usually sit beside the agent in an .env file or an .mcp.json, where whoever takes the machine takes them too. An agent can also be turned with no break-in at all, by text it reads.

So the last row of the table applies to the fixer as well, which means something outside the agent has to decide what it may do. Even Google's pitch for CodeMender says it runs "with your approval". Google's security team asked for the general version in July. Their Beyond Zero work wants authorization decisions on "individual actions on specific resources", one action at a time, where trust used to be handed to a whole account or service. When InfoQ wrote it up, they pulled out this comment:

“Zero trust is deterministic. AI is non-deterministic. Non-deterministic access controls are a terrible idea.”

I think that's right. It's the test I'd apply to any product in this area, ours included. Who decides whether an action goes through? If the answer is another model, the problem has only moved. Dario Amodei drew much the same line on November 25, answering rivals who said Anthropic wants people to hand their decisions to AI: a system "doing specific tasks in a more automated way" is one thing, and giving up the say over them is another.

None of these lines sees everything. Bruce Schneier's essay from his DEF CON talk this year is about actions that break no rule, such as AI finding the loopholes in a tax code. A permission check looks at one action at a time, so a hundred permitted ones can still add up to something nobody wanted. Is there a fix? I don't have one beyond limits on amounts and a record of who did what.

What I'd do, and where Actori fits

So this is the order I'd work in. Get fixes out in days. Wall off what can't take one. Watch closely enough to notice an intruder in days. Let agents do the fixing where they can, with something outside them deciding what each one may do. Keep a record.

Actori is that outside party, for AI agents only. The agent reaches your services through it, so their keys aren't in a file on the agent's machine. Each call is checked against fixed rules. Some calls wait for a person, and a merge or a deploy can be one of them. All of them are recorded.

It does nothing for an unpatched PHP server. It won't notice an intruder on your network, and it can't tell whether a patch is right. The agent's own key to Actori still sits on that machine, so whoever takes it can make the calls that agent was allowed to make.

I don't expect models to get reliable enough for this to stop mattering. When a model is wrong, or stolen, the damage should be small enough to survive and clear enough to trace.

Sources

  1. 1ITmedia NEWS: Nitori, up to 37.62 million records possibly leaked
  2. 2Impress Watch: Rakuten Securities, about 4.41 million records
  3. 3SecurityWeek: Verizon DBIR 2026, exploitation overtakes credential theft
  4. 4Security Boulevard: IBM Cost of a Data Breach 2026
  5. 5Engadget: Mythos Preview and Project Glasswing, one month in
  6. 6Google Cloud: M-Trends 2026
  7. 7TechTarget: PHP2Shell timeline
  8. 8The Hacker News: exploit attempt four days before disclosure
  9. 9CrowdSec: PHP2Shell in the wild, first five days
  10. 10Check Point Research: PHP2Shell exploitation on Check Point gateways
  11. 11Censys: vulnerability response and PHP2Shell
  12. 12Cybersecurity News: NGINX2Root, 8.8 million services
  13. 13Censys advisory: wp2shell
  14. 14The Hacker News: ASP.NET anti-CSRF library flaw exploited
  15. 15The Next Web: Stamos on the cybersecurity dark age
  16. 16OpenAI: The Defender's Window
  17. 17Bruce Schneier: Cybersecurity in the Age of Instant Software
  18. 18Microsoft: CISO perspectives on vulnerability risk in the age of AI
  19. 19CSO Online: Google folds CodeMender into its agent platform
  20. 20Google: Going Beyond Zero
  21. 21InfoQ: Google Beyond Zero
  22. 22TechCrunch: Amodei on surrendering human control to AI
  23. 23Bruce Schneier: AI Doesn't Have to Go Rogue to Break the World

A rule between your agent and your accounts.

Free for one person. Your AI sets it up from the chat, and you sign in to each service in your browser.

Set up Actori for me: https://actori.ai/