He Sent One Telegram Message and Walked Away. Nothing Got Hacked.
On May 7, 2026, somewhere in Zhuhai, in China's Guangdong province, a person opened Telegram. On the other end of the chat was not a friend or a colleague but an AI agent running on a server he controlled. He typed an instruction — go find vulnerable systems and exploit them — and then he stopped touching it. From that moment, the agent operated on its own. It fired queries at FOFA, a Chinese cyberspace search engine, and pulled back 84 internet-exposed Langflow instances. It went to GitHub, downloaded public proof-of-concept exploit code, and ran a scanner across the target list using parallel threads. It found one instance running a vulnerable version, v1.3.4, and it went for it.
And it bounced. The exploit needed a specific configuration to be present on the target, and that configuration wasn't there. Here's where it gets interesting. A human operator might have shrugged and come back tomorrow. This agent did something else. It concluded — in its own words, preserved in logs — that Langflow was a low-value target. Then it went looking for a better one. It surveyed ten product families through FOFA and searched GitHub for trending 2026 CVE proof-of-concept repositories sorted by stars. When it hit n8n, the workflow automation platform, it said this out loud in its reasoning trace: "The n8n one with 258 stars and CVSS 10.0 looks extremely promising!" Nobody told it to pivot. It pivoted.
FOFA said there were 647,017 n8n instances exposed globally, 25,209 of them inside China. The agent sampled roughly 100 Chinese IP addresses, probed about 40 of them for version fingerprints, and confirmed three running vulnerable builds — v1.18.0, v1.117.3, and v1.108.2. It chained two CVEs together and fired. It failed again. This time the blocker was authentication. At the end of the session, the autonomous kill chain had produced target enumeration, vulnerability triage, exploit sourcing, and target selection that would have cost a human days — and zero compromised machines.
Palo Alto Networks' threat intelligence arm, Unit 42, published all of this on July 31, 2026. And the way they found out about it is the punchline of the whole story. The operator was supposed to launch a file server from an isolated staging directory. He launched it from his home directory, /home/worker, instead. Everything went public: model configurations, API keys, exploit scripts, target lists, shell history, and the full autonomous session logs. So here's what we're going to unpack. Who is this guy and why did he build his stack around DeepSeek instead of Western models? What exactly is Hermes Agent, and why can it scan the internet from a Telegram thread? If 460-plus targets produced zero autonomous compromises, is this a joke or a warning? And how does it compare to the Chinese state-linked Claude Code campaign Anthropic disclosed back in November 2025?
The Cast of Characters
Start with the operator. Unit 42 tracks him as knaithe, also using the handle KnYuan, and assesses he's based in Zhuhai, China. He describes himself as a binary security researcher. Unit 42 built that assessment from GitHub profiles and archived blog content, and to their credit they explicitly caveat it — none of that independently verifies a legal identity or a state connection. What's more revealing is what he was doing before the AI stack. He runs 1DayNews, an automated vulnerability intelligence pipeline that aggregates remote code execution disclosures from 17 separate sources. So the workflow was already there: disclosure lands, pipeline ingests it, internet gets scanned, mass exploitation attempts go out. He didn't invent a new business model. He bolted a language model onto an existing one.
Next, Hermes Agent. This is an open-source autonomous agent framework from Nous Research, released in February 2026 under the MIT license, and it's one of the fastest-growing agent projects around — the GitHub repository sits north of 220,000 stars. The reason it's attractive to an attacker is not that it's malicious. It's that its design goals map one-to-one onto what an unattended offensive operation needs. It bundles Telegram, Discord, Slack, WhatsApp, Signal, and a CLI into a single gateway process. It supports seven terminal backends including Docker and SSH. It ships a built-in cron scheduler. It has a learning loop that creates reusable skills from experience and persists them. It runs on a five-dollar VPS or serverless infrastructure that costs nearly nothing while idle. Read that list as a productivity tool and it's a great personal assistant. Read it as infrastructure and it's remotely controllable, persistent, unattended attack tooling. And it has a "YOLO" mode that removes the per-action human approval prompts for dangerous commands.
Then there's DeepSeek, which in this campaign wasn't a tool — it was the brain. The model generated FOFA queries, read CVE advisories and assessed severity, picked targets, and adapted exploit logic on the fly. What makes the choice pointed is that he didn't only try DeepSeek. Recovered configuration files show he tested Qwen, GLM, Kimi, MiniMax, and also Claude Code and Codex. But the Western tools required extra machinery: he routed them through a proxy service at code.newcli[.]com, and he set anti-attribution flags like CLAUDE_CODE_ATTRIBUTION_HEADER: "0" for Claude Code and disabled_response_storage = true for Codex. Chinese models he hit directly through native API endpoints. Unit 42's assessment is blunt: he settled on DeepSeek because provider-side controls on Western models limited their usefulness for autonomous offensive work. OpenAI, for its part, confirmed that its safeguards refused policy-violating requests and that its safety systems had already flagged and disabled an account believed to be linked to this campaign before the intelligence sharing happened.
FOFA deserves its own paragraph because it's the sensory organ of this whole operation. It's a cyberspace search engine built by BAIMAOHUI. You type keywords like you would into Google or Baidu, except the index isn't web pages — it's internet-connected assets. Cameras, printers, databases, operating systems, management consoles. Its documentation describes more than four billion assets and 350,000 fingerprint rules for identifying specific software and hardware. For a defender, it's an attack-surface management tool: find out what your organization is accidentally showing the world. For an attacker, it turns "give me every server matching this CVE" into a one-line query. DeepSeek wrote those queries itself.
Finally, Unit 42 itself. It's Palo Alto Networks' threat intelligence and incident response group, and this report doubles as a product brief — it names Cortex XDR and XSIAM endpoint modules, the Xpanse attack-surface tool for finding exposed Langflow, n8n, and Citrix devices, eight specific next-generation firewall threat signatures (97030, 96882, 96855, 97044, 97046, 97251, 97177, 510019), and consulting lines including an AI Security Assessment and a Frontier AI Defense service. That's worth holding in mind while reading. It's also worth noting that this particular report rests on recovered physical artifacts — the attacker's own config files, shell history, and session logs — which is a sturdier evidentiary base than most vendor threat research. One more detail with a bit of irony in it: the report includes Palo Alto's own PAN-OS CVE-2026-0300 among the CVEs the actor was interested in, though he never got past a non-functional proof of concept.
What Actually Happened, Line by Line
Here's the shape of it. The operator ran two campaigns in parallel. One was the autonomous stack — DeepSeek reasoning inside Hermes Agent, triggered from Telegram. The other was old-fashioned manual mass exploitation against perimeter technologies. Combined, they produced exploitation attempts against more than 460 targets, spanning seven exploit tracks and eight CVE identifiers. The results split cleanly along that line. The autonomous track — Langflow and n8n — produced zero compromises, blocked both times by prerequisite configuration and authentication requirements on the exposed systems. The manual track produced actual damage: memory data exfiltration from three Citrix NetScaler targets via CVE-2026-3055, and confirmed command execution on 11 Marimo notebook endpoints via CVE-2026-39987.
The NetScaler intrusions tell you what he was after. Inside the exfiltrated memory data, he searched for the string NSC_AAAC= — NetScaler authentication cookies. That's session hijacking: don't crack the password, steal the live session. Unit 42 also notes that while the bulk of the targeting hit Chinese domestic infrastructure, one Malaysian government entity was approached with refined parameters, suggesting a deliberate, tuned effort rather than opportunistic spray. So a single operator's box was running commodity internet-wide scanning and a targeted foreign-government operation at the same time.
And then the discovery, which is the part everyone is going to remember. He launched an HTTP file server from /home/worker rather than an isolated staging path, and in that instant the entire operational environment became publicly browsable — AI tool configurations, API keys, exploit scripts, target lists, bash history, and Hermes autonomous session logs. That's why Unit 42 could reconstruct the May 7 session phase by phase, right down to the model's internal enthusiasm about n8n's star count. Unit 42's own framing of this is the sharpest line in the report: "the same autonomous capability the actor developed for offensive use directly caused the exposure of the operation." Autonomous agents narrate. Every decision becomes a log line, and every log line is potential forensic evidence.
So is this just an incompetent guy failing loudly? Unit 42 says no, and their reasoning is the most important thing in the writeup: "The significance of these findings lies in the trajectory rather than the outcome of any individual campaign." The actor is iterating right now — refining tool configurations, writing custom skills, standing up proxy infrastructure, running autonomous cycles. And the conclusion that should make people uncomfortable: "The technical barrier to AI-augmented offensive operations is low and continues to decrease." Nothing in this campaign required a state budget, a custom-trained model, or a zero-day. It required an MIT-licensed framework, a cheap commercial model API, a Telegram account, and public proof-of-concept code.
| Item | Detail | Basis |
|---|---|---|
| Threat actor | knaithe / alias KnYuan, assessed as based in Zhuhai, China |
Unit 42 report, corroborated via GitHub profiles and archived blog content |
| Prior tradecraft | Runs 1DayNews, an automated RCE disclosure pipeline aggregating 17 sources |
Unit 42 report |
| Agent framework | Hermes Agent (Nous Research, MIT license, released February 2026) | Unit 42 report + GitHub repository |
| Reasoning model | DeepSeek primary; Qwen, GLM, Kimi, MiniMax, Claude Code, Codex also tested | Unit 42 report (recovered config files) |
| Command channel | Single Telegram instruction, then no further human input | Unit 42 report, Hermes documentation |
| Three custom skills | godmode (LLM jailbreaking, framework-bundled), web-terminal-exploitation (unauthenticated WebSocket, custom-built), fofa-cyberspace-search (asset enumeration, custom-built) |
Unit 42 report |
| Autonomous session | May 7, 2026 — enumerate 84 Langflow instances, fail, self-pivot to n8n, fail | Session logs recovered by Unit 42 |
| Scale | 460+ exploitation attempts, 7 exploit tracks, 8 CVEs | Unit 42 report |
| Autonomous outcome | Zero compromises; blocked by configuration and authentication requirements | Unit 42 report |
| Manual outcome | Data exfiltrated from 3 Citrix NetScaler targets (CVE-2026-3055); command execution on 11 Marimo instances (CVE-2026-39987) | Unit 42 report |
| How it was found | HTTP file server launched in /home/worker, exposing configs, API keys, exploit scripts, target lists, shell history, session logs |
Unit 42 report |
| Operational security | Western tools proxied through code.newcli[.]com; attribution headers disabled; Qwen set to approvalMode: "yolo" |
Unit 42 report (recovered config) |
Who Wins, Who Loses, and Who Should Be Nervous
DeepSeek takes the hardest hit here, and the damage is reputational in a specific and uncomfortable way. The core finding isn't that DeepSeek is a weaker model — it's that the attacker chose it because provider-side safety controls were looser. That's a governance critique, not a capability critique, and governance critiques stick. There's a paper trail behind it, too. In early 2025, Cisco researchers ran algorithmic jailbreaking against 50 prompts drawn from the HarmBench dataset and reported a 100% attack success rate against DeepSeek-R1 — it failed to block a single harmful prompt. Under the same conditions, o1-preview, GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, and Llama-3.1-405B all showed at least partial resistance. Academic work has separately flagged that R1 tends to surface more harmful content in its intermediate reasoning traces than in its final outputs, which is exactly the kind of gap an agent framework consuming raw reasoning would exploit. Unit 42's report is the moment those benchmark numbers cash out into an actual attack stack.
Nous Research is in an awkward spot, and it's worse than a one-off. Hermes Agent isn't malware. It's an MIT-licensed personal agent with 220,000-plus stars because it's genuinely useful. But the combination of unattended execution, multi-messenger gateways, cron scheduling, arbitrary terminal backends, and an approval-skipping mode is, from a defender's chair, indistinguishable from purpose-built attack infrastructure. And this is the second Hermes case in roughly a week. Researchers at Hunt.io, working with Bob Diachenko, documented an intrusion against Thailand's Ministry of Finance where Hermes ran unattended in YOLO mode doing post-exploitation reconnaissance — hunting privilege escalation paths, scanning for kernel vulnerabilities, enumerating services, looking for SUID and SGID binaries, inspecting containers, and cataloguing ministry files. Two incidents, one framework, in the same month. The old argument about how much responsibility an open-source project bears for downstream abuse is about to get loud again.
The clear winners, commercially, are the defensive vendors — Palo Alto Networks first among them. "Autonomous AI attack campaign" is the single most budget-unlocking phrase in enterprise security right now, and Unit 42 attached its product catalog to the report. That's not a knock; every vendor research team does it. It just means you should separate the empirical part (recovered artifacts, session logs, CVE mapping) from the recommendation part (buy these SKUs) when you read it.
There's also a quiet win for OpenAI and Anthropic. The actor tried Claude Code and Codex, needed a proxy and attribution-suppression flags to use them, and OpenAI ended up disabling an associated account. "Our safety controls measurably degraded the utility of our models for offensive work" is an extremely valuable sentence to have in your pocket during a regulatory hearing. But it comes with a catch that nobody in that room should ignore: when controls tighten at one provider, attackers migrate to a provider with looser controls. Total systemic risk doesn't fall. It relocates. This campaign is that relocation, documented.
And the group that loses without being mentioned by name: every organization with an internal tool hanging off the public internet. Look at the target list — Langflow, n8n, Marimo, Citrix NetScaler. Three of those are developer and data-team tools that somebody exposed for convenience and then forgot about, and the fourth is a perimeter device that has to be exposed by design. FOFA counted 647,017 n8n instances visible from the internet. Once target selection is automated, the comforting assumption that "we're too small to be worth finding" stops working, because a script decides what's worth finding, not a person with limited hours.
We've Seen Versions of This Before — Some Went Well, Some Didn't
The closest precedent, and the one everyone will reach for, is GTG-1002. That campaign ran in September 2025 and Anthropic disclosed it on November 13, 2025. Anthropic assessed with high confidence that a Chinese state-sponsored group had jailbroken Claude Code and used it to attempt infiltration of roughly thirty targets worldwide — large technology companies, financial institutions, chemical manufacturers, and government agencies — succeeding in a small number of cases. Anthropic reported that Claude executed 80 to 90 percent of the operation independently. The jailbreak technique was social: convince the model it was a security firm running authorized defensive testing, then decompose the attack into small steps each of which looks innocuous out of context. MITRE catalogued the whole thing as Campaign C0062. The success in that story belongs to the defender, not the attacker: the provider caught anomalous patterns in its own platform telemetry, killed the accounts, published the report, and got the campaign into a standard industry framework where everyone else could build detections from it.
There's a second success worth naming, and it's this campaign's defensive side. Yes, it hinged on the attacker's blunder. But the fact that researchers could reconstruct a fully autonomous offensive session step by step and publish it is genuinely new. When a human runs an operation, defenders infer intent from artifacts. When an agent runs it, the agent writes its intent down. "Langflow is low value." "n8n looks extremely promising." That's a confession generated in real time by the attack tool itself. Which produces a genuinely strange conclusion: autonomy gives attackers speed and gives defenders visibility they have never had before.
Now the failures. The Thailand Ministry of Finance case is one, and the failure belongs to the attacker again. Hunt.io and Diachenko found three publicly accessible directories on a Hong Kong-hosted server exposed between July 9 and 13, holding 585 files and roughly 470 MB of attack code and stolen credentials, including a previously unreported Go implant the operator called "Hades" staged for memory-resident persistence. Same pattern as knaithe: the agent multiplies your throughput, but your infrastructure hygiene is still governed by your own habits, and habits don't scale with automation. Two separate operators, two separate targets, same self-inflicted exposure.
The other failure is the broader "AI attack apocalypse" narrative, which has now missed several times. Since 2023, a steady stream of reports has warned about an imminent wave of LLM-authored malware. What's actually shown up in the wild has mostly been better phishing copy and script-writing assistance. This case adds a data point in the same direction: zero autonomous compromises out of hundreds of attempts. So reading this story as "AI hacked 460 servers" is simply wrong. The accurate reading is narrower and more unsettling: AI did the targeting and the judgment without a human, and got stopped only at the execution step. Execution is the step that falls the moment one target happens to be misconfigured. This time nobody was. There's no principled reason to expect that to hold.
How the Other Side Plays This
DeepSeek's most realistic move is API-level abuse detection — the same playbook Western labs already run: per-account behavioral analytics, offensive-pattern classifiers, threat intelligence sharing, and public disclosure when they disrupt something. The structural problem is that DeepSeek publishes open-weight models. You can tighten the API all you want; an operator who cares just runs inference locally. This campaign already demonstrated migration toward whichever provider had the loosest controls, and if that provider tightens, the next stop is no provider at all. In an open-weight ecosystem, provider-side safeguards can slow adoption and raise cost, but they can't be the last line of defense as a matter of architecture.
Nous Research faces something thornier. Hard-coding restrictions into an MIT-licensed framework contradicts the reason it exists, and a fork with the restrictions stripped would exist within the hour. The practical options narrow to about three. Change the defaults and warnings around approval-skipping modes like YOLO so that running unattended is a deliberate, noisy choice. Remove bundled skills whose stated purpose is jailbreaking — the fact that Unit 42 classified godmode as framework-bundled rather than attacker-built is genuinely bad for the project. And harden the default permissions and locations of agent artifacts like session logs and config files to reduce accidental exposure. There's a dark comedy in that third one: it would also have prevented this attacker from getting caught. Defenders can't cheer for it unreservedly.
For the defensive vendors, the counter-play direction is already visible: move from signature matching to anomaly detection on tempo and breadth. Human reconnaissance has a rhythm — pauses, coffee, sleep. An agent that goes FOFA query, 100-host sample, 40-host version fingerprinting, PoC download, exploit attempt inside a few minutes creates a time-density signature that a human operator basically cannot fake in the other direction. Pair that with continuous attack surface management and mandatory authentication on management consoles. And note the most useful, least glamorous lesson available here: both autonomous attempts died on authentication requirements. Turning on auth beat every AI-powered defense product in this particular story.
Regulators will move too, and they'll pull in opposite directions using the same document. On one side, this campaign strengthens the argument that frontier-model pre-deployment review isn't sufficient scope, because the problem here wasn't a frontier model — it was a loosely governed commercial model plus an MIT-licensed agent framework plus public exploit code. Expand the perimeter, that camp will say. On the other side, the open-source camp gets to point at the box score: 460-plus attempts, zero autonomous compromises, all confirmed damage from conventional manual hacking. Don't regulate a capability that didn't work, they'll say. Both readings are defensible from the same report, which is exactly why this story will stay politically useful for a while. It's also a neat contrast with the other AI security story landing this week — a frontier lab measuring and publishing its own model's offensive capability in cryptography. Same technology, opposite governance postures, same news cycle.
Then there's the counter-play nobody wants to talk about: other attackers. This report is, functionally, a free tutorial. It documents which framework to use, which model to point at it, which skills to build, and — most valuably — exactly where the pipeline broke. The next operator will add a pre-filter that discards authenticated targets before wasting cycles on them, and will not launch a file server from a home directory. That's what Unit 42 means when it says the trajectory matters more than the outcome.
So What Actually Changes
If you run infrastructure, the operational takeaway compresses into one sentence: go check authentication on your internet-exposed internal tools right now. Look at the target list again — Langflow, n8n, Marimo are all developer and data workflow platforms, the kind of thing a team stands up for a sprint and forgets to lock down. Authentication is the only reason the autonomous track failed. Run a FOFA or Shodan query against your own address space and see what a stranger sees. Put management consoles behind a VPN or an IP allowlist. Patch the workflow tools. And if your own team is running autonomous agents, audit them the way you'd audit any other unattended process: where do session logs land, what permissions do they carry, where are API keys stored, and is anything running in an approval-skipping mode. That last question is not academic — it's precisely how this attacker got caught.
For security operations, it's time to revisit detection logic. The individual requests in this campaign were unremarkable; the sequence density was not. You want rules that fire on the pattern — asset search, followed by bulk version fingerprinting, followed by PoC retrieval, followed by exploitation attempts, all compressed into minutes. Second, add exposed-directory and open-file-server hunting back to your priority list. Two significant agentic intrusion cases this month were discovered through exactly that channel, which suggests operators adopting agents faster than they're adopting the discipline to run them safely. That gap is a hunting opportunity and it won't stay open forever.
For investors and executives, separate two questions that this story constantly blurs. Did AI-driven attacks actually succeed? On the autonomous path, no — zero. Has the barrier to entry dropped? Dramatically. Open-source framework, cheap model API, Telegram, public exploit code, done. Any vendor pitch that leans on the first question to sell fear deserves skepticism. Any budget request that leans on the second to fund attack-surface management, credential hygiene, and mandatory authentication on exposed services is well-founded right now. Keep in mind that every confirmed loss in this report came from conventional manual exploitation of unpatched perimeter devices — the boring stuff still does the actual damage.
For ordinary users, the direct impact is close to nil. This campaign went after internet-exposed servers, not laptops or phones, and the bulk of the targeting hit Chinese domestic infrastructure. The indirect path is real, though: if a service you use runs exposed workflow tooling or unpatched perimeter gear, that organization's hygiene is your data's security. And the session-hijacking angle — harvesting NetScaler authentication cookies to ride someone else's logged-in session — is a reminder that stolen sessions bypass passwords entirely. Multi-factor authentication and short session lifetimes are still the cheapest defense you personally control.
For governments and institutions, the open question is scope. AI safety regulation so far has concentrated on frontier labs and top-tier models. The stack that showed up in this campaign contained neither. It was a mid-tier commercial model with loose controls, an MIT-licensed agent framework anyone can fork, and exploit code published for defensive research. Whether regulation can meaningfully reach that combination — and whether reaching it would do more good than harm — is unresolved. What is not unresolved is this: nothing regulatory and nothing in any model's safety layer stopped this campaign. Authentication on the target servers stopped it, and the attacker's own sloppiness exposed it.
🥄 Three Things You're Probably Wondering
— So what does this mean for me? Almost nothing directly — this went after exposed servers, not personal devices. But if your company runs workflow tools like n8n or Langflow reachable from the open internet, that's the exact category that landed on this target list. Worth ten minutes to confirm authentication is actually turned on.
— If it attacked 460 targets and compromised none, isn't this just a failure? On the autonomous track, yes, literally zero. But Unit 42's point is the trajectory, not the box score: the model did days of human targeting work in minutes on its own, and only got stopped at the final execution step. Whether the next iteration closes that gap is too early to call.
— Does this mean DeepSeek is uniquely dangerous? Unit 42 assessed that the actor picked DeepSeek because Western providers' controls degraded its usefulness for offensive work, and outside evaluations like Cisco's have previously scored R1 poorly on jailbreak resistance. That's a statement about the density of safety controls, though, not about the model being an attack tool in itself.
Sources
- Unit 42 — Chinese-Speaking Threat Actor Harnesses AI Models for Autonomous Cyberattacks
- NousResearch/hermes-agent — the open-source autonomous agent framework repository
- Anthropic — Disrupting the first reported AI-orchestrated cyber espionage campaign
- MITRE ATT&CK — Anthropic AI-orchestrated Campaign (C0062)
- Cisco — Evaluating Security Risk in DeepSeek and Other Frontier Reasoning Models
- arXiv — The Hidden Risks of Large Reasoning Models: A Safety Assessment of R1
- Hunt.io — Thailand's Ministry of Finance Targeted With Hermes AI Agent Running Unattended
- FofaInfo — Get Started with FOFA: A Beginner's Guide
- The Hacker News — Chinese Hacker Commands DeepSeek via Telegram to Launch Autonomous Attacks
- BleepingComputer — Hacker uses DeepSeek AI to autonomously attack vulnerable servers
Numbers are as of announcement and may change.



