Resources | Entersekt

Instruction drift

Written by Entersekt | Apr 7, 2026, 1:00:00 PM

Instruction drift occurs when an AI agent’s actions, decisions, or tool calls move away from the user’s original instruction. The agent may still appear to be completing the task, but its behavior has changed in scope, purpose, or authorization.

For financial institutions, this matters because an agent can read sensitive data, call APIs, initiate payments, or change account settings. A small change in interpretation can therefore become an unauthorized action. The control question is direct: did the agent do what the customer authorized, and nothing beyond it?

Key takeaways: instruction drift

  • Instruction drift occurs when an AI agent’s actions move beyond the user’s original instruction or approved scope.
  • Drift can result from prompt injection, ambiguous instructions, contaminated memory, delegation, or excessive permissions.
  • A factually correct response does not prove that the agent stayed within its authorized task.
  • Financial institutions should validate tool calls and high-impact actions against explicit constraints, not just review the final response.
  • Least-privilege tools, independent policy enforcement, approval controls, and audit records help reduce the risk of unauthorized actions.

What causes instruction drift?

Instruction drift usually occurs when new content, model outputs, memory, or tool results influence an agent more strongly than the original task constraints. The source may be malicious, ambiguous, irrelevant, or simply misinterpreted by the model.

  • Direct prompt injection: a user input attempts to override the original task.
  • Indirect prompt injection: a webpage, document, email, or API response contains instructions that the agent treats as authoritative data.
  • Context dilution: the original objective becomes less prominent as a long workflow accumulates intermediate content.
  • Memory contamination: stored information changes how a later task is interpreted.
  • Delegation drift: one agent or tool passes along a broader objective than the user approved.
  • Excessive agency: the agent has more functions, permissions, or autonomy than the task requires.

These causes are related, but they are not identical. Prompt injection is a manipulation technique. Instruction drift is the resulting loss of alignment between the agent’s behavior and the authorized task.

These risks make it important to define and enforce the limits of delegated authority, so an agent cannot expand its permissions beyond the task the user approved.

How is instruction drift different from hallucination?

Instruction drift is a change in what the agent is trying to do. Hallucination is an inaccurate or unsupported statement, interpretation, or result. An agent can hallucinate while following the right task, or drift while producing information that appears factually correct.

The distinction matters for control design. Accuracy checks can identify unsupported content, but they may not reveal that an agent has silently expanded the task. Scope validation must compare the planned and completed actions with the original instruction.

Why instruction drift matters in banking and payments

Instruction drift becomes a security issue when an agent can affect identity, money, access, or regulated data. An agent asked to summarize a transaction policy might instead send a message. An agent asked to prepare a payment could select a different beneficiary or exceed an approved limit.

In digital banking, the user’s identity is only one part of the trust decision. The institution also needs to understand the agent’s authority, the requested action, the transaction context, and any change between the original instruction and the final event.

This is closely related to trusted-agent design. A trusted agent needs verified identity, delegated authority, defined limits, revocation, and evidence of what it did. Instruction drift weakens that model by breaking the link between authority and action.

Entersekt explores the wider risks of agent adoption in When bots break the rules: How banks can safely harness AI for growth, including data exposure, access control, and evolvin fraud threats.

What can instruction drift look like?

Stage Authorized task Drifted behavior Potential impact
Research Compare payment providers Contact a provider or disclose internal requirements Unapproved external communication
Account support Explain a failed login Change recovery details Account takeover risk
Payment preparation Prepare a transfer for review Submit or amend the transfer Unauthorized movement of funds
Fraud investigation Summarize alerts Close an alert or alter a case record Loss of control evidence
Document processing Extract invoice details Follow instructions embedded in the invoice Data disclosure or tool abuse

How can organizations detect instruction drift?

