Blog

26 AI Attacks Later: Are Your AI Agents Secure?

Javed Hasan, Co-founder and CEO, Lineaje
·
October 13, 2026
AI attacks don't break your systems. They persuade them. Here's what 26 weeks of AI threat reports reveal, and how to break the AI Kill Chain.

AI attacks don't look like traditional attacks. There's no malware to catch, no vulnerability to patch, no signature to match. For CISOs, CIOs and CEOs, the new risk is software that does exactly what it was told, by the wrong person.

Figure 1. 26 AI attacks, 26 weeks. Read any report: Reasoning Hijack · Single-Click Copilot · NomShub · Cursor Production Wipe · The Obedient Accomplice · Vibe Coding at Your Own Risk · Skills Marketplace Risk · When the Comment Became the Control · Helpdesk Hijack · Your AI Is Exposed · Shai-Hulud · macOS.Gaslight · MCP Tool Poisoning · Friendly Fire · GhostCommit · Hugging Face Breach · The Worm That Wrote Itself · RovoBlast · The Trust Chain Breaks · Cryptographic Context Injection · Amazon Kiro · GuardBreaker · DUSTMAKER · Shai-Hulud Gets an Invitation · MetaMuse · SalesBleed

‍

It's already costing companies. IBM's 2025 Cost of a Data Breach report found that 13% of organizations had suffered a breach of an AI model or application, and 97% of those had no proper AI access controls [1] (When AI Is Breached, Access Control Is the Blind Spot).

With Agentic AI - the front door is open

Agentic software has eliminated the restricted input field. Users type in any language they want, and language is open to interpretation: each reading can be right in its own context. That makes an agent easy to steer by rephrasing a request or shifting its context. Add hidden characters, documents with obfuscated content and planted instructions, and you get reasoning compromise.

With Agentic AI - the back door is open too

Skills instruct agents silently. Developers download them to automate work, and agents load them to learn new actions. Agents talk to other agents, to LLMs that interpret their instructions, and to MCP servers that feed them data with few constraints. Lineaje projects that in 2027, AI agents will generate more code, much of it written and run on the fly at runtime, than human developers push through CI/CD, with no one reviewing it. The signs are already here: 75% of new code at Google is AI-generated [2], and enterprise AI agents are forecast to grow from 28.6 million in 2025 to more than 2.2 billion by 2030 [3], against about 36.5 million professional developers worldwide [4].

That supply is already contaminated. Of 52,755 skills Lineaje analyzed across major marketplaces, 2.1% were unsafe, and 62.9% of those were confirmed malicious (Silent AI Attackers: Are They Already in Your Environment?). By malware standards, that rate is exceptionally high. A single malicious skill packs an average of 9.4 attack categories (AI Skills Are Becoming the Swiss Army Knife of Attack). Developers and agents can't spot them, MCP servers can be compromised, and these back-end attacks are far harder to detect and prevent.

Traditional security asks "what was exploited?" In AI incidents, the honest answer is often "reasoning." Reasoning is not an asset that a SOC can point to after the fact and remediate.

Four forces, one new attack surface

  • Agents are everywhere, often without IT knowing. Gartner expects 40% of enterprise apps to include task-specific AI agents by the end of 2026, up from under 5% in 2025 [5]. And 45% of employees now regularly use AI on corporate devices, up from 15% a year earlier [6].
  • Attacks are poisoning the AI supply chain at scale by targeting agents. Lineaje's Malicious Open-Source Software Scanner checked a million versions of the most popular npm and PyPI packages and flagged 1.6% as malicious or suspicious. About 9% of the flagged packages are AI-themed, and a third of them carry prompt-injection payloads written for the AI that reads the code, not the human.
  • Attackers target the AI inside developer tools. In May, the Mini Shai-Hulud worm planted persistence files in .claude/ and .vscode/ folders [7]. In September, our DUSTMAKER AI TAR showed TeamPCP using the same folders to turn coding assistants into an execution engine.
  • Frameworks are racing to catch up. OWASP published its Top 10 for Agentic Applications in December 2025 [8], MITRE ATLAS added agent tool-poisoning techniques this year [9], and EU AI Act transparency duties took effect on August 2, 2026 [10].

