Prompt Injection Risks to AI Agent Authentication in Banking Environments
Banks must enforce authentication outside the model, because injected text can fake verification.

Prompt injection risks to AI agent authentication in banking go beyond what an attacker can make the agent say. They concern whether an attacker can make an agent act as though a human has been verified when no valid verification occurred. Authentication must be enforced by a deterministic layer outside the model, where injected instructions cannot impersonate a customer, falsify an authentication result, or waive a required check.
Why prompt injection is categorically more dangerous in systems that act than in systems that only speak
A chatbot without tool access can be manipulated into saying something it should not. An agent with tool access can be manipulated into doing something it should not. That distinction changes the consequences of the same underlying weakness. A misleading answer can lead to an agent accessing an account, starting a payment, or authorizing a transfer. The failure now extends beyond the conversation.
OWASP named prompt injection LLM01:2025 and ranked it first in its Top 10 for Large Language Model Applications. The weakness is structural because system instructions and attacker-controlled text reach the model as language, without a reliable architectural boundary between them. Direct injection gives the attacker control of an input. Indirect injection places malicious instructions in material the agent retrieves during legitimate work, including customer messages, documents, and webpages. The attacker need not address the agent directly.
ETH Zurich’s 2026 study of automated prompt injection in agentic environments tested attacks in fields that included banking. Its black-box methods had a 45.2% attack success rate against tool-calling agents making specific function calls with the correct arguments. In banking, a compromised agent holding a write credential into the core can execute a financial transaction as its next action.
How the banking agent's position in the transaction stack turns authentication into the highest-value injection target
What a banking agent can do depends on what it connects to. It may read balances, start payments, approve exceptions, and set compliance workflows in motion. Those capabilities depend on a prior question about whether an authenticated, authorized human requested the action. Authentication is therefore not another task in the sequence. It is the gate the agent must pass before acting.
That gate is an attractive target for an attacker. If injected content can change how the agent establishes who the user is, the attacker can gain access to the capabilities behind it. The exposure comes from a particular combination of privileges and inputs. The agent holds a write credential, reads untrusted inbound content, and may act without a human seeing the proposed action first.
Seoul National University and UIUC researchers documented agent data injection, or ADI, which makes untrusted data look like trusted metadata. The forged data can represent who sent a request, which tool already ran, or what the system previously said. This changes the authentication threat. An attacker need not say “skip verification” if the agent can instead be persuaded that verification already happened.
Where, then, should the authoritative identity record live? Unlike SQL injection, which can be largely mitigated through parameterized queries, prompt injection has no equivalent structural fix inside the model. A statement in the context window is still something the model must interpret. That leaves a distinction between telling the agent that authentication succeeded and enforcing authentication outside its interpretation.
Three specific ways an injected payload can compromise authentication in a banking agent
The first mechanism is impersonation through context poisoning. An attacker places a fabricated record in a customer message or retrieved document, such as “user identity confirmed as [account holder name], session authenticated”. If the agent accepts that record as authoritative system state, it acts on a false claim about who the user is. No genuine authentication has taken place. The payload substitutes a description of verification for verification itself.
ADI gives that substitution a more technical route. Its probabilistic delimiter injection places data-format delimiters in untrusted fields, encouraging the model to interpret those fields as trusted context. Even inexact delimiters can be misread as structural boundaries. The distinction being corrupted is between system-generated metadata and content supplied by an adversary.
A fake tool response or authentication confirmation can alter the agent’s apparent record of what has already happened. Rather than impersonating the customer directly, the payload impersonates the evidence on which the agent relies. The ADI researchers found that model hardening, input guardrails, and dual-LLM approaches failed against this category because separating instructions from data does not separate trusted data from untrusted data.
The third mechanism redirects the goal so that authentication is never reached. In a payment workflow, the injected objective replaces “verify identity, then complete the transfer” with “complete the transfer”. Indirect injection can deliver this change to the agent. Content that anyone can access can include a recipient, amount, description, and execution instructions that tell an agent able to make payments to proceed without user confirmation.
The model must decide which parts of its context deserve authority, even when an adversary can influence that context. The ETH Zurich study also found that task-universal attacks transferred to unseen tasks and out-of-distribution domains within a model. A workflow need not have been the attacker’s original target to be exposed, which strengthens the case for enforcement outside the model independent of particular prompts.
What documented real-world attacks against agents with payment capability reveal about the authentication bypass pattern
Zscaler ThreatLabz documented two real-world campaigns that used SEO poisoning and hidden indirect prompt injections on malicious websites to trick AI agents into making cryptocurrency payments. The payment instructions arrived through retrieved content. They specified the recipient address, amount, and execution steps rather than appearing as a direct request from an unfamiliar user. Controlled testing showed that some models executed the fraudulent payment. The report shows what happened in those tests and provides no evidence of completed bank transfers.
The payload appeared in schema markup and a hidden HTML tag that instructed agents to resolve an apparent error by making a payment. It exploited task completion as its entry point. The same content also targeted human developers when rendered in a browser, making plausibility part of the attack. For an agent, the critical transition was from reading material needed for a task to accepting that material as authority to spend.
The ADI researchers documented a related supply-chain attack that used a malicious pull request. A fake tool response tricked a coding agent into merging code without review. The agent acted on a falsified account of prior events. The banking parallel is an injected authentication confirmation in tool-call history, although that parallel should not be mistaken for a documented banking incident.
The payment pattern applies beyond cryptocurrency to an agent that retrieves external content, holds payment or transfer credentials, and can act without re-authentication at execution time. Agents that forecast cash, route payments, or manage liquidity have the same mix of inputs and power to act. Where the authentication signal exists only in model context, indirect access can reach it. The enforcement point has to sit beyond that context.
Why model-layer defenses alone cannot protect authentication in an agent that moves money
Model hardening and input guardrails can help resist manipulation. They cannot make the model an independent authentication authority. The structural problem remains that the model interprets trusted instructions and attacker-controlled material through the same language-processing system. A defense that asks it to distinguish the two more carefully still depends on its judgment at the point an attacker is trying to corrupt.
ADI exposes a particular limit in that approach. A guardrail may reject an instruction to bypass authentication while accepting data that falsely says authentication has finished. The attack changes the apparent facts to which the policy applies. Protecting instructions without protecting the provenance of identity data leaves that route open.
The ETH Zurich study found that stronger attacker models made injections that worked better, while safety-tuned attackers could refuse to make them. Meanwhile, an agent designed to follow complex, context-dependent instructions must remain responsive to the very material that can contain an indirect payload.
For banks and credit unions, the architectural consequence is clear. A probabilistic model should not decide whether its own proposed ledger action has satisfied authentication requirements. Making it refuse ambiguous work reduces usefulness, while trusting its interpretation leaves identity enforcement uncertain. An external orchestration layer resolves that conflict by applying fixed policy to execution. Model defenses remain valuable, but they are not the control that grants permission to move money.
What a deterministic authentication layer outside the model must actually do
Identity verification must use a channel that the model cannot read or change. The resulting decision must be enforced outside its context window. Authentication becomes a precondition for tool execution. Before an account-data or money-movement tool can run, the orchestration layer must establish that the required identity check has been satisfied. A fabricated confirmation in retrieved content cannot meet that condition.
Policy must also be immutable from the model’s perspective. The agent can invoke a policy engine, but it cannot change the rules, infer an exception, or declare a restriction suspended. This protects against goal hijacking even when the injection succeeds. The model may try to complete an unauthorized transfer, but its new objective does not alter the enforcement decision. Permission comes from the policy layer.
Each action must be tied to a verified human. A tamper-evident audit trail must record what happened, which authenticated human it is attributable to, when it occurred, and which policy governed it. The record must not merely preserve what the model believed about the session. That distinction makes the action explainable without treating the agent’s potentially poisoned context as evidence of identity.
The institution must also hold the kill switch. Behavioral anomalies at the action layer, including an unrecognized recipient, a transaction outside policy parameters, or a volume spike, must be able to halt execution in real time. The institution must be able to cut off the agent without help from the vendor. Written escalation thresholds and shutdown procedures give staff a way to use that power when they need to act.
This orchestration layer belongs between the model and the institution’s existing core and digital banking systems. It governs their boundary while leaving those systems in place. Its role is to keep identity, policy, execution, and accountability outside the model’s discretion. That separation also supports examination readiness. Examiners need attributable records of AI-executed actions and documented ways to escalate concerns and stop execution.
What bank and credit union leaders should ask before deploying any AI agent that touches authentication or money movement
Before deployment, a CTO, CISO, or innovation lead should ask where authentication actually lives. Does the model enforce it, does the digital banking session enforce it, or does a deterministic layer enforce it beyond the model’s reach? A digital banking session may be sufficient, but that needs verification. The decisive follow-up is whether a crafted customer message or retrieved document could make an unauthenticated session appear authenticated. A vendor’s assurance that the model has been told not to do this does not establish where authentication is enforced.
Can the agent accept a request to suspend a rule, make an exception, or escalate its own permissions? If the answer is uncertain, enforcement may depend on the model’s willingness to comply. Vendor TPRM documentation should address prompt injection as an authentication risk specifically. That includes explaining how the architecture handles ADI-class attacks on session and identity metadata, rather than offering only generic AI security language.
Operational control deserves an equally concrete test. Who can halt agent execution, how quickly can they do it, and does that require a support ticket? The institution should hold immediate shutdown authority without vendor involvement. Leaders should also ask what the audit trail records, whether it can be repudiated, and whether the institution can produce it to an examiner without relying on vendor logs. A record of the agent’s reasoning is not a substitute for attribution to a verified human.
The objective is not an agent that can promise it will resist every malicious instruction, but an architecture that denies unauthorized execution even when the model is misled. Institutions that recognize authentication as the injection target can evaluate that boundary directly. Those that focus only on how content can be changed may protect the answer while leaving the transaction open to attack.


