October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk7 min

When AI Hacks AI: How LLM-Powered Agents Change Offensive Security

AI agents can turn hostile instructions in an email or webpage into actions when their tools and permissions allow it. Here is what evaluations show—and what defenses can limit the impact.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An AI agent can be manipulated through an email, webpage, or document—but the danger is not the text alone. It is what the agent is allowed to do after reading it. If a system can access private data, send messages, run code, or change records, hostile content may steer those legitimate capabilities toward an unauthorized action. That is a demonstrated risk in controlled evaluations, not proof that general-purpose agents are autonomously compromising organizations at scale.

What does “AI hacks AI” mean?

The phrase covers two different developments. In one, a human security tester uses an AI system to automate bounded tasks such as reconnaissance or penetration-testing steps. In the other, an attacker manipulates an AI-enabled application so its agent misuses tools it was legitimately given. Both matter to offensive security, but neither by itself shows that an agent can independently break into real organizations at scale.

As an Amazon Associate I earn from qualifying purchases.

AI helping a human security tester

The 2025 RedTeamLLM preprint by Brian Challita and Pierre Parrend explores automating penetration-testing tasks with a summarize, reason, and act design. Its evaluation uses entry-level but non-trivial capture-the-flag challenges. That is evidence about bounded task automation, not evidence of autonomous criminal intrusions or large-scale zero-day discovery.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An attacker manipulating an agent

Agent hijacking is a form of indirect prompt injection: an attacker places instructions in material an agent may read, such as an email, document, webpage, or tool result. The agent may then treat those instructions as relevant to its task and take an unintended action. NIST’s Center for AI Standards and Innovation (CAISI) describes the core difficulty as inadequate separation between trusted instructions and untrusted task data.

Why does an agent create a different security risk from a chatbot?

A chatbot that only returns text can still mislead a person, but an agent may also have tools, memory, access to data, and repeated chances to act. Its exposure therefore includes the model and the surrounding integrations: which accounts and files it can reach, which tools it can call, and which actions those tools permit. OWASP’s AI Agent Security Cheat Sheet identifies risks including prompt injection, tool abuse and privilege escalation, data exfiltration, memory poisoning, goal hijacking, excessive autonomy, high-impact action abuse, cascading failures, supply-chain attacks, sensitive-data exposure, and denial-of-wallet. This is a risk taxonomy, not a claim that every listed risk is a confirmed incident.

A useful way to reason about a hijack is to follow the path from source to side effect:

  1. Attacker-controlled source: an email, webpage, document, or result returned by a tool contains malicious or misleading instructions.
  2. Agent reads it in context: the content is processed while the agent is pursuing a legitimate task, potentially alongside higher-priority instructions.
  3. The content influences a decision: the agent changes what it plans to do or how it interprets the task.
  4. An available action becomes the sink: a tool sends, shares, executes, modifies, purchases, or otherwise changes something.

A malicious string does not automatically cause an exploit. Whether it works depends on the model’s behavior, the application’s design, the available tools, and their permissions. OpenAI’s March 2026 discussion of prompt-injection defenses likewise frames the problem around untrusted sources and consequential destinations, rather than relying only on spotting suspicious wording.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How could an email or webpage hijack an assistant?

Consider an assistant asked to summarize an inbox. It has permission to read messages, and a malicious email includes instructions telling it to locate sensitive information and forward it. If the assistant also has a sending capability, a successful manipulation could turn read access into disclosure. OWASP uses this kind of email-assistant scenario to illustrate excessive agency.

The same pattern can apply to a webpage or document if the agent reads it while working on a task and can then use a tool to take an external action. Possible consequences depend on the system’s actual capabilities: unauthorized access to data, sending information outward, code execution, phishing, or changes to records are examples discussed in evaluations and security guidance. They should not be mistaken for a claim that each outcome has occurred in a real deployment.

The practical question is not only “Can the model recognize this instruction as malicious?” It is also “What could it do if it followed it?” An assistant with read-only access to a narrow set of messages has fewer ways to cause harm than one that can search broadly and send email without review.

