I write about AI tools that help me build WordPress sites faster, and about the security flaws that keep me up at night. This week those two threads collided, and it changed how I think about patching my own sites.
On 24 November 2026, Switzerland's Federal Office for Cybersecurity — BACS, the agency that houses the National Cyber Security Centre — announced its first confirmed cyberattacks carried out by autonomous AI agents. Not AI-assisted attacks, where a human uses a chatbot to write a phishing email. Autonomous agents: software that finds a weakness, picks a tool, tries it, and plans the next step on its own. Two days later, BACS director Florian Schütz went on Swiss public radio and gave the numbers. Five confirmed cases. In four of them, the attackers got in. Three of the five targeted operators of critical infrastructure, and two of those three were breached too.
No major outages were reported, and nobody has been named — not the victims, not the attackers. But the agency called it a turning point. The exact weaknesses the agents walked through are sitting on millions of WordPress sites right now, including quite possibly yours.
What actually happened in Switzerland
BACS published its first notice on Tuesday 24 November, saying it had received its first reports of attacks involving AI agents "in recent days" and calling them "a shift in the cyber threat landscape." In every case known to the agency at that point, the agents had successfully compromised the victim's IT systems. The agency said it was sharing technical detection indicators with critical infrastructure operators, and it named some of the offensive agent frameworks now reachable on the internet: ARTEX, CyberStrikeAI, PentAGI, and DeepSeek Harness.
The numbers came two days later. On Thursday 26 November, Schütz told SRF's morning programme HeuteMorgen, "We currently have five confirmed cases of attacks with AI agents." SRF and Reuters both reported that systems were breached in four of the five. Three of the five targeted critical infrastructure operators, and two of those three were breached. The affected operators come from at least two sectors — Switzerland counts electricity, drinking water, and telecommunications suppliers as critical infrastructure, though BACS has not confirmed exactly which sectors were hit.
The honest number is four breaches out of five — an 80 percent success rate. The victims include small and medium-sized companies, and all five cases reached BACS through voluntary disclosure, so the real number is almost certainly higher.
How the agents got in
This is the part that made me rethink my own setup, because there is nothing exotic about it. According to the reporting, the agents got in through weak or default passwords and known flaws in internet-facing systems. Not zero-days. Guessable credentials and vulnerabilities that already had patches available — the same hygiene gaps security people have been begging site owners to fix for a decade. The difference is speed: the agents found and exploited those gaps in a fraction of the time a human attacker would need.
That is what an "agentic offensive framework" is, in plain language: software that independently searches for vulnerabilities, selects attack tools, evaluates the results, and plans the next steps of an intrusion.
And the tooling is spreading fast: BACS reported that the number of internet-accessible offensive AI agents has almost doubled since October 2026, and some are open-source projects anyone can download. When attacks were expensive, attackers picked rich targets. Now they sweep everything — including the small WordPress site nobody thinks is worth attacking.
The 24-hour patch rule
BACS did not just announce the attacks. It changed its advice, and this is the part every WordPress site owner needs to hear. The agency now recommends installing critical updates on internet-facing systems no later than 24 hours after release — a dramatic tightening from the monthly patch cycles many organisations still run, and a direct response to how fast these agents move. When an attacker can go from a published vulnerability to a working exploit in hours, a patch window measured in weeks is not a window at all. It is an open door.
I will be honest: my own patching discipline has not always been 24 hours. Like a lot of developers, I batch updates and do them on the weekend. That made sense when the attacker was a human working office hours. It does not make sense any more. So here is what I am doing differently. Turn on automatic updates for WordPress core minor releases — safe default behaviour for years. Enable auto-updates for plugins from developers you trust, and review the list monthly. And treat a critical security release as a same-day job: when a plugin you use publishes a security fix, update it that day. Check the changelog, take a backup if the update is major, and update. The 24-hour rule is not about being paranoid. It is about matching the speed of the thing now trying your locks.
What this means for your WordPress site
I know how this usually goes. You read a story about critical infrastructure in Switzerland and think, "That is not me. I run a blog and a small shop." I thought the same thing for about ten minutes. Then I thought about what actually sits on a typical WordPress site. Your login page is probed constantly. Your plugins have known flaws with public exploits. Your hosting account, admin email, and backup storage are all reachable from anywhere on earth, and now the thing reaching for them does not sleep. The Swiss victims were not targeted because they were important — they were reachable, with a weak password or an unpatched flaw. Reachable and weak is the whole targeting criteria now.
So here is the checklist I ran on my own sites the night I read the BACS notice, and I suggest you run it tonight. First, kill weak passwords everywhere — every WordPress admin account, every hosting account, every FTP and database credential. If a password could be guessed by a machine trying common combinations, it is already compromised in practice. Use a password manager, generate something long, and turn on two-factor authentication on every account that offers it. This is the single highest-value change in this whole article: weak credentials are literally how these agents got in.
Second, update everything, then keep updating. Core, themes, plugins — all of it, tonight. Delete the plugins you do not use instead of leaving them installed and outdated: an inactive plugin with a known flaw is still code on your server. Third, limit login attempts. A plugin that limits failed logins, plus two-factor authentication, turns your login page from an open invitation into a wall. If your host offers it, restrict wp-admin access by IP address, and change the default admin username if you are still using "admin" — automated agents try it first.
Finally, check what is actually exposed and read your logs once this week: old staging subdomains, forgotten test installs, directory listings, XML-RPC if you do not need it. Close what you do not use, and look for bursts of login attempts. You do not need to become a security analyst — just know what normal looks like on your site so abnormal stands out. None of this is expensive, and most of it is free: the boring, unglamorous work that would have stopped the Swiss attacks, which succeeded through neglect meeting automation, not sophistication.
This is not just Switzerland
If you are wondering whether this is one country's bad week, it is not. Britain's National Cyber Security Centre said this same week that since September 2026 it has seen a marked rise in AI-assisted cyberattacks. And the European Commission itself has confirmed it was breached by attackers using ARTEX — one of the same agent frameworks named in the Swiss advisory — with intrusions affecting human resources, medical reimbursement, and translation systems first detected on 22 October.
The European Commission, the executive body of the European Union, was breached by an AI agent framework that anyone can read about online. If that is the state of play at the top, the rest of us need to stop assuming our small sites are beneath notice. We are the easy targets the agents sweep through on their way to harder ones — and a compromised small site can become the stepping stone to a bigger one.
What I changed on my own sites this week
I will not write this as a lecture from someone who has it all figured out. Here is what I actually did after reading the BACS notice. I enabled auto-updates on two client sites where I had left them off to "review updates manually." That review happened about once a month, so those sites ran known-vulnerable code for weeks at a time.
I forced a password reset for every user with an admin role, and I checked that two-factor authentication was actually on — not "offered," not "planned," but on — for every admin account. One site had an old editor account belonging to someone who stopped working with me months ago. I deleted it. Dormant accounts are unlocked doors. I also removed three plugins I was not using, one of which had a security update pending that I had been ignoring — known flaw, available patch, nobody applied it. And I set a daily morning reminder to check for critical updates before I start client work. Total time: under an hour. Total cost: zero.
Conclusion
Five attacks. Four breaches. A 24-hour patch deadline. An attacker toolkit that nearly doubled in a month.
The age of the patient, skilled, human attacker picking targets by hand is ending. The age of the tireless agent sweeping the internet for weak passwords and unpatched flaws has already begun, and Switzerland just confirmed it. Your WordPress site is in the sweep, whether you feel important enough to attack or not. The agents do not care how important you are. They care whether your door is locked.
So lock it. Update everything tonight. Turn on two-factor authentication. Kill the weak passwords and the dormant accounts. Delete the plugins you do not use. And make the 24-hour rule your new habit — the machines trying your locks are not taking weekends off any more.
Frequently asked questions
What exactly is an AI-agent cyberattack?
An attack carried out by an autonomous AI agent — software that searches for vulnerabilities, chooses attack tools, evaluates results, and plans its next steps without a human driving each move. Switzerland's BACS calls these "agentic offensive frameworks."
How many AI-agent attacks has Switzerland confirmed?
Five confirmed cases, reported in recent days before the 24 November 2026 announcement. Systems were compromised in four of the five; three targeted critical infrastructure operators, and two of those three were breached. No major disruptions were reported, and neither victims nor attackers have been named.
How did the AI agents break in?
Through weak or default passwords and known flaws in internet-facing systems — not exotic zero-day exploits. The agents exploited basic hygiene gaps far faster than a human attacker could, which is why BACS tightened its patching advice to 24 hours.
What is the 24-hour patch rule?
BACS now recommends installing critical security updates on internet-facing systems no later than 24 hours after release. For WordPress owners, that means treating a security release for core, a theme, or a plugin as a same-day job, not a weekend job.
What should I do first on my WordPress site tonight?
Turn on two-factor authentication for every admin account, replace every weak password with a long generated one, update core, themes, and all plugins, delete plugins you do not use, and remove dormant accounts. That covers the exact weaknesses the Swiss attacks exploited, and it takes under an hour.