Detection requires an independent comparison between the user’s instruction, the agent’s plan, the tool calls it makes, and the final outcome. Checking only the final response can miss unauthorized intermediate actions.

  1. Represent the user’s intent: record the user intent as structured constraints covering the objective, limits, entities, amount thresholds, permitted tools, and required approvals.
  2. Track the execution plan: capture the intended sequence of actions before the agent begins.
  3. Validate each tool call: confirm that the selected function, parameters, data, and target are inside the approved scope.
  4. Compare state changes: identify differences between the approved request and the action that would occur.
  5. Review high-impact deviations: pause for independent approval when an action affects money, identity, access, privacy, or external communications.
  6. Preserve evidence: retain the instruction, decisions, tool calls, approvals, and result so the event can be reconstructed.

Banks need to know when the bot has permission explains why accurate context and connected cuannel data matter when automated systems inform financial decisions.

Research on task drift describes a similar principle: the system should be assessed for changes in its objective after it processes external input, rather than relying only on the text it generates. See Microsoft Security Response Center research on task drift for the underlying concept.

How can organizations prevent instruction drift?

Prevention works best as a layered control model. A system prompt alone cannot enforce authorization if tools accept unrestricted parameters or if external content is treated as a trusted instruction.

Put these controls into practice by treating external content as untrusted, in line with OWASP’s guidance on prompt injection, and limiting tools to the authorized task. Validate actions independently against transaction controls, using verifiable intent to connect sensitive actions to explicit approval. Keep delegated authority time-bound and revocable, and test the complete workflow for unauthorized actions and side effects.

What standards and guidance are relevant?

Instruction drift is an emerging term, so organizations will usually map it to established security and governance categories rather than treat it as a standalone compliance requirement.

  • OWASP LLM and agent security: prompt injection, excessive agency, tool abuse, data exposure, and high-impact action abuse are closely related risks. OWASP recommends least privilege, constrained tools, validation, and human oversight for sensitive actions.
  • NIST AI Risk Management Framework: the framework and its Generative AI Profile support risk identification, measurement, management, documentation, and ongoing evaluation.
  • Identity and payment controls: authentication, authorization, transaction signing, delegated authority, audit logging, and risk-based decisioning help connect a person’s instruction to an agent’s action.
  • Agent payment protocols: emerging protocols such as Agent Payments Protocol address proof of intent, payment authorization, and transaction evidence for agent-initiated payments.

These references do not remove the need for institution-specific control design. The relevant safeguards depend on the agent’s permissions, data, channels, customers, and potential business impact.

These controls sit within the four shifts redefining trust in digital payments, which connect identity, intent, risk, and evidence as payment journeys become more automated.

Instruction drift in one sentence

Instruction drift is the loss of alignment between a user’s authorized objective and an AI agent’s subsequent reasoning, tool use, delegation, or action.

For financial institutions, the practical response is to make intent explicit, keep untrusted content separate, restrict agent authority, validate actions independently, and preserve evidence. Authentication confirms who is acting. Scope and intent controls help confirm what that actor authorized.

FAQs about instruction drift

➡️ Is instruction drift the same as prompt injection?

No. Prompt injection is one way to manipulate an agent. Instruction drift is the broader outcome in which the agent’s behavior diverges from the original task, regardless of whether the cause is malicious input, ambiguity, memory, or model error.

➡️ Can instruction drift happen without an attacker?

Yes. Ambiguous instructions, long contexts, weak tool boundaries, faulty planning, and excessive permissions can cause drift without deliberate exploitation. A secure design should therefore test benign failure modes as well as adversarial inputs.

➡️ Why is instruction drift important for financial institutions?

Financial agents may interact with accounts, payments, identity records, and customer data. A drifted action can therefore create fraud, privacy, compliance, or operational risk. Independent authorization and auditable approval are essential for high-impact actions. For agent-initiated payments, a trusted surface provides a controlled interface where the customer can review the proposed action and give authenticated approval.

➡️ How does Entersekt relate to instruction drift?

Entersekt connects authentication, device trust, transaction context, and risk-aware decisioning across digital banking and payment journeys. Those controls can help institutions assess who authorized an action, what was approved, and when additional verification is warranted.

➡️ What is the first control to implement?

Start by recording the user’s intent as structured constraints before the agent acts. Include the permitted action, target, amount, data, tools, time window, and approval conditions. Then compare every high-impact tool call with those constraints.

Sources and related articles