What do agent-red-team evaluations show?

Published evaluations show that agents can be vulnerable under test and that results depend on the attack method and task. Their numbers describe specific benchmarks or competitions; they are not estimates of the share of deployed agents compromised in the wild.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Evaluation Reported result What the figure describes
NIST CAISI, 2025 11% baseline attack success; 81% for the strongest novel attack Held-out Workspace tasks using an upgraded Claude 3.5 Sonnet agent; attacks were developed for that model.
UK AI Security Institute (AISI), 2025 22 agents, 44 scenarios, 1.8 million submitted attacks, and more than 60,000 policy violations A competition involving frontier AI agents. Reported violations included unauthorized data access, illicit financial actions, and regulatory noncompliance.

The NIST CAISI figures show why a fixed list of known attacks may be a weak test: an attack adapted to the target performed very differently from the strongest baseline in that evaluation. They do not establish an 81% real-world compromise rate. AISI also reported that policy violations appeared for most tested behaviors within 10–100 queries in its benchmark. That result describes the competition’s testing, not a universal query threshold for deployed systems.

AISI’s study summary found limited correlation between robustness and model size, capability, or inference-time compute in its evaluation. A larger or more capable model therefore cannot, on that evidence alone, be treated as secure. Nor do these results establish that any particular model is categorically safe or unsafe outside the tested conditions.

Can AI agents carry out a cyberattack on their own?

The evidence here supports a narrower answer: AI can assist bounded security tasks, and manipulated agents have produced policy violations in controlled evaluations. It does not establish that a general-purpose agent can independently compromise real organizations at scale. “On its own” also hides important design choices. An agent might select and sequence actions without a person approving every step, while still depending on tools, permissions, and an environment supplied by people.

For a real system, distinguish what the agent can plan from what it is authorized to do. A model may propose an action that its application blocks; conversely, a relatively ordinary mistake can become serious if connected tools have broad authority. Assessing offensive capability therefore requires looking at the whole system, not just the model’s text output.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How should teams reduce the risk?

The most reliable design goal is to limit the consequences of manipulation, including when detection fails. OWASP recommends minimizing tool functionality and permissions, using per-tool scopes, authorizing sensitive actions, and testing abuse cases. OpenAI describes additional controls in its own approach; those descriptions are not a universal standard or an independent guarantee.

Limit access and separate read from write

  • Give each tool only the data and operations required for its task. Prefer a read-only capability when the agent only needs to inspect information.
  • Separate reading from sending, sharing, editing, or deleting. Avoid bundling broad write authority into an otherwise read-focused integration.
  • Use narrow, per-tool scopes so access to one resource does not imply access to an entire account or workspace.

Put review around consequential actions

  • Require a person to approve high-impact or externally visible actions, such as sending a message or transmitting sensitive information.
  • Show the user what will be sent and where it will go before requesting confirmation. Where appropriate, block the transmission rather than asking for approval.
  • Favor reversible actions where possible, and make the proposed action and its target clear enough for a reviewer to assess.

For OWASP’s email example, the concrete control is to keep mail access read-only where possible, remove unneeded sending functionality, and have the agent draft a reply for the user to review and send.

Monitor activity, but do not confuse monitoring with prevention

  • Log tool calls and the actions they cause so teams can investigate unexpected behavior.
  • Use rate limits to constrain repeated or high-volume actions and help reduce the damage from a failure.
  • Do not treat monitoring or rate limiting as a substitute for least privilege: OWASP notes that these controls do not prevent excessive agency by themselves.

Test the deployed system, not just the model

Red-team evaluations should include the agent’s actual tasks, tools, permissions, and data sources. NIST CAISI recommends adaptive evaluations, multiple attack attempts, task-specific analysis, and shared evaluation frameworks. OWASP recommends adversarial testing and regression checks. Because attacks developed for a particular target can perform differently from baseline attacks, teams should revisit tests as the agent, its integrations, or its permissions change.

When assessing a particular assistant, start with one concrete question: if it is fooled by material it reads, what can it actually do? The answer is determined as much by its tools and permissions as by its model.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.