AI hacking agents can now breach systems in hours, not weeks. Here's what's changed, why it matters, and how to defend your own applications.
What’s actually happening with AI and cyberattacks right now? #
AI coding agents are collapsing the time it takes to find and exploit security vulnerabilities, and that applies to attackers and defenders alike. The FBI has warned about a hacking agent capable of taking an attacker from target selection to full privileged access of a machine in under three hours. Separately, a security researcher used a coding agent to discover a critical vulnerability in the Java programming language in about an hour. Neither case required a novel exploit technique. What changed is speed and scale: agents can now search code and systems far wider and deeper than a human team working manually.
TL;DR #
- AI-enabled attacks are moving dramatically faster , with the FBI citing a hacking agent that can go from target selection to privileged machine access in less than three hours.
- Vulnerability discovery itself has sped up , as shown by a researcher who used a coding agent to find a critical Java vulnerability in roughly an hour.
- Old, long-standing bugs are newly exposed , including a vulnerability in PHP that had existed for years before AI-assisted scanning surfaced it.
- The core defensive idea is to hack your own application first , running the same discovery process attackers would use before they get the chance to.
- Effective self-hacking relies on a two-agent pattern , a “hunter” that casts a wide net for possible flaws and a separate “validator” that tries hard to disprove each finding.
- Open-source tooling already automates this workflow , including a security audit skill released by Cloudflare that has attracted roughly 80,000 GitHub stars.
- Security now has to be a continuous practice, not a one-time check , because AI lets both attackers and defenders iterate much faster than before.
Built like a system. Not vibe-coded.
Remy manages the project — every layer architected, not stitched together at the last second.
Why are AI-enabled attacks different from traditional hacking? #
Traditional vulnerability research is slow because it’s bottlenecked by human attention. A skilled researcher can only read so much source code, trace so many logic paths, and test so many inputs in a day. AI coding agents remove much of that bottleneck. They can scan entire codebases, cross-reference behavior, and generate exploit attempts continuously, without fatigue.
This is why a vulnerability in PHP that had gone unnoticed for years could surface relatively quickly once AI-assisted tools were pointed at the codebase. It’s not that the bug became easier to understand. It’s that AI let researchers search “wide and deep” in a way that wasn’t practical before. The same dynamic that helps a defender find a bug also helps an attacker find one first.
How do attackers actually use AI to find vulnerabilities? #
The workflow described by security researchers and baked into emerging tooling generally follows two stages.
First, a “hunter” agent scans an application and its source code (when available) for anything that even loosely resembles a potential exploit. This stage is intentionally noisy. The hunter is told to flag possibilities broadly, even with low confidence, because real-world vulnerabilities are often subtle and easy to miss if the net isn’t cast wide enough.
Second, for every candidate the hunter flags, a separate “validator” agent takes an adversarial role. Its only job is to try to disprove that the finding is a real exploit. If the validator can’t disprove it, the finding survives to the next stage: actually proving the vulnerability works, typically by attempting to execute it.
This is the exact process the researcher used to find the Java vulnerability in about an hour. The hunter agent surfaced a large volume of findings, the vast majority of which were disproven by the validator. One finding survived scrutiny, got proven through real execution, and turned out to be a legitimate critical vulnerability.
What should defenders be watching for? #
Security researchers frame the hunting process around five core questions that attackers are already asking about any target application:
- Can someone get in who shouldn’t, through login or logout flaws?
- Can one user see another user’s data in any way?
- Are passwords or API keys exposed anywhere, in the app, source code, or database?
- Can a stranger trick the AI inside the app, for example through a prompt injection delivered via a message or a GitHub issue?
- Can someone run up the application’s bill or crash it entirely?
These aren’t an exhaustive checklist, but they cover the categories of flaws that show up repeatedly across real-world incidents: authentication bypass, data isolation failures, credential leakage, prompt injection, and resource abuse or denial of service.
Is “hack yourself first” a realistic defense strategy? #
Remy.
The core idea is straightforward: if attackers are using AI to move quickly, defenders need to use AI to move at least as fast, by running the same hunter-and-validator process against their own application before anyone else does. This isn’t a replacement for other security practices like secure architecture design, deployment hardening, or manual audits. It’s a fast, repeatable layer that catches issues those other practices might miss or take too long to surface.
The practical appeal is that this workflow doesn’t require building anything from scratch. A security audit skill open-sourced by Cloudflare, which has accumulated around 80,000 stars on GitHub, implements this exact hunter-validator pattern and can be installed into a coding agent’s workflow with a simple package install command. Cloudflare has also published its own writeup detailing the strategies behind the skill, including the design choice that the validator agent is not allowed to log its own findings. Its only function is to aggressively try to disprove the hunter’s claims, which prevents the system from “grading its own homework” and rubber-stamping every finding as real.
In practice, running this kind of audit on a sizable codebase spins up many agents in parallel, sometimes a dozen or more hunters working simultaneously, followed by one validator per flagged issue. Most flagged issues get disproven. What survives is a short list of candidates worth proving and fixing for real, whether through targeted tests, integration checks, or having an agent walk through the application the way a real user would.
How often should teams run this kind of audit? #
There’s no universal answer, but the audit is cheap enough to run often: after major pull requests, on a recurring schedule, or before any production deployment. The key shift is treating security auditing as a continuous, automatable process rather than a periodic manual review. Because AI has compressed attacker timelines from weeks to hours in some cases, defender timelines need to compress too. Running a self-hack cycle regularly, rather than once before launch, is what keeps that gap from reopening.
Frequently Asked Questions #
What did the FBI warn about regarding AI hacking agents?
The FBI flagged a hacking agent capable of taking an attacker from choosing a target to achieving full privileged access on a machine in under three hours, a timeline far faster than traditional manual attacks typically allow.
How did AI help find a critical Java vulnerability?
A researcher used a coding agent in a hunter-and-validator pattern: one agent widely scanned for potential flaws, a second agent tried to disprove each one, and the single finding that survived was proven and confirmed as a real critical vulnerability, all within about an hour.
What is the “hunter and validator” approach to security testing?
It’s a two-stage AI workflow where one agent casts a wide net for possible vulnerabilities without worrying about false positives, and a separate, independent agent aggressively tries to disprove each candidate. Only findings that survive that scrutiny get treated as real and worth fixing.
Is the Cloudflare security audit skill free to use?
Yes, it’s open source and installable into coding agent workflows, and it has gained significant adoption, reflected in close to 80,000 stars on GitHub.
Does “hacking yourself first” replace other security practices?
No. It’s a fast, AI-driven layer for finding exploitable bugs before attackers do, meant to complement other practices like secure design, deployment hardening, and manual code review, not replace them.