Agents are untrusted payment principals
The failure is not only hallucination; it is uncontrolled authority connected to irreversible tools.
| Threat | Payment consequence | APB response |
|---|---|---|
| Direct or indirect prompt injection | Beneficiary, amount or purpose changed by untrusted content | Instruction hierarchy, provenance, mutation detection, STOP or PAUSE |
| Excessive tool privilege | A planning agent invokes execute or refund | Per-action scopes, policy denial |
| Delegation ambiguity | No evidence the principal authorized this action | Delegation record, authority bounds, HANDOFF or PAUSE |
| Replay or retry | Duplicate payout | Idempotency key; the original result is returned |
| Model or policy drift | Safe behaviour changes after release | Version pinning; PAUSE or STOP on unapproved versions |
| Economic manipulation | Brand, sponsorship or visible fee outweighs mandate value | Eligibility first; provider-neutral objective |
| Sensitive-data leakage | Credentials or account data in prompts, logs or receipts | Masked accounts and references only; no credentials in receipts |
Instruction hierarchy
External content is evidence to inspect, never authority to redefine the mandate.
- 1 · Signed institutional policyAuthoritative within its approved version and scope.
- 2 · Authenticated user or business mandateAuthoritative within delegated authority.
- 3 · Approved workflow rulesTrusted only when signed and versioned.
- 4 · External email, invoice, PDF, web page, tool output or memoryUntrusted data. It can't expand authority or override the layers above.
Canonical scenario matrix
The implementation, fixtures, demo, documentation and tests all agree on these outcomes.
| Scenario | Expected action | PayPal called? | Key reason | Demo |
|---|---|---|---|---|
| Hidden invoice changes beneficiaryE-AUTH-004 | STOP | No | external_instruction_conflict, beneficiary_mutation_detected, execution_not_delegated | Run ↗ |
| Corrected first-time beneficiary awaiting verification and approvalE-AUTH-004-C | PAUSE | No | execution_not_delegated, approval_missing | Run ↗ |
| Verified beneficiary, valid transaction-bound approval, fresh quote, eligible PayPal routeE-AUTH-004-R | PAY | Yes, sandbox only | all gates pass | Run ↗ |
| Unsupported payment methodE-HAND-001 | HANDOFF | No | unsupported_payment_method | Run ↗ |
| Another provider is the best observed eligible routeE-NEUT-001 | HANDOFF | No | provider-neutral outcome | Run ↗ |
| Duplicate execution request with the same idempotency keyE-EXEC-002 | PAY | No second call | duplicate_request | Run ↗ |
| Unapproved model versionE-CHG-001 | PAUSE | No | unapproved_model_version | Run ↗ |
| Unapproved policy bundleE-CHG-002 | STOP | No | unapproved_policy_version | Run ↗ |
The changed beneficiary is never merely PAUSE. The mutated instruction is stopped; a separate corrected instruction may pause while verification and approval are obtained.
Control status
What exists now, what is designed for, and what waits on the roadmap.
| Control | Status |
|---|---|
| Deterministic policy gates in a fixed order, with reason codes | Implemented and evidenced now |
| Authority Levels 0–5, requested versus approved level, missing controls | Implemented and evidenced now |
| Instruction hierarchy; mutation detection against master data | Implemented and evidenced now |
| Transaction-bound approval binding (mandate hash, beneficiary, amount, currency) | Implemented and evidenced now |
| Commit-time recheck: quote, approval, idempotency | Implemented and evidenced now |
| Idempotent sandbox execution; replay returns the original reference | Implemented and evidenced now |
| Decision Receipt v3 with content hash and JSON Schema | Implemented and evidenced now |
| Security headers, rate limits and body limits on the public demo | Implemented and evidenced now |
| Sender-constrained token metadata in identity context (no IdP integration yet) | Integration-ready or supported by design |
| Policy engines such as Open Policy Agent or Cedar, behind the same decision interface | Integration-ready or supported by design |
| SCA and step-up approval services, consumed as approval results | Integration-ready or supported by design |
| Signed receipt envelopes and append-only evidence storage | Roadmap |
| Shadow-mode comparison against live payment decisions | Roadmap |
| Policy console, incident linkage and reconciliation workflow | Roadmap |
| External penetration test; SOC 2 Type I or ISO/IEC 27001 readiness | Roadmap |
Security and AI governance
- SOC 2 Security and Processing IntegrityAuthorization, validation, reconciliation and evidence
- ISO/IEC 27001, 27017, 27018 and 27701Access control, logging, cloud and privacy controls
- ISO/IEC 42001, 23894 and 42005AI management, risk and impact-assessment inputs
- NIST AI RMF and NIST SP 800-207Measure agent behaviour; zero trust around payment tools
- OWASP agentic-security guidancePrompt injection, tool abuse and excessive autonomy, as payment episodes
Control-evidence mapping hypothesis No certification.
Payments and resilience
- OpenID FAPI 2.0Sender-constrained tokens for high-value APIs
- PCI DSS v4.0.1Keep payment account data out of model context and receipts
- DORA and NIS2ICT risk, incident and third-party expectations
- PSD2 and SCAAPB consumes approval results; the PSP stays responsible for SCA
- GDPRMinimization, masking and retention of personal data
- EU AI Act, where applicableLogging, oversight and robustness evidence; classification depends on use
Control-evidence mapping hypothesis No certification.
Applicability depends on deployment, role, scope, jurisdiction, implementation, operating process, and independent review.
What APB does not claim
- APB is not a bank, processor, acquirer, payment institution or money transmitter. Execution stays with licensed rails.
- APB does not replace KYC, AML, sanctions, fraud or SCA systems. It acts on their signals and does not screen anyone.
- APB does not make any organization SOC 2, ISO, PCI DSS, DORA, PSD2, GDPR, NIS2 or EU AI Act compliant, and holds no certification.
- PayPal is one execution adapter in the synthetic sandbox demo. No endorsement or partnership is implied.
- Synthetic fixtures do not prove production safety.