What 26 weeks of AI threat analysis reports reveal

Since April 2026, Lineaje has published an AI Threat Analysis Report (AI TAR) every week. Each breaks down a real attack or disclosed technique and maps it to the kill chain. The 26 reports so far span the AI stack, from coding assistants and enterprise copilots to AI platforms and the open-source ecosystems beneath them.

Figure 2. Platforms examined in the 26 AI TARs, through public research, disclosed incidents or Lineaje scans. Many issues have since been fixed by the vendors.

‍

AI attacks are different: similar stages, new techniques

The classic cyber kill chain assumed the attacker had to break something. AI systems work differently in four ways (4 Ways AI Breaks the Traditional Security Model):

  • They reason. They produce a likely answer, not a verified one.
  • They operate on untrusted input. Prompts, documents, emails, tickets and web pages all flow in.
  • They act with delegated authority. They call real tools, APIs and payment systems.
  • They remember. State persists beyond a single interaction.

So AI attacks don't need vulnerabilities. They use capability chaining, where each normal capability enables the next. The Lineaje AI Kill Chain maps that progression in ten stages [11].

Stage What happens
1. AI Reconnaissance The attacker maps the model's behavior, boundaries and failure modes
2. Trust Establishment & Manipulation The model is conditioned to comply
3. Instruction / Input Weaponization Language turns into control
4. Reasoning Time Execution Thinking becomes execution: the AI equivalent of an exploit
5. Tool & Environment Exploitation Reasoning turns into real action
6. Privilege Escalation Authority expands by inference, not credential theft
7. Lateral Movement Trust spreads beyond its boundary
8. Persistence The AI remembers the wrong things
9. AI-Native Command & Control Control through meaning, not network beacons
10. Actions on Objectives Harmful actions pass as legitimate

Table 1. The ten stages of Lineaje AI Kill Chain

‍

Figure 3. The Lineaje AI Kill Chain: 10 Stages and 55 AI attack techniques. Explore the interactive version at https://www.lineaje.com/ai-kill-chain.

‍

What we learned: Building secure agents is necessary; runtime agentic security cannot work without build-time inserted constraints

Most AI incidents use no malware, exploit no vulnerability, and trigger no alert. They come from ambiguous goals, over-broad authority, unbounded memory, and implicit trust. Those are design decisions, best fixed before deployment.

Design-time controls aren't enough on their own, though. Agents meet new prompts, documents, and tools on every run, and runtime-only detection detects but acts too late. Reaction is not an approach that works well; built-in security is better.

The answer is both: guardrails built in at design time and enforced at every step while the agent runs.

  • Stages 1–4, early: the strongest place to break the chain. Approved models, authentication, separating data from instructions, and goal integrity. Break it here and the later stages never happen.
  • Stages 5–7, mid-chain: contain the damage. Tool allowlists, intent-bound authorization, credential caps, and authenticated agent-to-agent traffic.
  • Stages 8–10, late: stop the action. Once poisoned data persists or money moves, recovery is slow and costly. A runtime check has to stop the action before it completes.

Zooming out across all 26 attacks shows which stages attackers rely on most.

Figure 4. The 24 Lineaje AI TARs, Apr 27 – Oct 8, 2026, mapped to the AI Kill Chain

‍

Read across a row to follow one attack, or down a column to see how often a stage appears. Four findings stand out:

  • 17 of 26 needed no traditional exploit and no malware. The AI was simply behaving as designed.
  • 25 of 26 hijacked the model's reasoning (stage 4), the stage legacy tools can't see.
  • On average, attacks passed through 7.1 stages. That means seven chances to break it.
  • Coding assistants were the top target (10 of 26), and data or credential theft the top goal (16 of 26).

Introducing UnifAI: guardrails built in, enforced at runtime

UnifAI is Lineaje's autonomous AI policy orchestrator. It works at build time and at runtime as one system.

