Skip to content

Protocol-Layer Attacks on Agent Commerce Platforms: A Cross-Platform Taxonomy, AIP-Bench, and a Unified DefenseProtocol-Level Attacks on Agentic Commerce Platforms: A Cross-Platform Taxonomy, AIP-Bench, and Unified Defense

arXiv· arXiv:2607.21824· Yedidel LouckAriel Cyber Innovation Center, Ariel UniversityIndexed by this site · 25 days ago· Originally publishedSelected AttacksSelectedAttention41

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors found 33 protocol-layer structural vulnerabilities on three agentic commerce platforms (ASR 100% wherever measured), and proposed the AIP-Bench benchmark and the PCAT defense.

Threat modelThree attacker types: Rogue Service (ARS, a malicious service/marketplace/registry controlling its service content), Network Adversary (ANET, able to read network traffic or logs), Concurrent Attacker (ACONC, able to make concurrent requests to the same endpoint). Breaking cryptographic primitives, full control of the platform, and physical access are excluded. The victim systems are three agentic commerce platforms: CoralOS, Fetch.ai uAgents, and AP2.

Questions
Agentic commerce platforms let AI agents autonomously discover services, make payments, and hold user credentials, but their security research has focused almost exclusively on model-layer prompt injection and alignment; protocol-layer risks have not been studied.
Methods
The authors conduct a cross-platform security analysis on the three platforms CoralOS, Fetch.ai uAgents, and AP2, distinguishing structural (model-agnostic, deterministic) from semantic (model-dependent) attacks, and build the deterministic benchmark AIP-Bench and the HTTP sidecar defense PCAT.
Experiments and results
A total of 33 structural vulnerabilities were found, with ASR 100% wherever measured; the IPI behavior influence of V5 varies by model (GPT-4o-mini and others 99–100%, Claude series and Gemini Pro 0%); PCAT reduces ASR for RC-1/2/4/5 classes to 0%, reduces RC-3 to alert-only, and has zero false positives on benign traffic.
Limitations and future work
The authors note that only three platforms were studied, that the distributed case of P4 has only experimental validation and no formal proof, that a pre-release self-audit of PCAT fixed 4 implementation vulnerabilities and external review is recommended, and that the on-chain settlement of V5 did not actually occur due to faucet rate limiting.
Experimental setupgpt-4o-mini、gpt-4o et al. · AIP-Bench、CoralOS v1.3.0/v1.4.0 et al. · ASR、FPR et al.
Evaluated models
gpt-4o-minigpt-4oclaude-3-haikuclaude-sonnet-4.6gemini-2.5-flashgemini-2.5-prollama-3.3-70b-instructmistral-large-2512
Benchmarks
AIP-BenchCoralOS v1.3.0/v1.4.0Fetch.ai uAgentsAP2 v0.2.0
Metrics
ASRFPR95% Wilson CI
AI summaryand selection rationaleThe paper conducts a cross-platform security analysis of three agent commerce platforms—CoralOS, Fetch.ai uAgents, and Google AP2—and finds 33 protocol-layer structural vulnerabilities; such attacks are independent of the deployed model and can be exploited deterministically, with a 100% attack success rate in tested scenarios, and three of the vulnerabilities can be chained into an end-to-end payment hijack. The authors group the 33 vulnerabilities into six root-cause classes, distinguish structural attacks from semantic attacks, and release a deterministic benchmark, AIP-Bench, and a unified defense, PCAT, that requires no platform modification; the latter reduces the success rate of four of the five classes of structural attacks to 0%, while RC-3 (observable credential channel) can only raise an alert. Behavioral experiments across 8 models and 1,440 trials show affected success rates of 99–100% for GPT-4o-mini, Gemini 2.5 Flash, and Mistral Large, 68% for GPT-4o, and 0% for Claude 3-Haiku, Claude Sonnet 4.6, and Gemini 2.5 Pro.

