AI hackers are no longer a forecast. In October 2026, one attacker used a swarm of AI agents to probe more than 1,200 websites and break into over 100 of them, at roughly $50 in AI costs per break‑in. If your app or website is online, the same kind of agent can reach it. This guide explains how AI hacking works and the ten checks that close the doors these agents look for.
What happened in Black October
The press called October 2026 “Black October” because two stories landed at once.
An AI agent swarm. According to Reuters and the security firm NorForge, a Chinese‑speaking operator used Cairn, an open‑source platform built for authorized penetration testing, to point AI agents at more than 1,200 websites from September 25. The agents broke into more than 100, including sites of Deere, SharkNinja and Cummins. The whole job cost the attacker about $5,000 in AI tokens, The Next Web reported. NorForge researcher Snorre Fagerland found it through Cairn control panels the operators had left open on the web.
An old flaw, found fast. Two critical bugs in PHP itself, nicknamed PHP2Shell, were added to the US government’s list of actively exploited vulnerabilities on October 26. They affect PHP 5.4 through 8.5.11. Fixed releases (8.2.35, 8.3.36, 8.4.27 and 8.5.12) shipped on October 21, and PHP 8.1 and older get no fix at all, Hackread reported. A large share of the web, including most WordPress sites, runs on PHP.
Not every break‑in meant stolen data. Deere said it saw no sign that sensitive information was accessed, and SharkNinja said the affected site held product support content only. But the lesson stands: a break‑in now costs less than a dinner.
How AI hacking works
An AI hacking agent does what a human penetration tester does, only without breaks and at the scale of thousands of targets at once.
- Scan. The agent finds what is exposed: login pages, admin panels, APIs, upload forms, old files and software versions.
- Probe. It tries known attacks against each one: injection, weak or default passwords, broken access checks, unsafe file uploads.
- Adapt. When an attempt fails, it reads the error and tries a variation. That is the part that used to need a skilled person.
- Exploit and report. When something works, it gains access and moves on to the next target.
The weak spots themselves are not new. What changed is the cost of finding them. A small business site that was never worth a hacker’s afternoon is now worth a few dollars of tokens.
AI hacking tools are pentest tools
The tools in these attacks were not built for crime. Cairn, and agentic tools like it, exist so security teams can test their own systems. Attackers simply run the same software against targets that never agreed to it.
That has a useful side. Defenders can use the same approach first. An authorized test with AI agents finds the holes an attacker’s agents would find, before they do.
Can AI hack your app?
If your app has a web backend, an API or a public website, assume yes. These are the parts AI agents reach most easily:
- Websites on a CMS. Outdated WordPress plugins, themes and PHP versions are the easiest wins.
- APIs behind mobile apps. Many mobile backends trust the app instead of checking the user, so an agent that calls the API directly can read other users’ data.
- Secrets in app bundles. API keys shipped inside an iOS or Android app can be pulled out in minutes.
- AI features. Chatbots and agents in your product can be talked into leaking data or calling tools they should not reach. This is prompt injection.
- Cloud leftovers. Open storage buckets, old test servers and keys committed to a repository.
How to protect your app from AI hackers: 10 checks
Work through these in order. The first five close the doors agents try first.
- 1. Patch PHP and your CMS now. Move to PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12 or newer. Update WordPress core, every plugin and every theme, and delete the ones you do not use.
- 2. Turn on MFA everywhere. Admin panels, hosting, the domain registrar, app stores, cloud consoles and code hosting.
- 3. Hide what you do not need to show. Block public user lists, version files and default admin URLs. Agents use them to pick targets.
- 4. Lock down uploads. Check file type and size on the server, store uploads outside the web root, and never execute them.
- 5. Check access on every API call. The server must confirm the user may see each record. Never trust an ID sent by the app.
- 6. Remove secrets from apps and repos. Move API keys to the backend, rotate any key that was ever committed, and scan the repository history.
- 7. Rate‑limit and alert. Agents make many requests fast. Limits on login and API endpoints slow them down, and alerts tell you they came.
- 8. Guard your AI features. Treat model output as untrusted, give agents only the tools they need, and never put secrets in a prompt.
- 9. Back up and test the restore. A backup you have never restored is a hope, not a plan.
- 10. Test like an attacker. Run an authorized penetration test, ideally with the same AI agent approach, before someone else runs an unauthorized one.
Where to start this week
If you only have an hour, do checks 1 and 2. They close the doors that the October attacks walked through.
If you would rather have someone check it for you, Improvs offers AI penetration testing for web apps, mobile apps, AI features and cloud setups. It starts with a free security audit and a written report with prioritized fixes in 3 business days. Fixes are a fixed price from $3,000.
FAQ
Can AI hack my website?
Yes. In October 2026 AI agents probed more than 1,200 websites and broke into over 100. They look for common weak spots such as outdated software, weak passwords, unsafe uploads and broken access checks.
What is Black October?
It is the name the press gave to October 2026, when an AI agent campaign against company websites and the PHP2Shell vulnerabilities in PHP were reported in the same weeks.
Are AI hacking tools illegal?
The tools themselves are legal penetration testing software. Using them against systems you do not own or have permission to test is illegal.
How do I know if my site was hacked?
Look for unknown admin accounts, files you did not upload, changed pages and unusual traffic in your logs. If you find any of these, change every password, restore from a clean backup and patch before going back online.
Have something to build?
Improvs has shipped 30+ projects. MVPs start from $15k and ship in 8-12 weeks, and a free discovery call gets you a real estimate for yours.
Get in touch