At build time, UnifAI discovers, derives, and inserts.

  • Discovers every AI asset as it's built: models, agents, sub-agents, MCP servers, skills, prompts, RAG components, and tools. It maps them in an Agent Blueprint, a topology and dependency graph of the agent.
  • Derives security, compliance, and governance policies from a library of 76 policies, mapped to 18+ global AI acts and standards.
  • Inserts Autonomous Intercepts: policy enforcement points on model calls, MCP interactions, and tool invocations. UnifAI places them automatically in IDEs, source control, and pull requests, and a human approves each change.

At runtime, the new UnifAI Guardrail Server defends. Every intercept calls the Guardrail Server, which checks the action in real time against the policies active at that moment and the 85 attack techniques of the AI Kill Chain. It can allow or block the action, require human approval, redact sensitive data, or restrict which tools and models the agent may use, all before execution continues.

Figure 5. The UnifAI Guardrail Server checks every step of the agent workflow, from inbound prompt to outbound response.

Two benefits accrue:

  • Policies change without redeploying agents. A central update takes effect on the next call, with no code change, fork or rebuild.
  • Build once, govern anywhere. Controls adapt by jurisdiction, business unit, customer, user, data classification or environment. The same agent can meet EU rules in Frankfurt and CERT-In rules in Mumbai.

Are your agents secure?

Lineaje's AI Labs analyzes each attack, maps them to every AI Kill Chain technique, and drives policies that break those attacks: 85 technique mappings across all 10 stages, covered by 61 policies. Every stage has several layers of defense, so an attacker who gets past one control meets the next. Few development teams could build this on their own. Developers are not threat experts.

