SoK: Security of Autonomous LLM Agents in Agentic Commerce
Organizations: Nanjing University · Southern University of Science and Technology · City University of Hong Kong
Abstract
Autonomous large language model (LLM) agents such as OpenClaw are pushing agentic commerce from human-supervised assistance toward machine actors that can negotiate, purchase services, manage digital assets, and execute transactions across on-chain and off-chain environments. Protocols such as the Trustless Agents standard (ERC-8004), Agent Payments Protocol (AP2), OKX Agent Payments Protocol (APP), the HTTP 402-based payment protocol (x402), Agent Commerce Protocol (ACP), the Agentic Commerce standard (ERC-8183), and Machine Payments Protocol (MPP) enable this transition, but they also create an attack surface that existing security frameworks do not capture well. This Systematization of Knowledge (SoK) develops a unified security framework for autonomous LLM agents in commerce and finance. We organize threats along five dimensions: agent integrity, transaction authorization, inter-agent trust, market manipulation, and regulatory compliance. From a systematically curated public corpus of academic papers, protocol documents, industry reports, and incident evidence, we derive 12 cross-layer attack vectors and show how failures propagate from reasoning and tooling layers into custody, settlement, market harm, and compliance exposure. We then propose a layered defense architecture addressing authorization gaps left by current agent-payment protocols. Overall, our analysis shows that securing agentic commerce is inherently a cross-layer problem that requires coordinated controls across LLM safety, protocol design, identity, market structure, and regulation. We conclude with a research roadmap and a benchmark agenda for secure autonomous commerce.
Figures & tables
| Vector | Name | Direct | Derived |
| P2T | Prompt-to-Transaction | Greshake et al. [ 17 ] ; Acharya [ 18 ] ; Nieper-Wisskirchen et al. [ 48 ] | No released derived-support evidence in the current snapshot. |
| T2R | Tool-to-Reasoning | Model Context Protocol [ 43 ] ; Maloyan and Namiot [ 49 ] ; Zhang et al. [ 50 ] | No released derived-support evidence in the current snapshot. |
| A2M | Agent-to-Market | Allouah et al. [ 51 ] ; Kapoor et al. [ 52 ] | Liu et al. [ 11 ] ; Chung and Honavar [ 53 ] ; de Paula et al. [ 54 ] ; Cai et al. [ 55 ] |
| T2T | Tool-to-Transaction | Acharya [ 18 ] ; Shittu [ 56 ] ; Ruan et al. [ 57 ] | Deng et al. [ 58 ] |
| P2K | Prompt-to-Key | Acharya [ 18 ] | Steinberger [ 3 ] ; Luo et al. [ 4 ] ; Rizinski and Trajanov [ 5 ] |
| C2E | Collusion-to-Escrow | Virtuals Protocol [ 30 ] ; Crapis et al. [ 35 ] | Liu et al. [ 11 ] ; Yu et al. [ 59 ] ; de Witt [ 60 ] ; Hu and Rong [ 61 ] |
| Approach | Mechanism | Coverage | Overhead |
| Input sanitization | Filter malicious prompts from data feeds before model ingestion | Direct injection | Low |
| Instruction hierarchy | Privilege separation between system and user/data prompts | Direct & indirect injection | Medium |
| Output validation | Verify proposed actions against policy before execution | All integrity threats | High |
| Redundant reasoning | Cross-check decisions with multiple independent LLM instances | Model poisoning; subtle injection | Very High |
| Formal verification | Prove bounded safety properties of the agent pipeline | Broad but partial | Infeasible |
| ID | Name | Layer Path | Core Mechanism |
| P2T | Prompt-to-Transaction | LLM Blockchain | Injected prompt triggers signed tx |
| T2R | Tool-to-Reasoning | Tool Reasoning | False data poisons decision |
| A2M | Agent-to-Market | Inter-agent Market | LLM bias exploited in negotiation |
| R2I | Reg-to-Integrity | Compliance Market | Regulatory gap enables laundering |
| T2T | Tool-to-Transaction | Tool Blockchain | Tool modifies tx params post-reasoning |
| P2K | Prompt-to-Key | LLM Custody | Injection bypasses key custody boundary |
| Protocol / Interface | Agent Integrity | Transaction Authorization | Inter-Agent Trust | Market Manipulation | Regulatory Compliance |
| Virtuals/ACP [ 30 ] | GAME framework | Escrow settlement | Evaluator agents | Token caps | On-chain logs |
| ERC-8183 [ 35 ] | N/A (standard) | Job state machine | 3-role trust model | Hook-based | Reputation |
| ERC-8004 [ 10 ] | N/A (protocol level) | On-chain guardrails | Token-based ID | Spending caps | Audit logs |
| AP2 [ 11 ] | N/A (protocol level) | Intent verification | Payment attestation | N/A | Payment logs |
| OKX APP [ 12 , 29 ] | N/A (protocol level) | Challenge/credential auth | A2A escrow/dispute | N/A | Status queries |
| x402 [ 10 ] | N/A (protocol level) | Per-request auth | HTTP-level auth | Rate limiting | Request logs |