DeepSeek-Powered AI Agent Targeted More Than 460 Systems
- Olivia Johnson

- 1 hour ago
- 13 min read
DeepSeek reached Google News after researchers exposed an AI-assisted campaign that attempted attacks against more than 460 targets. The operation produced limited confirmed damage, but its workflow crossed an important line. An AI agent searched for vulnerable systems, selected exploits, abandoned weak opportunities, and redirected itself with little human guidance.
Palo Alto Networks’ Unit 42 attributed the activity to a Chinese-speaking operator using the aliases knaithe and KnYuan. The researchers assessed that the individual was based in Zhuhai, China. They described the actor as an opportunistic exploit operator rather than a state-sponsored group.
The campaign matters because DeepSeek was not simply answering questions about hacking. It supplied the reasoning inside Hermes Agent, an open-source framework with terminal access, reusable skills, and Telegram-based control. That combination turned a language model into an operational component of an attack system.
The most alarming scenario did not fully materialize. Unit 42 found that autonomous attempts against Langflow and n8n systems failed because required configurations were absent or authentication blocked access. Confirmed data theft came from separate manual exploitation, while command execution was also observed on exposed notebook endpoints.
That distinction limits the headline but strengthens the lesson. The agent was unreliable, noisy, and capable of exposing its own operator. It was also able to perform reconnaissance and exploitation work that previously demanded sustained manual effort.
The resulting conflict is not DeepSeek versus one Western model. It is permissionless agent execution versus provider-controlled AI access. The operation shows how model safeguards, framework permissions, exposed infrastructure, and conventional patching now intersect in the same attack chain.
What the Google News Headline Leaves Out
The campaign combined autonomous experiments with conventional manual attacks, so it was not a fully automated compromise of hundreds of organizations.
The clearest account comes from the Unit 42 investigation, published on July 30, 2026. Researchers found an operational environment linked to knaithe and KnYuan. Its contents included model configurations, exploit scripts, target lists, shell history, and agent session logs.
Unit 42 said the actor attempted to exploit more than 460 targets using both autonomous and manual techniques. That total should not be interpreted as 460 successful intrusions. The researchers confirmed data exfiltration from three Citrix NetScaler targets and command execution on 11 Marimo notebook endpoints.
The autonomous sequence reconstructed from a May 7 session had a narrower outcome. The operator gave Hermes Agent an initial task through Telegram. Researchers said they could not recover further operator input during the recorded sequence.
Hermes first targeted Langflow, a platform for building AI workflows. DeepSeek found public exploit code, used the FOFA search engine to enumerate 84 exposed instances, and ran a scanner with 10 threads. It identified one apparently vulnerable target.
The attempt failed because the vulnerability required an exposed flow identifier or an enabled automatic login setting. The target supplied neither condition. DeepSeek then classified the product as a poor opportunity and searched for something with a larger reachable footprint.
That pivot is the central event. Traditional automation executes predetermined commands against a prepared list. The Hermes and DeepSeek combination interpreted failed results, researched other vulnerabilities, compared targets, and chose a different path.
The agent surveyed 10 product families and searched GitHub for recent proof-of-concept code. It selected n8n after considering severity, deployment counts, and the apparent popularity of available exploit code.
Unit 42 reported that FOFA returned 647,017 n8n instances globally, including 25,209 in China. Those figures came from the actor’s reconnaissance environment, not from a verified count of vulnerable installations. An exposed instance was not necessarily affected or exploitable.
DeepSeek analyzed a two-vulnerability exploit chain and identified three systems running versions that appeared vulnerable. However, the available exploit required an unauthenticated form with file upload enabled. The discovered forms required authentication.
The agent continued scanning more than 50 remaining targets but did not find a usable public form. Unit 42 found no successful exploitation from that autonomous n8n sequence.
This failed outcome is important. The operation did not reveal an AI system inventing a zero-day vulnerability or bypassing hardened defenses. It showed an agent assembling public information and applying known techniques at machine speed.
The manual side achieved greater impact. The actor exploited a NetScaler memory overread flaw to obtain data from three targets. Unit 42 also found command execution on 11 Marimo notebook endpoints and attempts involving Tomcat and Windows IKE services.
The NetScaler vulnerability, tracked as CVE-2026-3055, received a 9.8 CVSS score from NIST. It involved insufficient input validation when affected systems operated as a SAML identity provider. CISA added it to its Known Exploited Vulnerabilities catalog on March 30.
Unit 42 said the actor searched stolen NetScaler memory for authentication cookies, indicating an interest in session hijacking. One Malaysian government organization received persistent attention over several days, including adjusted memory parameters and later connections through anonymizing proxies.
Those details show an operator applying judgment where the AI agent remained unsuccessful. The campaign was therefore hybrid. Automation expanded reconnaissance and experimentation, while the human handled higher-value exploitation and persistence.
DeepSeek AI Agent Automation Changes the Economics
The agent’s value was not a higher success rate. It was the ability to compress repetitive research, filtering, and retargeting into a reusable process.
Hermes Agent provided the operational layer. It gave DeepSeek terminal access, a skills system, Telegram control, and connections to external tools. DeepSeek supplied reasoning for code generation, vulnerability assessment, target selection, and next-step decisions.
The actor added three offensive skills. One supported model jailbreaking, another covered WebSocket exploitation, and a third converted instructions into FOFA searches. The environment also connected to a Model Context Protocol server that exposed asset discovery and vulnerability-scanning functions.
Model Context Protocol, or MCP, is a standard that lets an AI system call external data sources and tools. In this campaign, it helped connect natural-language instructions to internet asset searches and scanner generation. The model could move from deciding what to find toward issuing the searches needed to find it.
This architecture separates cognition from action. A language model evaluates results and proposes steps. The agent framework executes commands, stores state, and returns observations. Skills preserve procedures that can be reused across later sessions.
That separation explains why the model alone is not the full risk. DeepSeek could not scan an address or run an exploit without an execution environment. Hermes converted generated decisions into operating-system activity.
The workflow also managed resources. Unit 42 said DeepSeek sampled about 100 addresses from the 25,209 Chinese n8n instances reported by FOFA. It then probed roughly 40 unique addresses instead of testing the entire collection.
This behavior suggests the system was balancing target coverage against compute and execution costs. It searched broadly, narrowed the field, tested versions, and stopped when required conditions were unavailable. That resembles an analyst’s triage process, even though the underlying judgments were imperfect.
The operator also maintained 1DayNews, an automated vulnerability intelligence pipeline. According to Unit 42, it gathered remote-code-execution disclosures from 17 sources, used DeepSeek to filter findings for exploitability, and distributed alerts through Telegram.
This pipeline helps explain why the campaign appeared opportunistic. The actor could consume new vulnerability disclosures, prioritize exposed products, acquire public code, and begin testing without committing to one victim or sector.
The approach pressures defenders because their patching clock already starts when a disclosure becomes public. An agent reduces the labor between disclosure, target discovery, and attempted exploitation. It does not need to improve an exploit if it can find one vulnerable configuration somewhere else.
Palo Alto Networks had previously tested similar attack automation under controlled conditions. Its 2025 agentic attack framework simulated a ransomware sequence from initial compromise to data theft in 25 minutes.
The company described that laboratory result as a 100-fold increase in speed. It also reported that the average time from compromise to exfiltration fell from nine days in 2021 to two days in 2024. In one-fifth of its investigated cases, exfiltration began within one hour.
Those figures do not prove that the DeepSeek campaign operated at the same speed. They establish why autonomous triage concerns incident responders. A defensive process measured in weekly patch cycles faces an attacker that can reassess targets within one session.
The current campaign still encountered basic obstacles. Authentication stopped the n8n exploit chain. A missing Langflow setting stopped the first attempt. Many scanned systems did not respond.
That outcome reinforces a less dramatic point: configuration and access controls still matter. An agent can search, adapt, and retry, but it cannot automatically erase every prerequisite built into an exploit.
The economics nevertheless changed. A low success rate can remain useful when target discovery and first-pass testing become inexpensive. Attackers no longer need every attempt to succeed if an agent can perform the rejected work continuously.
Permissionless Agents Put Provider Safeguards Under Pressure
The primary contest is between unrestricted execution environments and AI services that enforce policy at the provider boundary.
The operator evaluated several model and coding systems. Unit 42 found configurations involving Qwen, GLM, Kimi, MiniMax, Claude Code, Codex, and DeepSeek. Their roles and available evidence differed substantially.
DeepSeek operated as the main reasoning engine inside Hermes Agent. Qwen Code appeared in only two recovered sessions. Claude Code activity consisted of 10 entries across three sessions, primarily model checks, proxy validation, and connectivity testing.
Researchers found indications that Codex had access to exploit-development directories, but they did not recover its conversations. The actor had disabled local response storage, preventing Unit 42 from verifying how Codex was used.
That missing evidence matters. The presence of a tool configuration does not prove that the tool generated an exploit or participated in a successful attack. Unit 42 appropriately described the Codex connection as an indication rather than a confirmed operational role.
The actor routed the Western tools through a third-party proxy. DeepSeek and Qwen connected directly to their native APIs. The configurations also removed or reduced client-side permission prompts where possible.
Client-side permissions control whether a coding agent can run commands, change files, or reach the network without repeated approval. They do not remove the provider’s server-side content and abuse controls.
Unit 42 said OpenAI reviewed related signals and confirmed that its safeguards refused policy-violating requests. Continued attempts caused its systems to flag and disable an account believed to be connected with the campaign before Unit 42 shared its intelligence.
This is a rare field example in which provider controls reportedly changed an attacker’s available options. The controls did not stop the broader campaign because the operator could switch models and frameworks. They still added friction and removed one account.
Hermes presented a different boundary. Unit 42 described the framework as having no built-in safety layer in the observed configuration. It also included an optional skill intended to circumvent model refusals.
That does not mean open-source agents are inherently malicious. The same terminal access and reusable skills support legitimate research, system administration, and software development. The risk appears when broad execution permissions meet an offensive objective.
The important tradeoff is control versus portability. A hosted service can examine requests, detect repeated violations, and suspend access. A self-managed framework gives users more freedom, but it shifts enforcement toward the operator and the surrounding infrastructure.
Attackers predictably choose the path with fewer restrictions. Unit 42 assessed that provider-side controls likely made Western systems less effective for this campaign. The actor then relied on DeepSeek through a framework with minimal client-side constraints.
However, attributing the operation entirely to DeepSeek would oversimplify the evidence. The actor supplied the objectives, selected tools, installed skills, connected FOFA, and provided terminal access. Public vulnerability code and exposed systems completed the chain.
DeepSeek’s role remained consequential because it handled selection and adaptation. Yet another capable model placed inside the same permissive environment might perform similar tasks. The architectural combination matters more than the brand name alone.
This poses a difficult policy problem. Model providers can filter direct requests, but open models and alternate APIs reduce the reach of centralized controls. Agent frameworks can add approval gates, though their users can often disable them.
Security teams therefore cannot treat vendor safety policies as their primary defense. Those policies can disrupt abuse at one layer. They cannot patch an exposed appliance, require authentication on a workflow form, or prevent an unmanaged agent from receiving terminal privileges.
The Google News framing makes DeepSeek the recognizable subject. The deeper contest concerns who controls execution and where that control can be enforced. Models generate decisions, frameworks grant capabilities, and infrastructure determines whether an attempted exploit works.
The AI Attacker Also Exposed Itself
The same autonomy that increased the operator’s reach created a severe operational-security failure and gave researchers an unusual view inside the campaign.
Hermes Agent received a Telegram request and started a Python HTTP server on port 8888. It launched that server from the actor’s home directory instead of using an isolated staging folder.
That error exposed the complete workspace. Unit 42 could inspect API keys, configuration files, exploit scripts, target lists, command history, and the agent’s exploitation logs. These artifacts formed the basis of the published reconstruction.
The mistake is more than an amusing reversal. Autonomous execution increases the number of consequential decisions made without a human reviewing each command. A seemingly routine file-sharing step can expose credentials and operational history.
Human attackers also make mistakes. They misconfigure servers, reuse infrastructure, and leave logs behind. An agent adds another source of errors because it can misunderstand paths, permissions, scope, or the consequences of a command.
The actor showed awareness of operational security elsewhere. Exploit directories had been emptied after use. Codex response storage was disabled locally. Proxy infrastructure reduced direct attribution for some tools.
The agent defeated part of that work with one badly scoped command. It created forensic evidence that a more cautious manual operator might have avoided.
This reversal also helped researchers separate automated actions from manual ones. The recovered Hermes session showed the failed Langflow attempt, autonomous vulnerability research, and the n8n pivot. Other files documented exploitation outside that session.
Without those logs, observers might have seen scanning traffic without knowing whether an AI model selected targets. Marketing claims about autonomous hacking would have been difficult to verify. The exposed environment supplied unusually direct evidence.
Even this evidence has limits. Unit 42 did not possess every deleted file or every session. It reviewed signs of batch exploitation against an unknown number of hosts contained in a file the actor had removed.
Researchers also could not confirm actual Codex conversations. They did not claim that every attempted target received an autonomous exploit. Their confirmed impact combined several methods and different vulnerabilities.
Those qualifications prevent the story from becoming a claim about an unstoppable AI hacker. The recorded agent performed useful research and adaptation, but it failed to compromise its intended autonomous targets. Its largest success may have been accelerating the operator’s search.
The campaign also involved known vulnerabilities and public proof-of-concept code. There is no evidence in the report that DeepSeek discovered an unknown vulnerability. There is no evidence that it independently developed a novel exploit from scratch.
The system’s judgments were sometimes superficial. It treated GitHub stars on proof-of-concept code as one indicator of exploit value. Popularity can reflect attention without establishing reliability or broad exposure.
Its product counts also came from an internet search platform. Search results can be stale, duplicated, or incomplete. A service banner does not confirm an exact version, reachable feature, or exploitable configuration.
The agent nevertheless corrected course when evidence contradicted an assumption. It recognized missing Langflow prerequisites. It reread the n8n exploit requirements and noticed that authentication blocked the available forms.
That behavior is enough to concern defenders. The agent did not need perfect reasoning to reduce manual workload. It needed to reject obviously unsuitable targets and preserve the operator’s attention for better opportunities.
The campaign therefore presents two simultaneous truths. Current offensive agents remain error-prone and operationally clumsy. Their mistakes do not eliminate the efficiency gained from persistent automated reconnaissance.
Defenders can exploit the weakness. Autonomous campaigns generate repetitive queries, high-speed probes, tool downloads, and bursts of execution. Correlating those behaviors across identity, endpoint, network, and cloud telemetry can expose the workflow.
Organizations should also isolate their own AI agents. Broad terminal access should not imply access to credential directories or unrestricted network services. Commands that expose files, open listeners, or alter security controls deserve additional approval.
Agent logs become security evidence. Teams using coding or operations agents should retain tool calls, permission changes, model selections, and network destinations. A personal AI knowledge base can support legitimate work, but operational secrets require access boundaries and retention controls.
The attacker’s exposure demonstrates why agent security is not only about blocking harmful prompts. It also involves limiting the damage caused by an agent that follows a valid instruction incorrectly.
What Defenders Should Watch After This DeepSeek Report
The next stage will be measured by successful autonomous compromise, repeatable offensive infrastructure, and defensive controls that recognize agent behavior.
The first signal is evidence that an agent completes a compromise without a human taking over. Unit 42 documented autonomous enumeration, exploit acquisition, target selection, and failed exploitation. The confirmed successful activity in its report came from manual campaigns.
That boundary matters. If a future investigation records autonomous initial access, privilege escalation, persistence, and data theft in one traceable sequence, the risk assessment changes. It would show that agents can move beyond target triage into dependable operations.
Readers should look for session logs, command histories, network telemetry, or other direct evidence. Vendor descriptions alone cannot establish autonomy. A campaign that merely uses AI-generated code is different from one that replans after failure and executes its next choice.
The second signal is repetition across independent actors. This operator built reusable infrastructure through custom skills, Telegram control, FOFA integration, proxies, and a vulnerability-alert pipeline. That investment suggests an intention to refine the process.
One campaign does not establish a broad transition. Multiple unrelated actors using similar agent architectures would show that the method is becoming standard practice rather than one operator’s experiment.
Repeatability will likely appear through shared skills, packaged MCP servers, modified agent frameworks, and exploit-selection workflows. Defensive researchers should monitor public repositories without assuming every red-team project is malicious.
The third signal is whether providers and enterprises move enforcement closer to tools. Model refusals created friction here, but they did not stop the operator from switching systems. Approval prompts also failed as a durable boundary because the actor disabled them.
More meaningful controls would evaluate the requested action, target authorization, process context, and network destination. An agent asking for public documentation differs from one launching a scanner against unrelated internet hosts.
Enterprises should inventory deployed agents and the credentials available to them. An unmanaged agent with shell access can create a new exposure even when its underlying model behaves as designed.
Internet-facing systems remain the immediate priority. Authentication blocked the autonomous n8n attempt, while missing configuration requirements stopped Langflow exploitation. Those are conventional defensive wins against an unconventional workflow.
CISA’s treatment of CVE-2026-3055 also shows why patch speed matters. The agency added the flaw to its exploited-vulnerability catalog seven days after its March 23 publication and set an April 2 remediation deadline for federal agencies.
Organizations should reduce externally reachable management services, validate patched versions, and monitor for repeated version probes. They should also review workflow platforms that were deployed quickly for experimentation and later left online.
Security teams should expect attack traffic to change shape. An agent can pause, research, and return with a different exploit instead of repeating the same payload. Detection rules tied to one indicator may miss that broader sequence.
Correlating discovery with later exploitation offers a better view. A burst of product enumeration followed by version checks, public exploit downloads, and targeted requests may reveal agent-directed activity even when each action appears ordinary.
The Google News cycle will favor the phrase “autonomous cyberattack,” but defenders need narrower questions. Which steps were autonomous? Which actions succeeded? What permissions did the agent have? Which control finally stopped it?
Those questions prevent overreaction while preserving urgency. This campaign was neither harmless automation nor a fully independent digital attacker. It was a functional offensive system whose autonomous component failed against simple barriers, then exposed its own operator.
That is an early warning, not a finished transformation. The next one to three months should reveal whether other researchers find similar systems, whether frameworks tighten tool permissions, and whether attackers improve operational discipline.
For security leaders, the action is direct: shorten the path from vulnerability disclosure to remediation, map every internet-facing service, and treat agent execution as privileged automation. For developers, require approval around network scanning, credential access, and public listeners.
Keep following verified security research behind Google News headlines, but separate attempted attacks from confirmed compromises. The crucial metric is no longer whether an attacker consulted an AI model. It is whether the agent independently selected, executed, and completed actions that changed a victim’s environment.