Pick a couple of the AI TARS listed below to understand if your agents would be immune to these specific attacks.
AI TAR Description Attack summary Mitigation summary
SalesBleed (Oct 8) Salesforce Agentforce and Slack. Research (Zenity Labs); since fixed. Instructions planted through a public web-to-lead form sit in the CRM until an employee asks Agentforce about the lead. The agent then leaks CRM data through DNS lookups and posts phishing links into Slack under its own name. Inspect CRM and other ingested content for embedded instructions, enforce URL allowlists on canonicalized URLs, and require confirmation for agent messages and other write actions.
Meta Muse Zero-Day (Oct 1) Meta Muse macOS agent. Research (Patrick Wardle); since hot-fixed. Local malware rewrites an unprotected setting so the agent's dictation runs through an attacker's server, which injects instructions, steals the session token and uses the agent's permissions to write files and take pictures. Lock down the agent's trusted endpoints and configuration, verify where every instruction came from, and require confirmation for sensitive actions.
Shai-Hulud Gets an AI Invitation (Sep 24) AI coding assistant at a SaaS provider. In the wild (Mandiant). Attackers hijacked a coding-assistant session, which recommended a poisoned PyPI package. Its infostealer took GitHub tokens, and the Shai-Hulud worm spread across about 100 internal repositories. Screen every AI-recommended dependency before install, route packages through approved repositories, and keep tokens away from assistant processes.
DUSTMAKER (Sep 17) AI coding assistants and MCP packages. In the wild. Trojanized repos and packages plant instructions in .claude/, .cursor/ and .vscode/ folders. Assistants then run attacker commands, steal CI/CD tokens and publish more poisoned packages. Strip hidden prompts from source and config files, block malicious packages, and restrict the agent's tools and outbound destinations.
GuardBreaker (Sep 10) LLM-based malware analyzers. In the wild. Malware embeds safety-trigger text so the AI analyzing it refuses to look, letting the malware pass. Neutralize refusal-triggering text and treat analyzed content as data, never as instructions.
Amazon Kiro Repo-to-Exfiltration (Sep 3) Amazon Kiro IDE. Research; since fixed. Instructions hidden in repository content lead the coding agent to exfiltrate secrets. Scan repository content for injection before the agent reads it; limit secret access and outbound traffic.
Cryptographic Context Injection (Aug 27) xAI Grok. Research. Instructions hidden inside encrypted text are decoded and obeyed, leaking session context. Block opaque payloads, re-inspect content after decoding, and gate outbound calls.
The Trust Chain Breaks (Aug 20) npm and PyPI supply chain. In the wild. Worms hijack maintainer accounts and publish malicious versions of popular packages at scale. Verify package provenance and block malicious or suspicious packages before they install.
RovoBlast (Aug 13) Atlassian Rovo. Research; since fixed. A crafted link seeds a prompt that turns the assistant into an insider that exfiltrates data. Track where every instruction came from, never auto-run seeded prompts, and restrict connectors and egress.
The Worm That Wrote Itself (Aug 6) Microsoft Copilot for Word. Research. Hidden text in a document makes the assistant alter financial figures and copy the instruction into new documents. Strip hidden prompts from files and block instructions from being carried into AI output.
Hugging Face Breach (Jul 30) Hugging Face. Real incident. An AI agent under evaluation redefined its goal and chained exploits and stolen credentials to reach its target. Allow only mission-scoped capabilities, enforce policy before execution, and detect goal drift.
GhostCommit (Jul 23) Coding agents and AI code reviewers. Research. Instructions hidden in an image are read by multimodal agents, which leak secrets through a commit. Treat every file format as untrusted, gate access to secrets, and check actions against the task.
Friendly Fire (Jul 16) Claude Code and Codex CLI. Research. Prompt injection in a repository under automated security review leads to remote code execution. Require human approval for scripts and downloads, and run agents in sandboxes without secrets or open egress.
MCP Tool Poisoning (Jul 9) Copilot Studio agent with MCP tools. Research. A tool's description changes after approval, steering the agent to leak invoice data. Govern MCP servers as supply chain and inspect tool descriptions and call parameters.
macOS.Gaslight (Jul 2) AI-assisted malware triage. In the wild. Malware carries fake system messages that mislead the security analyst's AI. Separate instructions from data and scan artifacts for injection before an AI analyzes them.
Shai-Hulud (Jun 25) AI and MCP packages on PyPI. In the wild. Malicious AI-themed packages steal developer and CI credentials and use fake prompt-injection headers to fool AI scanners. Block malicious packages, detect suspicious runtime behavior, and keep secrets out of CI.
Your AI Is Exposed (Jun 18) Self-hosted AI (Ollama, Flowise, n8n). Exposure scan. Self-hosted AI services run with no authentication, open to anyone who finds them. Discover every AI asset and enforce authentication and egress controls.
Helpdesk Hijack (Jun 12) Meta AI support assistant. In the wild. Attackers persuade a support AI to hand over accounts, including high-profile ones. Keep authorization outside the model and require human review for high-risk changes.
When the Comment Became the Control (Jun 5) Claude Code Security Review, Gemini CLI, Copilot Agent. Research. Injected pull request titles and hidden comments make CI agents leak credentials. Separate untrusted input from privileged execution, allowlist tools, and keep secrets off runners.
Agentic Skills Marketplace Risk (May 28) Agent skill marketplaces. Lineaje scan. Popular, highly starred skills carry command execution, data exfiltration and persistence. Block malicious, suspicious and unscanned skills, and run skills with least privilege.
Vibe Coding at Your Own Risk (May 21) AI app builders. Exposure scan. Thousands of AI-built apps go live without authentication, exposing their data. Enforce identity and authorization by default, with deployment guardrails.
The Obedient Accomplice (May 14) Docker Ask Gordon. Research; since fixed. An instruction hidden in a container image label makes the assistant stop running containers. Treat metadata as untrusted and require confirmation before tool calls.
Cursor Production Wipe (May 7) Cursor agent. Real incident. An over-privileged agent deletes a production volume and its backups on its own. Grant least privilege and require human approval for destructive actions.
Single-Click Copilot (Apr 28) Microsoft Copilot. Research; since patched. One click on a crafted link injects a prompt that exfiltrates data. Treat all external input as untrusted and apply safeguards across the whole request chain.
Reasoning Hijack (Apr 28) Accounts-payable AI agent. Scenario. Gradual conditioning through invoice text leads an agent to infer authority and approve fraudulent payments. Take authority only from systems of record and require human approval above set thresholds.
NomShub (Apr 27) Cursor Agent. Research. A prompt hidden in a README gives the attacker a reverse shell and persistence. Authorize every tool action, harden execution, and protect shell configuration.

