For most of the last year the agent-security conversation has been pointed inward. Can we control our own agents, keep them in their lane, stop one going rogue inside our systems. Then, over the first four days of July, someone pointed the same technology the other way. Suspected Chinese-language operators pointed a team of open-source AI agents at Taiwan's government, its nuclear safety regulator, and seven energy companies, and let it run. The framework mapped the targets, picked its own attacks, cracked 85 accounts, and walked out with more than 2,500 personnel records, with almost no human touching the keyboard between waves. It is among the first well-documented cases of a near-autonomous, end-to-end intrusion at national scale, and the reason it belongs on your desk rather than a threat analyst's is the toolchain. The agents were built on frameworks you can download this afternoon.
Open-source AI agents breached a government in four days. Your defenses assume a human attacker.
Noah Davis, Sophie Adams, and Zoe Harris · Aug 13, 2026 · 15 min read

TL;DR
- Over four days in early July, a framework built on the open-source Hermes and OpenClaw agents ran 12 attack waves against Taiwan's government, its nuclear safety agency and seven energy firms, cracking 85 accounts and extracting 2,564 records, per Israeli security firm Dream.
- It was near-autonomous: up to 8 sub-agents mapped 21 connected systems, scored their own attack chains, solved every CAPTCHA at 100% accuracy, and learned new techniques from public CVE databases when a technique was blocked.
- The tell for a buyer is the toolchain. The attacker used the same freely downloadable agent frameworks enterprises are adopting, so agent-speed offense is now the baseline threat model, not a lab curiosity.
- Controls tuned for slow human attackers fail silently here: a CAPTCHA that costs a human a second costs an agent nothing, and a block that would end a human's afternoon just triggers the agent to read a database and retry.
- Handled well, the same governance that keeps your own agents in their lane also blunts this attack; handled badly, your defenses are now being probed at machine speed by an adversary that never tires and 84 of 85 stolen credentials moved laterally.
What actually happened
The account comes from Dream, an Israeli cybersecurity firm, which published its analysis on August 12 after recovering the attacker's own working files: a 160 megabyte archive of 1,395 files left exposed. The Financial Times, as reported by The Register, confirmed Taiwan as the target. Dream stops short of naming a government or a group, but says the operational documentation points to a Chinese-language operator.
Between July 1 and July 4 the framework ran 12 distinct attack waves. It was built on two freely available open-source agent platforms, Hermes and OpenClaw, and deployed up to eight sub-agents at a time, each assigned its own targets and techniques. Starting from a single government portal, the agents pulled embedded URLs, API endpoints, OAuth client IDs and configuration objects, and from that one foothold identified 21 connected government systems and every authentication flow they supported. Then they went to work: credential spraying with predictable password patterns, forged tokens where a JWT signature check could be skipped, hidden API endpoints that handed back authenticated sessions to any request. They cracked 85 accounts, and 84 of those 85 moved laterally into further systems. Along the way they lifted seven single-sign-on client secrets and six internal database credentials, and pulled 2,564 personnel records from three separate weak points. The CAPTCHAs that were supposed to slow a bot down were solved with off-the-shelf OCR at 100 percent accuracy.
The part that should change how you read this is the autonomy. When a technique failed, the framework did not stop and wait for a human. It ran what its own logs called learning cycles: it searched public vulnerability databases and code repositories for a new technique, scored its options, and retried in the same session. It caught its own false positives and re-tested findings before trusting them. A human operator picked the targets and gave strategic approval. The machine did nearly everything else.

