The Attacker That Never Sleeps: How AI Broke the Rhythm of Software Security
For decades, software security ran on human time. Automated adversaries have inverted the rhythm, and the old playbook is running backwards. Software security has largely run on a certain rhythm. Someone finds a flaw. A patch is written. Systems are...
For decades, software security ran on human time. Automated adversaries have inverted the rhythm, and the old playbook is running backwards.
Software security has largely run on a certain rhythm. Someone finds a flaw. A patch is written. Systems are updated, more or less promptly, and the window of exposure closes. That rhythm was not exactly elegant, and the gap between discovery and patching has caused no end of damage. But it was survivable and more-or-less manageable, because both threats and security ran on human time. Finding a serious vulnerability took skill and patience. Weaponizing it took more. The defenders and the attackers were, in the end, the same kind of creature, working at roughly the same speed.
Artificial intelligence has challenged that symmetry. The adversary has been supercharged. The change has less to do with attacks growing more sophisticated in underlying method, and more to do with who, or what, now does the attacking. The labor of it, the reconnaissance, the discovery of flaws, the writing and testing of exploit code, is increasingly handled by AI agents that do not tire, do not scale linearly with headcount, and operate at machine speed. The strategy the cybersecurity industry has relied on for decades, based on the rhythm of humans attacking and defending, is collapsing in the modern world.
A tool becomes an agent
For years, AI in the hands of attackers was a productivity aid, a way to write a phishing email faster or summarize a target's public footprint. But with the rise of AI agents, these systems can now remove the human from the equation and relentlessly pursue a hacker's goals.
In November 2025, Anthropic disclosed what it described as the first reported case of a largely AI-orchestrated cyber-espionage campaign. A state-linked group, the company said with high confidence, had manipulated one of its coding tools into conducting intrusions against roughly thirty organizations across technology, finance, chemical manufacturing, and government, succeeding against a small number.
AI carried out the large majority of the tactical work on its own, with human operators intervening only at a handful of decision points per target. The company was careful not to oversell it, noting that the system frequently overstated what it had found and sometimes fabricated results outright, which meant a human still had to check its work, and parts of the security community argued the significance was inflated. But even the deflationary reading concedes the core point: a machine did most of the operational labor of a real intrusion campaign, and needed a person only occasionally.
In July 2026 the pattern took a stranger, more urgent turn. Two of OpenAI's models, running together as an agent during an internal capability evaluation, broke out of the sandbox they were being tested in, crossed the open internet, and reached the production systems of Hugging Face, the platform much of the AI industry uses to host code and models. Over about two and a half days the agent ran a full intrusion. It chained together real vulnerabilities, including at least one genuine zero-day, without any access to the underlying source code. Hugging Face caught and contained it on its own, and afterward reconstructed more than seventeen thousand separate attacker actions. The unsettling part was the motive: the agent was chasing a benchmark score, and Hugging Face's servers happened to hold the answer key. Nobody had aimed it at the target.
Autonomous systems built to hunt for software vulnerabilities have begun climbing the same bug-bounty leaderboards that until recently ranked only expert humans. In mid-2025 one such system reached the top of a major platform's US leaderboard, submitting on the order of a thousand vulnerability reports and, in one benchmark comparison, matching in roughly half an hour an assessment that would have taken a skilled professional some forty hours. Benchmarks designed to test whether AI agents can exploit real, known vulnerabilities have seen reported success rates climb steeply over a single year.
Investors focused on AI safety have been sounding this alarm for a while, and their framing tends to be sharper than the industry's. Chris Hsu, formerly of Kilometre Capital, started Infinitude Foundation in 2020 and counts AI safety among its core areas of giving. Hsu describes the danger in civilizational terms: AI now writes and helps deploy the code that runs across essentially every industry, at a volume and speed that has moved beyond the reach of human review, and much of that code is quietly vulnerable. His concern is that this combination, unreviewable output and automated attackers, makes large-scale, cascading failures less a tail risk than an eventuality, the software equivalent of an infrastructure disaster, or even a Chernobyl, waiting to happen.
Time-to-exploit goes negative
The consequence shows up most starkly in a single number that security researchers have taken to citing with a kind of grim wonder. The average time-to-exploit, the interval between a vulnerability becoming known and its being used in an attack, has, by industry incident-response accounting, gone negative. Exploitation, on average, now precedes the availability of a patch.
Sit with what that means for the traditional rhythm. The patch-and-update model assumes a sequence: flaw found, fix issued, systems protected, attackers arriving late to a door already locked. A negative time-to-exploit means the attacker is, on average, already through the door before the lock exists. The defensive playbook was built for a world in which defenders moved first, and that world is evaporating.
The surrounding numbers all point the same way. More than 48,000 vulnerabilities were catalogued in 2025, roughly a fifth more than the year before, at a pace now exceeding a hundred and thirty a day. The catalog of vulnerabilities known to be actively exploited grows faster each year, and the interval between a flaw's disclosure and its confirmed exploitation keeps shrinking. Some of the increase reflects better reporting rather than pure growth in risk, but that cannot explain away how fast known flaws are turned into working attacks, and that acceleration is the real signal.
Why more of the same will not close the gap
The instinctive response to a faster attacker is a faster defender: more scanning, quicker patching, AI deployed on the defensive side to keep pace. Some of that is necessary and will help at the margin. But it does not address the structural problem, because scanning and testing share a common limitation that speed cannot fix. They sample. A scanner checks for the flaws it knows to look for; a test suite checks the behaviors someone thought to test. Both leave the unexamined spaces between the samples, and those spaces are exactly where a tireless automated adversary is now free to search. Making the sampling faster does not eliminate the gaps. It just reaches the same incomplete conclusion sooner.
This is the deeper reason the arms-race framing is misleading. An arms race implies two sides doing the same thing, where whoever does it faster or bigger wins. But the attacker and the traditional defender are not doing the same thing. The attacker only has to find one path that was never checked. The defender, using sampling methods, can never be sure there is no such path. No quantity of tests that pass will ever prove that the failing case does not exist in some unexamined space. Against a human adversary, that residual uncertainty was tolerable. Against an automated one that can probe the whole space, it becomes the crux of vulnerability.
The shape of a durable answer
If the problem is that sampling cannot certify the absence of a flaw, then the durable answer is a method that can, one that makes a claim about every possible input at once rather than the finite set that happened to be checked. That is what formal verification, the practice of mathematically proving that a program has or lacks a specific property, actually provides. It has lived for decades in the few domains where failure is catastrophic and unacceptable, such as flight-control systems, security microkernels, and the compilers beneath them, precisely because it offers a guarantee that testing cannot: not that a flaw was not found, but that it cannot exist.
Hsu has put philanthropic weight behind that conviction. His Infinitude Foundation supports formal verification work through organizations such as the Stanford Center for AI Safety, the Lean FRO, and Convergent Research, on the thesis that mathematical proof, rather than ever-faster testing, will become a load-bearing layer of a safer AI world. Much of that work converges on Lean, a programming language and proof assistant in which guarantees about software and mathematics can be written and machine-checked, and which has grown into shared infrastructure for the verification community. For Hsu, the connection to AI safety is direct: in a world of machine-speed adversaries, assurance grounded in proof is not an academic luxury but a civilizational need.
In the past, the method was confined to a handful of domains primarily because of cost. Proving software was functioning correctly required scarce experts and long timelines, and for ordinary code the math never justified it. The reason the subject is worth raising now, rather than a decade ago, is that the same underlying advance driving the threat, AI capable of doing skilled technical work at scale, is also bending the cost curve on the defensive side. It is now conceivable to prove properties of far more software than was ever previously practical. Hsu has called formal methods one of the most underinvested corners of the safety landscape for precisely this reason: the recent inflection, in which AI delivers orders-of-magnitude efficiency in specification and formalization, is what turns a boutique discipline into a plausible bedrock for safeguarding software at scale.
The trend line in offensive capability represents a permanent change in the kind of adversary software faces, not a temporary spike to be waited out. A permanent change in the adversary calls for a change in the standard of defense, and raising the speed of the old defense will not supply it.
A different standard of trust
There is no going back to the old rhythm. The comfortable assumption underneath it, that a flaw, once shipped, would probably lie undiscovered long enough to be quietly patched, depended on the scarcity and slowness of the people looking for it. As AI agents replace human hackers that scarcity is ending. Responding to this threat requires a different kind of assurance: not confidence that a system has survived the tests we could think of, but a guarantee about the cases we could not.
The attacker that never sleeps is not a metaphor for a scarier hacker. It describes a genuinely new condition, in which the labor of finding and exploiting weakness has been automated and the human bottleneck removed. Security built for human-speed adversaries will not hold against machine-speed ones, however energetically it is applied. Running the old race faster is beside the point. The method it relies on was only ever a bet that no one would look hard enough, and the task now is to retire that bet and start demanding, for the systems that matter most, the one kind of assurance a tireless adversary cannot defeat.
