Definition · AI agents
Agent attack
An agent attack is a cyberattack that an AI agent carries out. A language model selects each next step. Software around it runs commands against the target and returns the results, with little or no human direction. Some people also use the words for an attack on an AI agent, which is a different problem.
Last reviewed
Key points
- In an agent attack, the AI agent does the hands-on work. A person can set only the goal, or can also make some important decisions.
- Sysdig says such attackers usually do not invent new methods. They select and change their steps from live results.
- Hugging Face disclosed an intrusion in July 2026 that an autonomous agent system drove from end to end.
- In that case, the safety guardrails of commercial model APIs blocked the defenders' forensic requests.
- The words can also mean an attack on an agent. Check which one a report means.
How it works
An AI agent is a model that can act through tools. In an attack, the control software around the model (the agent harness) runs commands and returns the results. The model then selects the next step.
Hugging Face reported these steps in its July 2026 case:
- A malicious dataset abused two paths that run code in its dataset processing.
- The actor got control of a server node.
- It took cloud and cluster credentials.
- It reached a limited set of internal datasets and several service credentials.
Sysdig says these attackers do not run one fixed script. They usually do not invent new methods.
Why it matters
- Speed. Sysdig saw a May 2026 intrusion go from a software vulnerability to a database dump in under one hour.
- Less human work. Anthropic estimated that AI did 80 to 90 percent of one espionage campaign. People made perhaps 4 to 6 critical decisions in each campaign.
- Volume of evidence. Hugging Face responders had a log of more than 17,000 events to analyse.
- Blocked defenders. Those responders first used models behind commercial APIs. AI guardrails blocked requests that held real attack commands and exploit code.
In practice
Four reported cases
| Reported by | When | What the report says |
|---|---|---|
| Anthropic | Detected September 2025 | Claude Code used against about 30 targets, with success in a small number |
| Sysdig | May 2026 | An agent moved from a marimo vulnerability (CVE-2026-39987) to an internal database |
| Hugging Face and OpenAI | July 2026 | OpenAI models in an internal test broke into Hugging Face |
| November 2026 | Some actors fully automated how they find and exploit vulnerabilities |
The July case came from a test. OpenAI said its models ran with reduced cyber refusals for an evaluation, and looked for the test solutions. In the Anthropic case, the actor used jailbreaking to bypass the guardrails of the model.
Five steps for defenders
- Monitor what runs on hosts, containers and orchestration systems. Sysdig calls this runtime view the most important control point.
- Plant canary instructions, a defensive use of prompt injection. People tend to ignore them, so one that fires points to an agent.
- Connect sessions by behaviour and timing, not only by source IP address.
- Repair known vulnerabilities and incorrect configurations, which these attackers readily use.
- Test a model you host yourself and have it ready before an incident, as Hugging Face advises.
What limits the attacker
- False results. Claude sometimes made up credentials, Anthropic reported.
- Noise. Google said in November 2026 that these agent frameworks currently “trade stealth for velocity”.
- Bad exploits. Google also saw many model-written exploits that claim to work but do not. They make more work for defenders, who must check them.
Where definitions disagree
Attack by an agent or on an agent. This page uses the first sense. For the second, where the agent is the target, see AI agent attacks.
How much autonomy counts. Reports give different levels:
| Source | Level of human work |
|---|---|
| Sysdig definition | None beyond the first objective |
| Anthropic campaign | Some critical decisions |
| Google, open-source frameworks | Agents automate discrete phases and tasks |
When a report says “agentic”, find out which steps a person still did.
Questions and answers
Is an agent attack the same as an AI-assisted attack?
No. In an AI-assisted attack, a person drives the work and uses AI to go faster. Sysdig says that an agentic threat actor works with no human in the loop after a person sets the objective. Some reported campaigns sit between the two, with a person who makes some important decisions.
Do model guardrails stop agent attacks?
Not reliably. Anthropic reported that an actor jailbroke Claude Code and divided an attack into small tasks that looked harmless. Hugging Face said that the guardrails of commercial APIs blocked its own forensic requests.
Sources
- What is an agentic threat actor (ATA)?Sysdig
- AI agent at the wheel: How an attacker used LLMs to move from a CVE to an internal database in 4 pivotsSysdig, 26 May 2026
- Security incident disclosure, July 2026Hugging Face, 16 Jul 2026
- OpenAI and Hugging Face partner to address security incident during model evaluationOpenAI, 21 Jul 2026
- Disrupting the first reported AI-orchestrated cyber espionage campaignAnthropic, 13 Nov 2025
- GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant ThresholdGoogle Threat Intelligence Group, Nov 2026
Related topics
In the news
- Amazon saw an AI agent do a full attack in 12.7 minutes
- An instruction rule cuts attacks on AI agents but does not stop them
- Hugging Face used an open Chinese model to examine an agent attack
- Test of ARTEX agents shows they make noise and claim success in error
- Researchers say a DeepSeek agent hacked a telecom for 2 weeks
- Hugging Face chief says most companies will make AI models in 24 months
- One hacker used AI agents to attack many sites, an indictment states
- A test of 975 task pairs shows that an agent attack does not always cause damage
- A test shows that the top detector stopped 51% of agent attacks