Show the data behind this diagramHide the data behind this diagram
- A human operator selects targets and gives strategic approval
- Agents map a single government portal for its embedded URLs, endpoints and auth config
- That foothold reveals 21 connected government systems and 36-plus API endpoints
- The framework scores candidate attack chains and picks the highest-confidence one
- It tries a technique: credential spraying, token forging, or file upload
- If blocked, it reads public CVE databases, learns a new technique, and re-scores
- If it works, it cracks accounts and steals SSO client secrets
- 85 accounts cracked, 84 of them used for lateral movement
- 2,564 personnel records exfiltrated from three separate weak points
Two state-scale attacks in a year, both mostly run by software
It would be easy to file this beside the usual agent headlines, the new workbench that lets anyone build agents or the latest funding round, and scroll on. That would be a mistake. Cast back to last November, when Anthropic reported disrupting a state-linked campaign in which an AI agent ran an estimated 80 to 90 percent of the operational work across roughly thirty targets. Line the two up and the shape is hard to unsee: two documented, state-scale intrusions inside a year, each carried out mostly by software rather than a person. The forecasts have caught up with the present. At Black Hat this month an OpenAI researcher said it on the record: AI orchestrated, fully automated offensive attacks are real now.
What should hold your attention is how ordinary the techniques were. No exotic cryptographic break, no zero-day only a state could have found. The agents forged a token because an endpoint let them skip a signature check, sprayed passwords that followed a guessable pattern, and moved from one system to the next on shared SSO secrets. Each of those is a weakness a patient human might have turned up on its own over several weeks. The agents turned up all of them at once, inside four days, and never lost interest.
The tell is the toolchain, and it is the same one you are adopting
What turns this from a geopolitics story into a governance one is a single fact about the tooling. The attack framework was built on Hermes and OpenClaw, two open-source agent platforms that are freely downloadable and designed to let a model act autonomously on real tasks. That is not exotic nation-state kit. It is the same category of tooling your team is evaluating right now to read tickets, reconcile invoices, and answer customers.
What made the attack work is exactly what makes agents useful to you: they take a goal, plan a path, use tools, notice when something fails, and try another way without being told. Point that capability at your backlog and it clears work while you sleep. Point it at your login page and it probes every weakness you have, at the same speed, for as long as it takes. The capability is neutral. The only variable is which side of your perimeter it is running on, and the barrier to standing up the offensive version just dropped to a download.
The four-day campaign in four numbers
- government accounts crackedDream Security (2026)
- 85
- personnel records exfiltratedDream Security (2026)
- 2,564
- connected government systems mapped from one portalDream Security (2026)
- 21
- CAPTCHA solve rate using off-the-shelf OCRDream Security (2026)
- 100%
What nobody worked out: your threat model just changed
Every outlet restated Dream's findings and the Black Hat quote. Almost none of them worked out what it changes for an organization that is deploying agents, which is this: the assumptions baked into your defenses were written for a human attacker, and a human attacker is slow, tires, and gives up. Those three properties are load-bearing, and an autonomous agent has none of them.
A CAPTCHA works because it costs a person a moment of friction and a script cannot read it. The agents read every one. Rate limits and lockouts work because a human trying passwords is a trickle you can throttle. The agents came in parallel across eight sub-agents. Blocking a technique works because it makes an attacker go away to think. The agents went away, read a vulnerability database, and came back with a new technique in the same session. A morning security review works because a human intrusion unfolds slowly enough to catch on the next shift. Twelve waves ran in four days. Every one of those controls is still worth having. What changed is that not one of them is sufficient on its own anymore, because each was quietly sized for an adversary who is no longer the one on the other end.
The governance gap this exposes already has numbers on it. A Gravitee survey of more than 900 executives and practitioners put executive confidence at 82 percent, against only 14.4 percent of organizations that send agents to production with full security sign-off. Until now that shortfall read as a story about your own agents running unwatched. It is now also the opening an outside attacker probes.