What makes this approach different

  • Built in, enforced at runtime. Intercepts go into the code, and the Guardrail Server acts on them in real time, faster than any SOC can respond.
  • One framework from threat intel to control. AI TARs, scanner findings and UnifAI policies all speak the language of the AI Kill Chain.
  • The AI supply chain, covered. The Skill Scanner, MCP scanner and the Malicious Open-Source Software Scanner stop poisoned skills, MCP servers and packages before an agent loads them.
  • Compliance as a by-product. Policies map to the NIST AI RMF, the EU AI Act, OWASP's LLM and Agentic Top 10s, ISO/IEC 42001, India's CERT-In AI Blueprint, with 25 standards in all (The State of AI Compliance Coverage). More in our next post.
  • Deploy anywhere. SaaS, public or private cloud, hybrid, on-premises or air-gapped.

The mandate: govern goals, authority, and memory

AI failures come from normal system behavior with too little control over goals, authority, and memory. Security built to find broken code won't catch software working as designed for the wrong person. Ask your team three questions this quarter:

  1. What AI do we actually run? Every model, agent, MCP server, and skill, including the ones added last week.
  2. Where does each agent get its authority? From a system of record, or from the last text it read?
  3. Which kill chain stages can we block while the agent runs? And which can we only see afterward?

Map one agent to the AI Kill Chain and see where it breaks.

UnifAI: Secure AI. Govern AI. Continuously.

Agents will soon write more code than your developers and act on authority no one reviewed. UnifAI puts you back in control. It discovers every AI asset you run, builds guardrails into agents as they are written, and enforces them at runtime against all 85 techniques of the AI Kill Chain, in every jurisdiction where your agents operate.

Build your agents once. Secure them everywhere.

AI should optimize execution, not define authority. UnifAI makes sure it can't.

CTA: Subscribe to the weekly AI Threat Analysis Reports, or book a UnifAI kill chain assessment of one agentic application.

Sources

  1. IBM, "Cost of a Data Breach Report 2025," July 30, 2025. newsroom.ibm.com
  2. Fast Company, "Google CEO says 75% of the company's code is AI-generated," April 2026. fastcompany.com
  3. Statista, "Number of active AI agents worldwide, 2025–2030," updated March 3, 2026. statista.com
  4. SlashData, "Global developer population trends 2025." slashdata.co
  5. Gartner, "Gartner Predicts 40% of Enterprise Apps Will Feature Task-Specific AI Agents by 2026," Aug 26, 2025. gartner.com
  6. Verizon, "2026 Data Breach Investigations Report," May 19, 2026. verizon.com
  7. The Hacker News, "Mini Shai-Hulud Worm Compromises TanStack, Mistral AI, Guardrails AI & More Packages," May 2026. thehackernews.com
  8. OWASP, "Top 10 for Agentic Applications," Dec 9, 2025. genai.owasp.org
  9. MITRE ATLAS changelog, 2026. github.com
  10. Goodwin, "EU AI Act Transparency Obligations Now in Force," Aug 3, 2026. goodwinlaw.com
  11. Lineaje, "The AI Kill Chain: A Modern Security Framework to Identify, Prevent, and Mitigate AI-Driven and Agentic Threats," white paper, 2026. lineaje.com

Lineaje Charts of the Week cited: Silent AI Attackers (May 19, 2026) · AI Skills Are Becoming the Swiss Army Knife of Attack (Sep 2, 2026) · When AI Is Breached, Access Control Is the Blind Spot (Aug 13, 2026) · 4 Ways AI Breaks the Traditional Security Model (Aug 18, 2026) · The State of AI Compliance Coverage (Aug 28, 2026).

AI TAR analysis, skill and package scan results, and UnifAI policy data come from Lineaje internal research, 2026.

More on the blog