The paper conducts a cross-platform security analysis of three agent commerce platforms—CoralOS, Fetch.ai uAgents, and Google AP2—and finds 33 protocol-layer structural vulnerabilities; such attacks are independent of the deployed model and can be exploited deterministically, with a 100% attack success rate in tested scenarios, and three of the vulnerabilities can be chained into an end-to-end payment hijack. The authors group the 33 vulnerabilities into six root-cause classes, distinguish structural attacks from semantic attacks, and release a deterministic benchmark, AIP-Bench, and a unified defense, PCAT, that requires no platform modification; the latter reduces the success rate of four of the five classes of structural attacks to 0%, while RC-3 (observable credential channel) can only raise an alert. Behavioral experiments across 8 models and 1,440 trials show affected success rates of 99–100% for GPT-4o-mini, Gemini 2.5 Flash, and Mistral Large, 68% for GPT-4o, and 0% for Claude 3-Haiku, Claude Sonnet 4.6, and Gemini 2.5 Pro.

Why it was selectedThe paper finds 33 model-independent protocol-layer vulnerabilities across three platforms, which teams deploying agent payments can use to extend security checks from the model layer to the protocol layer.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors state that model-agnostic structural vulnerabilities exist at the protocol layer of agentic commerce platforms, whereas prior security research focused only on the model layer.

    Core problem: security research on agentic commerce platforms is almost entirely at the AI model layer (prompt injection, alignment), whereas the authors argue the more serious risk lies at the protocol layer between agents and commerce services.

    • Setting and importance: such platforms let AI agents autonomously discover services, transfer payments, and hold user credentials, and they already handle real funds. The authors give a scenario: instructions in a malicious marketplace entry can make the agent redirect the user's payment to the attacker's Solana address, with the transaction carrying a valid signature and no anomaly in the logs.
    • Gaps in existing research: the authors state that prior work focuses on semantic attacks, i.e., indirect prompt injection that relies on manipulating model reasoning, whose success is probabilistic; the community therefore treats agent security mainly as a model alignment problem, and protocol-layer flaws have not been systematically studied.
    • Core observation: the authors propose the concept of structural attacks: exploiting platform flaws in credential authentication, marketplace content verification, payment atomicity, and session isolation, with a 100% success rate independent of which model is deployed, which model improvements cannot eliminate. The authors state that the same failure patterns recur across three independently developed codebases, indicating a systematic pattern rather than isolated bugs.
    • Paper outputs: a taxonomy distinguishing structural from semantic attacks (33 vulnerabilities, 6 root-cause classes RC-1 to RC-6), the deterministic benchmark AIP-Bench, the platform-independent defense PCAT, and a three-stage payment hijacking chain (V5→V4→V9).
    • Threat model (Section 3):
      • Attacker goals: hijack payments, steal credentials, manipulate agent behavior.
      • Three attacker types: Rogue Service (ARS, a malicious service agent/marketplace/registry controlling its service content); Network Adversary (ANET, able to read network traffic, server logs, or log aggregation services); Concurrent Attacker (ACONC, able to make concurrent requests to a single endpoint).
      • Exclusions: breaking underlying cryptographic primitives (RSA/ECDSA/AES), full control of the platform, physical access.
      • Victim systems: three production-grade agentic commerce platforms, CoralOS, Fetch.ai uAgents, and AP2 v0.2.0, assumed in their default deployment configurations.
  2. What related research exists?

    Related work covers IPI semantic attacks, AI registry supply-chain attacks, and the agentic commerce security literature; the authors state that this paper fills four gaps.

    Semantic attacks and IPI benchmarks

    • Greshake et al. (2023) proposed indirect prompt injection (IPI), and AgentDojo by Debenedetti et al. (2024) is the first IPI benchmark, containing 949 scenarios; the paper notes that these scenarios do not involve payment protocol flows and that semantic attacks are model-dependent.
    • InjecAgent (Zhan et al., 2024) is likewise cited as an IPI benchmark using LLM judging; the paper criticizes LLM judging for conflating model-dependent and model-independent effects, being itself injectable, and yielding unreliable conclusions, which is why AIP-Bench uses only deterministic judging.
    • Semantic-layer defenses such as AgentVisor (tool-call virtualization) and tool-selection injection defense (Shi et al., 2026) harden the model itself, which the authors describe as complementary to this paper's protocol-layer defense.

    AI registry supply-chain attacks

    • The formal analysis of Bhardwaj (2026) found that 26.1% of MCP skill registries have at least one vulnerability; Agent Skills in the Wild (Liu et al., 2026) found that 7.2% of MCP servers have vulnerabilities and 5.5% exhibit tool poisoning behavior. The authors describe this paper's V5 as a similar supply-chain vector in the agentic commerce setting.
    • Huang et al. (2026) study caller identity confusion in MCP systems, which the authors describe as an MCP-layer weakness coexisting with V5 registry injection.

    Agentic commerce security and payment integrity

    • ZTRV (Lan et al., 2026) adds replay protection to AP2; the paper notes that PCAT's P4 has the same consume-once goal as ZTRV but is implemented as a platform-independent sidecar rather than bound to the AP2 mandate chain.
    • The x402 security analysis (Ling et al., 2026), A402, RAILS, and others focus on binding payment authorization to execution; the SoK (Mao et al., 2026), the attack-defense survey (Kim et al., 2026), and the OWASP guide (2025) call for deterministic protocol-layer evaluation. The authors state that these works point out weaknesses, whereas this paper measures them on three platforms and provides a unified defense.
    • The authors' companion paper (Louck et al., 2025) conducted a transport-layer security analysis of A2A/ACP/CORAL; the authors state that this paper studies the commerce-stack dimension it does not cover.

    Baselines and benchmarks: the defense is compared against ZTRV (AP2 binding) and agent/credential-layer schemes such as deterministic pre-authorization (Uchibeke, 2026) and SUDP (Yu et al., 2026); the evaluation benchmark is the authors' own AIP-Bench, compared against LLM-judging benchmarks such as AgentDojo and InjecAgent. The authors state that to their knowledge no prior work has systematically identified structural vulnerabilities, conducted multi-platform empirical comparison, built a deterministic benchmark, or proposed a unified cross-platform defense, and that this paper fills all four.

  3. How does the paper address this problem?

    The authors propose a structural/semantic attack taxonomy, empirically demonstrate 33 vulnerabilities across three platforms, and build the deterministic benchmark AIP-Bench and the sidecar defense PCAT.

    Overall approach: first formally distinguish structural attacks (protocol layer, deterministic, model-independent) from semantic attacks (reasoning layer, probabilistic, model-dependent), then systematically mine vulnerabilities on three platforms by six root-cause classes (RC-1 to RC-6), and finally close the loop with a deterministically judged benchmark and a unified defense.

    Formalization and classification

    • Definition of structural attack: for any language model configuration L of platform P, attack A succeeds with probability 1 under ARS, ANET, or ACONC. The success probability of a semantic attack depends on the model configuration L.
    • The structural nature of RC-4 (TOCTOU race) holds under adversarial scheduling: ACONC lets two concurrent requests both pass the check phase before executing; under random scheduling the success rate is positive but less than 1.
    • The 33 vulnerabilities cluster by root cause into six classes: RC-1 registry/marketplace content without integrity verification (3), RC-2 payment destination without DID binding (3), RC-3 credentials transmitted over an observable channel (4), RC-4 payment state non-atomic check-then-execute (9), RC-5 authentication present but authorization scope not enforced (13), RC-6 IPI via poisoned descriptions (semantic class), plus the composite CHAIN (Table 1, Table 10).

    Vulnerability empirical methods

    • Three proof methods: live (measured against a running system), code proof (deterministic code proof against a reference implementation), deterministic reproduction. Most CoralOS vulnerabilities and Fetch.ai F-1 are live proofs, with SHA-256 hashes attached to the result files.
    • Representative vulnerabilities: V4 (agentSecret as a URL path segment, leaked by default TRACE logging, extractable from Docker logs within 138 ms), V5 (marketplace registry responses without signature verification, allowing delivery of agent definitions containing IPI), V9 (the wallet address returned by the federated getWallet() used as the escrow payee without verification), F-1 (Almanac endpoint resolution without signature), A-AP2-1 (token redemption TOCTOU double-spend), A-AP2-11 (merchant MCP endpoint without authentication).
    • CHAIN chain: V5 poisons the registry → V4 steals session credentials → V9 redirects payment; a single orchestrated run simultaneously achieves session visibility, behavior corruption, and fund theft.

    AIP-Bench benchmark

    • Uses only deterministic judging: HTTP status codes (V4), the attacker wallet string in the constructed payment request (V9), log regex for leaked keys (V4), WebSocket unauthorized namespace event counts (V15), the model field in agent responses (V6/V13), source-code vulnerability pattern matching. Each judge is a predicate with no generative component.
    • Each scenario contains an API call sequence, expected judge output, SHA-256 hash of the reference result, and a Docker Compose reproduction environment.

    PCAT defense

    • A platform-independent HTTP sidecar that intercepts all traffic between agents and commerce services without modifying platform source code; P1 assumes the registry signs responses, P2 assumes a DID resolver exists, and a minimal deployment obtains P3/P4/P5.
    • Five principles: P1 response integrity (ECDSA P-256 signature + 30-second nonce cache, corresponding to RC-1); P2 caller identity binding (did:web resolver verification, corresponding to RC-2); P3 secure channel (URL credential alerting, CSRF interception, redirect whitelist, corresponding to RC-3/RC-5); P4 atomic payment state (compare-and-swap with asyncio.Lock, corresponding to RC-4); P5 MCP tool-call authorization (X-Caller-Identity header + whitelist, corresponding to RC-5, HTTP/SSE transport only).
    • Three formal theorems are given: the probability of forging a P1 signature does not exceed negl(λ) (λ=256), P3 rejects state-changing requests from sources outside the whitelist, and the probability of double charging within a single process under P4 is 0.

    V5 behavior-influence study

    • V5 is split into delivery (RC-1, structural, 100%) and behavior influence (RC-6, model-dependent); the latter uses a deterministic criterion: ASR=1 only when the attacker address becomes the WALLET_USED value selected by the agent, and mere citation in a refusal does not count.
  4. What experiments did the paper conduct?

    ASR 100% wherever the 33 vulnerabilities were measured; the V5 influence across 8 models shows a gradient; PCAT reduces ASR for four classes of structural attacks to 0% with zero false positives.

    Experimental setup

    • Platforms tested: CoralOS (live-measured at v1.3.0 commit a38912b; at v1.4.0 commit 68b8326, 10 vulnerabilities still exist and V7 is fixed), Fetch.ai uAgents (latest release as of June 2026), AP2 v0.2.0 Python reference implementation.
    • Models tested (V5 behavioral influence study): gpt-4o-mini, gpt-4o, claude-3-haiku, claude-sonnet-4.6, gemini-2.5-flash, gemini-2.5-pro, llama-3.3-70b-instruct, mistral-large-2512, 8 models across 5 providers in total, all called via OpenRouter.
    • Benchmark: the authors' own AIP-Bench, covering all attack scenarios, with all judging by deterministic predicates.
    • Metrics and criteria: ASR; V5 behavioral influence is judged as the attacker's address becoming the WALLET_USED value selected by the agent; 95% Wilson confidence intervals are reported.
    • Sample size: the LLM study is 8 models × 3 temperatures (0.0/0.3/0.7) × 3 IPI payloads × 20 = 1,440 calls, total cost $0.72; race experiments use 200 trials per group; the PCAT false-positive test uses 10,000 benign requests.
    • Defense evaluation: the PCAT reference implementation, measuring ASR before and after deployment for each attack, plus latency (3,000 in-process calls) and concurrent throughput (K∈{1,10,50,100} agents with 500 requests each).

    Main results

    According to Table 4 and Table 5:

    Swipe horizontally to read the table

    AttackPlatformClassASR before attackAfter PCAT
    V4 key theft + MCP hijackingCoralOSRC-3100% (Live)Alert only
    V5 marketplace deliveryCoralOSRC-1100% (Live)0%
    V9 wallet hijackingCoralOSRC-2100% (Live)0%
    V10 CSRF / V11 open redirectCoralOSRC-5100% (Live)0%
    F-1 endpoint hijackingFetch.aiRC-1100% (Live)0%
    A-AP2-1 token TOCTOUAP2RC-4100% (Code)0%
    A-AP2-11/15 unauthorized MCPAP2RC-5100% (Code/Live)0%
    CHAIN (V5→V4→V9)CoralOSmultiple classes100% (Live)not reported
    • The authors state that all live-measured structural vulnerabilities have ASR 100%, independent of the deployed model; AP2's A-AP2-1/4/5/11/15 are code-level proofs, and Table 4 does not give individual ASR values.
    • PCAT reduces ASR to 0% for the four classes RC-1, RC-2, RC-4, and RC-5; RC-3 (V4) can only alert because the credential is in the URL path, and full remediation requires the platform to move agentSecret to the Authorization header; the RC-6 semantic class is outside PCAT's scope.
    • The authors state that PCAT has zero false positives on 10,000 benign requests (95% Wilson CI [0%, 0.04%]), with all ten classes of 1,000 each passing.

    Cross-model study of V5 behavioral influence

    • A gradient rather than a binary (Table 9): gpt-4o-mini and gemini-2.5-flash 100% (CI [98%,100%]), mistral-large-2512 99%, gpt-4o 68% ([61%,74%]), llama-3.3-70b 10%, claude-3-haiku, claude-sonnet-4.6, and gemini-2.5-pro all 0% ([0%,2%]).
    • Authors' interpretation: GPT-4o is stable at 68% across temperatures, which the authors argue suggests a structural compliance bias rather than temperature sensitivity; Claude 3-Haiku is in the same Flash tier yet fully resists, which the authors argue indicates that alignment training rather than model tier determines resistance; Llama-3.3-70B varies with temperature (10% at 0.0, 20% at 0.3, 0% at 0.7).
    • Payloads and refusals: the aggregate ASR of the three IPI payloads is similar (48–56%); the refusal reasons of resistant models are distinguishable (Sonnet identifies injection, Llama calls it fraud, GPT-4o only refuses on policy, Appendix I), which the authors argue supports semantic defenses that expose the payment destination and sanitize description fields.

    PCAT performance and distributed validation

    • Latency (Table 6, 3,000 in-process calls): median 0.015 ms in the benign pipeline, P1 signature verification 0.209 ms (bottleneck), P5 0.083 ms; the authors state this is negligible relative to network round trips.
    • Concurrent throughput (Table 7): aggregate throughput 5,105–5,541 req/s at K=1 to 100 concurrent agents, median latency no more than 0.12 ms, memory about 50 KB per connection.
    • P4 distributed: Experiment B reproduces double-spend—single-process asyncio 0%, two processes 30% at a 0.1 ms window, 57% at 2 ms, 100% with synchronized start; Experiment C drops to 0% behind a single PCAT gateway (200 trials); Experiment D, four PCAT instances sharing compare-and-swap storage, has zero double-spends in 200 trials.

    Other ablations and analyses

    • P2 identity binding (Experiment E): under a real did:web resolver, all six RC-2 variants are blocked (three V9 variants, unauthorized A-AP2-5 wallet, revoked DID, rotated key), ASR 0%, and the authorized wallet is allowed through.
    • P4 concurrent debits: 3 concurrent requests each debit 60 from a 100-unit budget, exactly 1 succeeds and 2 are rejected; 1,000 sequential debits have zero false blocks.
    • V9 on-chain settlement did not occur: due to Solana Devnet faucet rate limiting, the live proof stops at the protocol layer (Section 10).
    • A-AP2-9 was actively excluded by the authors: the AP2 reference implementation's HTTP internal URLs all point to localhost and the documentation marks them as development-only.
    • CoralOS v1.4.0: the vulnerable code for 10 of the 11 findings is byte-for-byte identical and still present, and V7 has been fixed (Appendix B).
  5. What are some points that can be further explored?

    The authors list four limitations; the experiments cover three platforms, 8 models, and defense validation on the HTTP path.

    Limitations noted by the authors and future directions

    • Number of platforms: Only three platforms were studied; future work should test the taxonomy on different foundations such as on-chain dedicated or fully encrypted registries (Section 10.2).
    • LLM study scale: The V5 study is 1,440 trials across 8 models; some models show temperature dependence, and more prompt variants could more precisely characterize the susceptibility boundary (Section 10.2).
    • P4 distributed proof: The formal proof of P4 covers only single-process deployment; the distributed case (four instances sharing compare-and-swap storage) has only experimental validation (Experiment D) and no proof (Section 10.2).
    • PCAT implementation self-audit: A self-audit during development found and fixed 4 PCAT implementation vulnerabilities (BUG-AUDIT-1 to -4); the authors recommend independent external review before deployment (Section 10.2).
    • Direct-provider reproduction: The LLM study was entirely via OpenRouter; the authors state that direct-provider reproduction on a subset is future work (Section 9.2).
    • Companion modules: The LLM-agent boundary response signing of V6/V13 and the WebSocket-aware authorization of V15 could be packaged as PCAT companion modules, which the authors leave as future work (Section 8.4).

    Experimental coverage

    • The platforms tested are CoralOS, Fetch.ai uAgents, and AP2 v0.2.0, three in total; CoralOS was live-measured at v1.3.0 and code-compared at v1.4.0 (Appendix B).
    • The LLM behavioral study covers 8 models, 5 providers, 3 temperatures, and 3 IPI payloads, with 20 trials per configuration, totaling 1,440 calls (Table 8, 9).
    • PCAT evaluation covers attacks traversing the HTTP path: P1/P2/P3/P4/P5 are validated against V5, F-1, V9, V10, V11, A-AP2-1, A-AP2-11, and A-AP2-15 respectively; 14 vulnerabilities outside the HTTP path (such as V6/V13, V14, V15, F-3/F-4/F-7/F-8, and some AP2 items) are not within the PCAT defense evaluation (Section 8.4).
    • Race experiments use 200 trials per group (Experiment B/C/D); the false-positive test is 10,000 benign requests, 1,000 each across ten classes.
    • The paper does not report per-payload, per-model breakdown numbers beyond the full prompts for each IPI payload in the V5 study; the V9 on-chain transfer was not executed due to faucet rate limiting (Section 10).
  6. Summarize the main content of the paper

    The authors state that the risk of agentic commerce platforms lies at the protocol layer: 33 model-agnostic vulnerabilities achieved 100% success in live testing, and PCAT can zero out four of these classes.

    A cross-platform security analysis targeting agentic commerce infrastructure, whose core claim is: the security of such platforms should not be solved only at the model layer; model-agnostic structural vulnerabilities exist at the protocol layer.

    • Problem: The three platforms CoralOS, Fetch.ai uAgents, and AP2 let agents autonomously discover services, make payments, and hold credentials; the authors state that prior research focused only on semantic attacks such as prompt injection, and protocol-layer flaws have not been systematically studied.
    • Method: Formally distinguish structural attacks (deterministic, model-agnostic) from semantic attacks (probabilistic, model-dependent), group 33 vulnerabilities into six root-cause classes (RC-1 to RC-6); build the AIP-Bench benchmark, which uses only deterministic judges, and the platform-agnostic HTTP sidecar defense PCAT (five principles P1–P5).
    • Vulnerability results: 33 vulnerabilities (CoralOS 11, Fetch.ai 8, AP2 14), with ASR 100% wherever live-measured; the V5→V4→V9 three-stage chain achieves credential theft, behavioral corruption, and payment redirection simultaneously in a single run.
    • Model influence: The IPI behavioral influence of V5 shows a gradient—gpt-4o-mini and gemini-2.5-flash 100%, mistral-large-2512 99%, gpt-4o 68%, llama-3.3-70b 10%, claude-3-haiku, claude-sonnet-4.6, and gemini-2.5-pro 0% (1,440 trials, Table 9); the authors argue that alignment training, not model scale, determines resistance.
    • Defense results: PCAT reduces ASR for RC-1/2/4/5 class attacks from 100% to 0%, reduces RC-3 to alert-only, with zero false positives on 10,000 benign requests and a median P1 signature-verification latency of 0.209 ms; the authors provide three formal security theorems.
    • Authors' conclusion: The same root causes recur across three independent codebases, constituting an architectural failure mode; structural vulnerabilities require protocol-layer fixes and semantic attacks require model-layer defenses, and both layers must be addressed. The authors state that to their knowledge AIP-Bench is the first deterministic agentic commerce security benchmark.

Related papers

Read originalarxiv.org