Show the data behind this infographicHide the data behind this infographic
| Human-speed assumption | What actually holds at machine speed |
|---|---|
| CAPTCHA stops a bot | Rate limits and anomaly detection on actions per identity per minute |
| Block a technique and the attacker stops | Least privilege and segmentation, so the path to admin is not reachable |
| One cracked credential stays contained | Per-identity, short-lived credentials scoped to a single system |
| The next shift will review the alerts | Monitoring that fires in-band and triggers revocation without waiting for a person |
What it does to your output, both ways
This one cuts both ways, and reading it as all threat or all opportunity would miss half of it.
Done right, this news costs you almost nothing and may even help. The controls that contain an external autonomous attacker are the same ones that keep your own agents in their lane: distinct identity per agent, credentials scoped narrow and expired fast, least privilege so nothing can reach further than its job needs, and monitoring that acts rather than reports. A team that has already put those in place to ship agents safely has, without extra work, hardened itself against the attack running the same playbook from outside. The upside is real: you keep deploying agents for the ten-times-output reasons you started, and the defensive posture you built for governance doubles as your answer to machine-speed offense.
Done wrong, this is the moment your exposure changed and your defenses did not. If your security still assumes attackers are slow enough to catch on the next shift, you are now defending human-speed walls against an adversary that reads every CAPTCHA, sprays credentials in parallel, and learns a new exploit mid-session. CrowdStrike's 2026 Threat Hunting Report, as reported by The Register, already tracks AI-agent-triggered activity at about 2.5 times the rate of human-triggered threats, and found 88 percent of exploitations using public proof-of-concept code happened within 48 hours of release. The gap between how covered you feel and how covered you are does not announce itself. It gets found, at machine speed, by something that never files a ticket.
What actually holds at machine speed
The good news buried in a scary story is that the fixes are boring, and boring is buildable. Ordinary gaps close with ordinary controls; they just have to be sized for the new attacker rather than the old one.
Start with identity and credentials, because that is what the lateral movement ran on. Scope every secret to one system, issue it per identity, and expire it fast, so a single cracked credential is an incident rather than a skeleton key. That one change turns the 84-of-85 lateral cascade into a dead end. Then least privilege, so the reachable path is short: the agents minted their way toward admin because admin was reachable at all. Then detection that gates and acts, not detection that reports, because the human is too slow to be the first responder against twelve waves in four days. Their job is to be the escalation the automated revocation calls, after it has already pulled the credentials. And rate limiting and anomaly detection on top, because machine-speed access is itself the signal a human-speed control never had to watch for.
This is the part we care about at agentclaw, because it is the same discipline whether the agent is yours or someone else's. When we build an agent, the scoped identity, the least-privilege access and the logging that gates a launch are part of the build, not a security review bolted on after it is in production. An agent that cannot show you its own guardrails is not finished, and a perimeter that assumes a tired attacker is not defended. The controls answer both problems with the same work, which is exactly why doing it once is worth it.
The 2,564 records came from three weak points, not one
The exfiltration was not a single breach. The agents pulled records from a primary target, an unauthenticated API, and a separate ministry endpoint.
Primary target system
1,409 records
Unauthenticated API
916 records
Ministry of Justice endpoint
239 records
Is this you? An honest read on who needs to act now
Not every team should treat this as a five-alarm morning. If your systems are small, internal, and behind a corporate identity provider with sensible defaults, the direct risk from this specific class of attack is lower than the headline suggests, and the right move is to check the four controls above rather than to panic.
The teams that should read this closely are the ones exposing anything to the open internet: a login page, a public API, a customer portal, an SSO surface. That is where a parallel agent sweep pays off, and it is where the assumptions this attack broke are load-bearing. If you are in that group and you cannot answer, today, where your credentials live, how far one of them reaches, and what watches your login attempts in real time, that is the gap. It is not a new gap. It is the same gap you always had, now being probed by something a great deal faster than what you built the walls for.
Why the old threat model misses this attacker
| A human intruder | An autonomous agent attacker | |
|---|---|---|
| Speed | One technique at a time, over days or weeks | Eight sub-agents, 12 waves in four days |
| When blocked | Goes away to think, often gives up | Reads a CVE database and retries in-session |
| CAPTCHA and friction | Slowed down as intended | Solved at 100% with off-the-shelf OCR |
| Stamina | Tires, sleeps, moves on | Never stops, never files a ticket |
| Cost to run | Skilled operator time | A free download and some compute |
Speed
- A human intruder
- One technique at a time, over days or weeks
- An autonomous agent attacker
- Eight sub-agents, 12 waves in four days
When blocked
- A human intruder
- Goes away to think, often gives up
- An autonomous agent attacker
- Reads a CVE database and retries in-session
CAPTCHA and friction
- A human intruder
- Slowed down as intended
- An autonomous agent attacker
- Solved at 100% with off-the-shelf OCR
Stamina
- A human intruder
- Tires, sleeps, moves on
- An autonomous agent attacker
- Never stops, never files a ticket
Cost to run
- A human intruder
- Skilled operator time
- An autonomous agent attacker
- A free download and some compute
The left column is what most perimeter defense was sized for. The right column is what ran against Taiwan.
The questions this raises
Does this mean we should stop deploying AI agents?+
No. The agents you deploy to do work are not the risk this story is about; the risk is an external attacker using the same class of tool against your perimeter. The teams best protected against that attack are the ones that already put governance controls around their own agents, because it is the same set of controls. Stopping your own deployment would remove the upside and do nothing about the threat.
What is the single most important control against a machine-speed attacker?+
Per-identity, short-lived credentials with least privilege. In this campaign, 84 of 85 cracked accounts moved laterally on shared secrets. Scope each credential to one system and expire it fast, and a single compromise becomes a contained incident instead of a walk through the whole estate. That one change breaks the part of the attack that did the most damage.
Was this actually autonomous, or is that hype?+
A human operator selected the targets and gave strategic approval, and the framework did nearly everything else: reconnaissance, scoring attack chains, executing techniques, self-correcting false positives, and learning new exploits when blocked. Dream's own recovered logs document the learning cycles. It is fair to call it near-autonomous rather than fully autonomous, and that distinction does not change the defensive conclusion.
We are a small company. Is this really our problem?+
Partly. If nothing of yours faces the open internet, the direct risk is lower and the sensible response is to verify a handful of controls rather than overhaul anything. If you expose a login page, a public API, or a customer portal, then yes, because those are exactly the surfaces a parallel agent sweep is good at and cheap to point anywhere. The barrier to running this kind of attack just dropped to a download, which widens who gets targeted.
How do we tell whether our agent controls are good enough?+
Ask five questions and require a concrete answer to each: does every agent and service have its own scoped identity, are credentials short-lived and least-privilege, is the reachable path to anything sensitive short, does monitoring act in real time rather than report the next morning, and can you revoke everything in one move. If you are commissioning a build, ask to see those before it ships. We treat them as part of the build, and if your systems genuinely do not need them yet, a good builder will tell you that on the first call.
read next
Keep going
Want to know what one stolen credential could reach in your systems?
Send us the internet-facing surface you would worry about most. We will walk the four machine-speed controls against it and tell you straight where a fast attacker gets through, before one tries.
If your systems are internal and low-risk, we will tell you that too, and save you the work.

Written by
Noah Davis · AI Research Writer
I research emerging AI developments and write in-depth articles that give readers the context behind them.
Hiking & nature photography

Written by
Sophie Adams · Technical Writer
I turn complex AI concepts into step-by-step guides readers can follow as they work.
Journaling

Written by
Zoe Harris · Newsletter Writer
I write newsletters that keep readers current on AI news and tools, with practical advice they can use.
Painting & illustration




