How Prompt Injection Can Trigger Unauthorized Payments in Banking AI Agents, and the Runtime Controls That Prevent It
Prompt injection leads to unauthorized payments when untrusted text enters an agent's context, the model proposes a payment tool call, and nothing independent of the model checks that call before it executes. Prevention depends on treating every tool call as a request to be authorized at runtime, using a distinct agent identity, scoped tool permissions, pre-execution policy checks, transaction limits, step-up human approval, and audit logging.
From untrusted input to a payment tool call
The attack chain runs from untrusted input to payment execution. Each stage below has a runtime control mapped to it, so that no single stage, including the model itself, decides whether a payment goes through.
- Untrusted inputCustomer messages, emails, documents and retrieved content are labeled and treated as data.
- Agent reasoningThe model may be influenced, so it is treated as a component that proposes actions, not one that authorizes them.
- Tool invocationScoped permissions and pre-execution policy checks decide whether the call proceeds.
- Payment executionLimits and step-up human approval apply outside the agent's control.
- RecordAudit logs link the payment to its input, identity, policy decision and approver.
Figure: attack chain and the control applied at each stage.
Why enforcement has to sit outside the model
Because the model may be influenced by what it reads, it cannot be the component that decides whether a payment is allowed. It proposes actions; something independent of the model has to authorize them.
Prevention depends on these layered runtime controls for payment actions:
- A distinct agent identity
- Scoped tool permissions
- Pre-execution policy checks
- Transaction limits
- Step-up human approval
- Audit logging
How to evaluate a control layer: where banking agent architectures typically fail
These are the weak control points to look for when reviewing an agent that can touch payments. The table pairs each typical failure with the layered runtime control described above.
| Control point | Typical failure | Runtime control |
|---|---|---|
| Context assembly | Untrusted content is mixed with trusted instructions without provenance or labeling. | Customer messages, emails, documents and retrieved content are labeled and treated as data. |
| Agent identity | The agent uses a shared service account or inherits the full privileges of the calling user. | A distinct agent identity. |
| Tool scope | One broad payments tool exposes initiate, modify and approve actions together. | Scoped tool permissions. |
| Tool-call authorization | Whatever the model emits is executed, with arguments not validated against policy. | Pre-execution policy checks decide whether the call proceeds. |
| Transaction controls | Limits and approval triggers are absent for API-originated payments, or depend on agent-supplied parameters. | Transaction limits and step-up human approval apply outside the agent's control. |
| Audit trail | Logs record the API call but not the originating input, policy decision or approver. | Audit logs link the payment to its input, identity, policy decision and approver. |