October 14, 2026
When Cybercriminals Turn Your AI Agent Against You
Imagine the following situation.

By David SEHYEON Baek
17 min read
You ask AI to write an email, glance at the result, and send it. Only afterward, when you read the message carefully, do you realize you should never have sent it in that form. The sentences were clear. The problem was what they said on your behalf.
You had left out essential context. The AI could not know what you had decided privately, which part of a relationship was sensitive, or where you intended to leave room for negotiation. It produced a reasonable response to an incomplete request. You accepted the wording as if the system understood everything behind it.
Now imagine giving that assistant permission to act. When it drafts a message, you still have an opportunity to catch a mistake. When it sends the message, shares supporting documents, and follows up with the recipient, the same misunderstanding can become a sequence of real actions. If a criminal deliberately introduces misleading information into the material your agent reads, those actions could serve the criminal's interests while appearing to carry out your wishes.
Meta's launch of Muse in September 2026 brings this question into everyday life. Meta describes Muse as a personal AI agent that can work across connected applications, handle tasks such as email and travel arrangements, and remember useful context. These are precisely the capabilities that make personal agents attractive. They also make the permissions behind them worth examining.
Meta has published substantial safeguards. Its descriptions include isolated execution, protection of credentials, an independent permission authority, and approval requirements for sensitive actions. The scenario below does not allege a breach of Muse or a way around those protections. It follows a fictional business owner using a broadly connected agent with weaker controls and hurried human oversight. The events and losses are invented. The underlying attack mechanisms draw on documented research and disclosures.
This is a worst-case scenario built from several failures occurring together. It is not a prediction that every agent, or every user, will suffer the same outcome.
The Permissions Accumulated Quietly
Daniel runs a small international services company. His day moves between client proposals, supplier questions, invoices, travel arrangements, and messages from people working in different time zones. He has good reasons to want help. Too much of his attention goes into finding information he already has.
He begins cautiously. The assistant summarizes his inbox and drafts replies. It saves time, so he connects his calendar. Later, he adds access to his business documents and a personal folder containing travel records. He allows the agent to maintain contact details because outdated addresses have caused problems before. A task-memory feature keeps track of ongoing projects.
He still approves external emails. That reassures him.
Over several months, however, approval becomes a familiar interruption. The agent has prepared hundreds of useful messages. Daniel increasingly reads its short explanation, checks the first few lines of a draft, and presses send. When several documents are attached, he recognizes the filenames without opening each one. He is approving something, but he is no longer examining all of it.
The configuration has limits. The agent cannot log directly into his bank, administer his identity provider, or open files outside the connected accounts. Its access to business records is read-only. It can draft and send email after approval, while contact updates and ordinary task-memory writes proceed under standing permission. Those boundaries will determine what the attackers can achieve.
Even within them, the assistant can see an unusually complete picture of Daniel's work. His inbox contains negotiation history. The document store contains commercial proposals and supplier records. His calendar explains when he will be unavailable. Travel documents provide personal information unrelated to the business task he is asking it to perform.
A human employee would rarely receive this combination of access on their first day. Daniel has granted it gradually, one useful feature at a time. No single permission screen has shown him the whole arrangement.
The criminals do not initially possess that picture. Their starting point is more modest. They control the mailbox of a small supplier that has been corresponding with Daniel about a genuine contract renewal. The original mailbox compromise happened elsewhere. It gives them a real conversation, an authentic sender, and a reason to contact him.
They do not need to guess his entire life. They need one request his assistant is likely to process.
The Message Addressed Two Different Readers
On Monday morning, a supplier email arrives while Daniel is traveling. It concerns a routine administrative update before the renewal can proceed. The subject belongs to an existing conversation. The attachment uses the supplier's familiar branding. The sender is the same account that sent last month's invoice.
Daniel asks his assistant to review the outstanding renewal work and prepare whatever needs his attention. The agent retrieves the new message because it is relevant to the task. This relevance is the attackers' opportunity.
The document contains normal information for Daniel and additional material aimed at an automated assistant. The latter presents itself as processing guidance. It describes which records should be gathered, how an alternative administrative contact should be treated, and which items supposedly need to accompany the renewal. The requested supporting material extends beyond what the supplier legitimately requires.
Some of the content is visible in the document. Other material appears in text that the extraction pipeline includes but that a quick visual review would easily miss. This depends on how the application reads documents. An instruction placed in an unused metadata field does nothing if the agent never receives it. Here, the relevant text reaches the model through the document parser.
The attachment does not need to contain a conventional executable. Its dangerous component is an instruction that has arrived through a channel meant to carry evidence.
This is indirect prompt injection. Daniel has instructed the assistant to help with a renewal. The attacker-controlled document tries to redirect how that work is done. The attack succeeds at its first stage when the assistant treats external content as authority over its own behavior, rather than as a claim made by a supplier.
NIST has examined this kind of agent hijacking. Its explanation centers on the difficulty of keeping trusted instructions separate from untrusted information when both enter an agent's working context. A document can legitimately describe a procedure. It cannot legitimately grant itself permission to search unrelated private files or redefine what the user has approved.
The resemblance to social engineering is practical. A fraudulent request tells a human employee that a senior manager has approved an exception. A malicious document can make a similar claim to an agent. Urgency, familiarity, and apparent relevance can all be used to push the recipient toward the wrong action. The model does not need to feel fear or trust as a person does for those patterns to influence its output.
In this fictional deployment, the model follows enough of the document's instructions to prepare the wrong plan. That is a security failure, not an inevitable consequence of opening any document. A system that rejects the injected instructions or blocks the resulting actions would stop the chain here.
His Assistant Assembled the Evidence
The agent searches Daniel's connected files. It finds the existing supplier agreement, which is relevant. It also retrieves an internal proposal containing customer pricing, a business bank statement, and an identity document stored with travel records. The malicious administrative requirements have given it a misleading reason to include them.
Nothing in the file service looks like an unauthorized login. Daniel previously granted the connector access. The requests arrive through the expected service identity and remain within its permissions. The file service can establish that the caller is allowed to read a document. In this configuration, it does not know whether the current supplier renewal justifies that read.
This is where broad access becomes dangerous. A connector can be correctly authenticated while the task it performs is wrong. Permission to retrieve a document also does not establish permission to disclose it to this particular recipient for this particular purpose.
The assistant prepares a reply with a bundle of attachments. Its summary describes the bundle as the records needed to complete the renewal. The outward-facing approval screen displays the recipient and attachment names, but gives Daniel no independent assessment of whether the requested records are appropriate. The explanation comes from the same agent whose interpretation has already been manipulated.
Daniel recognizes the supplier. He is boarding soon. He approves the message.
The email leaves through his genuine account. The criminals receive commercially sensitive material and personal identification data. The system has not bypassed the send approval. Daniel has approved an action on a false understanding of its purpose and contents.
This is why simply placing a person somewhere in the process is insufficient. A person who sees the exact documents, understands the business need, and questions the recipient can stop the attack. A person who accepts a reassuring summary can become the last step that completes it.
The incident is also not prevented merely by keeping passwords away from the model. That protection remains valuable. But the agent does not need to know Daniel's password to use an email connector that already acts on his behalf. In this scenario, the attackers obtain the benefit of his authorized services without taking possession of the credentials themselves.
The distinction between read and write access needs care too. Read-only access to a document repository prevents modification there. It does not prevent the agent from copying what it reads into an email, a form submission, or another permitted output. Data can leave through a different tool.
A confidential document, a browser, and an email connector may each have defensible permissions when considered separately. Their combination deserves its own review.
The Lie Survived the Conversation
After sending the renewal packet, the agent tidies up. It updates the supplier contact record with the alternative administrative address and writes a task note saying that the renewal documentation has been completed. In its summary, the supplier's assertion that the new contact is authorized has become an apparently settled fact.
This write is permitted under Daniel's standing settings. The system has no rule requiring separate verification before external correspondence changes a trusted business contact. It also fails to preserve a clear difference between what the supplier claimed and what Daniel independently confirmed.
Tuesday's conversation begins with that contaminated record.
When Daniel asks what remains to be done, the assistant retrieves its own task note. It no longer needs the original malicious document in its active context to repeat the false assumption. The short summary has stripped away the source and uncertainty that would have helped him assess it.
Persistence here does not mean that the attacker has rewritten the model's underlying weights. The durable material is a contact entry and stored task context. That is enough to influence later work. If the system did not support those writes, or required independent verification of consequential changes, this part of the scenario would fail.
Microsoft has documented real-world attempts to manipulate assistant memory through promotional links and embedded instructions. The observed attempts sought to bias future recommendations. They demonstrate that influencing what an assistant retains is already an attack objective outside a laboratory.
A similar problem can develop when several agents collaborate. Suppose a document-reading agent passes a summary to an administrative agent. If the summary says that a change is verified but omits that the claim came from an untrusted attachment, the receiving agent may treat it as established internal knowledge. Splitting work among agents does not automatically preserve the trust boundaries between the sources they read.
Daniel sees continuity. The assistant remembers his project and seems to be keeping things organized. What it remembers is partly wrong.
The Payment Passed the Usual Checks
The criminals now understand the renewal much better. The stolen records reveal the contract amount, the expected payment window, and the language Daniel uses with the supplier. They also expose how his company handles commercial approvals.
On Wednesday, the compromised supplier mailbox sends a revised invoice and an explanation of changed banking details. Invoice diversion is an established fraud pattern. The added advantage here is the assistant's contaminated context and the unusually rich material it has already delivered to the criminals.
Daniel asks the agent whether the invoice matches the renewal. It compares the amount with the agreement and finds that it does. It sees the newly recorded administrative contact and treats the surrounding correspondence as consistent. It prepares an internal message asking accounts to process the payment and describes the documentation as checked.
The word "checked" hides several different questions. The amount matches. The supplier name matches. The conversation exists. None of those observations establishes that the new bank account belongs to the supplier or that an authorized person requested the change.
Daniel approves the internal email. An accounts employee enters the changed details after receiving his instruction. The company's workflow allows an owner's confirmation to substitute for an independent callback. No one contacts the supplier using a number taken from a separately maintained record.
The bank still requires Daniel to authenticate and approve the transfer. He does both. The agent has never been given banking access, and the criminals have not defeated the bank's multifactor authentication. Daniel believes he is paying a legitimate supplier because the supporting work appears to have been completed.
The company sends $186,000 to an account controlled by the fraud operation. Authentication establishes that Daniel approved a transaction. It does not establish that the commercial explanation on which he relied was true.
This chain could have been broken without asking the AI to become a perfect fraud investigator. A mandatory verification process for changed payment details, using a previously trusted contact route, would have introduced evidence outside the compromised conversation. An independent second approver with access to the original records might also have challenged the change.
Instead, the assistant's confident explanation travels from Daniel to accounts and then into the payment decision. Each participant assumes that someone earlier in the process has resolved the uncertainty.
The Breach Reached Beyond the Money
By Thursday, the criminals have more than a diverted payment. They possess a customer pricing document that Daniel's company had no reason to share with the supplier. It reveals margins, negotiation room, and information about another organization. The personal records provide material for more convincing impersonation attempts.
The criminals send Daniel a sample of what they received and threaten disclosure. They identify a customer whose confidential information appears in the files. Now the problem extends beyond recovering money. Daniel must determine which relationships and obligations the disclosure has affected.
A bank may be able to pursue a transfer recall. It cannot recall a copied identity document or make an attacker forget a confidential commercial position. Even if the immediate fraud is contained, the information can support later approaches that refer to genuine transactions and private details.
Another route is possible if Daniel's agent can contact customers. A manipulated assistant could prepare seemingly routine messages that send recipients to an attacker-controlled document or portal. If Daniel approves them, the messages would come from his real mailbox and carry the credibility of an existing relationship. The recipients' own assistants might then process the hostile material.
Researchers demonstrated a related possibility in the Morris II work, using self-replicating adversarial prompts in experimental AI email systems. Their results support concern about propagation between vulnerable applications. They do not establish that a universal AI worm is spreading through every personal assistant. Each receiving system would still have to encounter the content and fail its own controls.
The same restraint is needed when discussing physical consequences. Daniel's assistant cannot unlock a door, disable an alarm, or change a medical device because those systems are not connected. If an agent is given control over a home, vehicle, or operational system, the risk must be assessed for those specific functions and their separate safeguards. Email access is not automatic control over the physical world.
The realistic worst case is already severe without adding impossible capabilities. Money has left the business. Confidential information has left its intended audience. An attacker has gained material that can be used against Daniel and people who trusted him.
The Logs Showed Authorized Activity
Daniel discovers the fraud when the real supplier asks why its invoice remains unpaid. He opens the original messages properly for the first time. The documents his assistant sent are there in the thread. So is his approval.
The first technical review finds no unusual sign-in to Daniel's email account. There is no evidence that his password was stolen. The file reads came from the connected application. The outgoing messages used its normal workflow. Investigators looking only for malware or a new foreign login could initially miss what happened.
The useful investigation follows the agent's actions. Which external document entered the task? What text did the parser extract? Which files were retrieved afterward? What did the agent propose, what did Daniel actually see, and what did the execution service send? When was the contact record changed, and what source justified the change?
Those questions require records from several layers. A chat transcript alone may omit the attachment bytes, the exact tool arguments, or the contents of an approval panel. The team needs timestamps, document versions, connector actions, permission decisions, and stored-memory changes. These records should be held outside the agent's ability to alter them and protected because they may themselves contain sensitive information.
The evidence reveals a chain of familiar operations serving an unauthorized purpose. Reading the agreement was permitted. Reading the other documents was technically permitted. Preparing a message was permitted. Daniel permitted sending it. The application enforced parts of its configuration while failing to protect the meaning of the task.
There is precedent for the core technical risk. Microsoft has described the now-fixed EchoLeak vulnerability, CVE-2025โ32711, as a prompt-injection chain that could expose limited internal data under certain conditions. Researchers showed how attacker-controlled email content could influence Copilot's handling of information available to the victim. The disclosed "zero-click" attack depended on the relevant AI processing and vulnerable data flow. The user did not have to open the malicious email personally for its contents to reach the assistant.
A different route would involve the software surrounding an agent. A malicious connector, compromised extension, stolen session, or vulnerable execution service can create more conventional security failures. Invariant Labs demonstrated tool-poisoning attacks involving the Model Context Protocol, or MCP, which connects agents with tools and data sources. Malicious tool descriptions influenced agent behavior, including how other tools were used. Connecting tools through a standard protocol does not make their descriptions or returned content trustworthy.
These routes should not be collapsed into one vague claim that "the AI was hacked." Manipulated context, stolen credentials, malicious connector code, and an exploited runtime require different evidence and different remedies. Daniel's case begins with manipulated content and succeeds through excessive access, unsafe persistence, and human approvals based on a misleading explanation.
The Attackers Had Assistants Too
AI-enabled tools make this scenario easier to scale, although they are not necessary for it. The criminals could use them to organize stolen correspondence, identify likely payment events, draft material in the language of the supplier, and sort the documents Daniel's assistant sends back. Human operators would still choose targets and decide how to exploit the opportunity.
They might also test whether different document styles influence an agent in an environment they control. Such testing would not guarantee success against Daniel's deployment. Model versions, document extraction, permissions, and independent controls can change the outcome. A realistic attacker works around uncertainty rather than possessing a universal command that controls every model.
Anthropic has reported an espionage operation in which attackers misused Claude Code to carry out substantial parts of cyber operations. The same disclosure described mistakes, including fabricated credentials and overstated results. That account supports concern about practical AI-assisted operations while also showing why claims of flawless autonomous hacking deserve skepticism.
For Daniel, the most dangerous assistance may be ordinary analytical speed. Once the criminals obtain a folder of business documents, they can use software to find the details most useful for fraud and extortion. A large quantity of stolen data becomes a set of specific, convincing requests.
There is another risk worth separating from theft. Attackers may want an agent to recommend the wrong supplier, omit a warning, or keep returning to a manipulated source. Nothing needs to leave the victim's account for that influence to harm a decision. An assistant trusted to filter information can be targeted because of what it causes its user to believe.
That brings the scenario back to the original email problem. The assistant can generate an answer that sounds appropriate even when its understanding is incomplete. A criminal can try to choose which false assumptions fill the gap.
The Controls That Would Have Changed the Story
Daniel's recovery begins by stopping further agent activity and preserving the evidence. The team suspends scheduled tasks and pending actions, disconnects the affected integrations, and examines the altered contact and memory records. It contacts the bank about the transfer and the supplier through a separately verified channel.
Changing a password alone would not be an adequate response. Depending on the connected services, application grants, refresh tokens, or active sessions may need separate revocation. Deleting the original email would not remove a false contact entry or a task note already saved elsewhere. Recovery must address the places the incident actually changed.
After containment, the company redesigns the workflow. The assistant that reads supplier correspondence receives access to a project-specific collection. Personal travel documents and unrelated customer pricing are excluded. The business accepts a little more setup work in exchange for reducing what one mistaken task can expose.
Its permissions are also made narrower. Searching a project folder, preparing an email, sending that email, changing a trusted contact, and initiating a payment are treated as separate operations. The agent's natural-language instruction to be careful is supplemented by controls in the services that execute those operations.
This is consistent with OWASP's treatment of excessive agency. The risk depends on the functionality available to an agent, the permissions behind it, and how independently it can act. A stronger model can help, but downstream authorization should still deny an action that the workflow does not permit.
The revised approval screen shows the actual recipient address, the exact attachments, and a useful view of their contents. It identifies when a destination is new or when the proposed disclosure includes information from outside the current project. Daniel is asked to approve a specific external action. The permission does not silently carry over to a different recipient or a revised attachment set.
For a technical implementation, approval should be bound to the operation that will execute. If the destination, amount, or document bundle changes, the earlier approval should no longer authorize it. This closes a gap between what the user reviewed and what the tool eventually does. It also makes later investigation more reliable.
Changing supplier banking details now requires verification outside the email conversation. The contact used for that check comes from a separately governed record that the assistant cannot rewrite on its own. This prevents an attacker from changing the verification route and then using that changed route to validate the fraud.
The company also separates what a source says from what the business has confirmed. Agent memory may record that a supplier requested an address change. It may not promote that request into verified payment instructions without the required process. Stored notes retain their origin and can be reviewed, corrected, and expired.
Outbound communication receives its own controls. A document may be readable for an internal task without being eligible for external sharing. An ordinary web request can also carry data outward, so monitoring only the email send function leaves gaps. Controls should examine the actual destination and the information crossing the boundary, including permitted services that host attacker-controlled accounts or documents.
Credentials remain isolated from the model. Tokens should have the minimum useful scope and a limited lifetime, with revocation available when necessary. Where MCP is used, its security guidance calls for validating the intended token audience and rejects token passthrough. These measures address credential misuse; they do not replace checking whether the action itself is appropriate.
Meta's published Muse architecture illustrates why enforcement outside the working agent deserves attention. Meta describes a separate Sentinel component that governs connector actions and network egress, with sensitive credentials kept away from the agent's runtime. Those are vendor-described protections, not a guarantee that every possible attack is defeated. The useful design principle is that an agent persuaded to behave badly should still encounter boundaries it cannot rewrite.
NIST's work on agent identity and authorization addresses a related organizational question. A company needs to know which agent acted, whose authority it used, and what that authority covered. Giving every automated task the owner's broad identity makes those questions harder to answer and increases the consequences of a mistake.
Security testing should therefore reproduce the actual work. A benign test document can request an inappropriate external disclosure. A simulated supplier message can try to alter a trusted contact. The goal is to confirm that the workflow blocks the consequential action, preserves the source history, and gives a reviewer enough information to understand the problem. A model that refuses an obvious malicious sentence in isolation has not demonstrated that the entire connected process is safe.
Reading Before Sending
Return to the moment when you read an AI-generated email after sending it and realize it says something you never intended. You gave the system incomplete context, then accepted its response without checking whether it reflected your wishes.
Better instructions can reduce that problem. They cannot make an assistant read your mind or establish that every document it encounters is honest. An attacker may understand your task well enough to introduce misleading information that appears relevant to completing it.
You want agents to help with difficult, time-consuming work. That requires giving them enough access to be useful. It also requires deciding which decisions remain yours and ensuring that the systems executing their actions enforce those limits, even when an agent offers a convincing reason to proceed.
For Daniel, the failure becomes painfully clear when he opens the attachment bundle from Monday. It contains documents he would never knowingly have sent to that supplier. His assistant had described the packet as routine. He approved it before looking inside.
The next time an agent says something is ready to send, examine what is actually leaving, who will receive it, and which claims still need independent verification. Pressing approve should follow that review. It cannot replace it.