/ap2-agentic-payments:ap2-risk-signalsfrom ap2-agentic-payments
Implements the AP2 risk signals framework for agentic payments, covering novel risk factors, risk payload construction, trust establishment, and fraud assessment for agentic commerce transactions.
Ships in ap2-agentic-payments. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
https://ap2-protocol.org/ap2/specification/ for risk payload specificationhttps://ap2-protocol.org/ap2/security_and_privacy_considerations/ for risk considerationsap2 protocol risk signals fraud agentic payments for risk framework detailssite:github.com google-agentic-commerce AP2 risk for implementation referencesAgentic commerce introduces novel risk dimensions that traditional payment systems weren't designed for. AP2's risk signals framework provides a common language for all ecosystem participants to assess transaction risk.
| Risk Factor | Description |
|---|---|
| User asynchronicity | User may not be present during the entire transaction journey |
| Delegated trust | Agents initiate transactions on behalf of users |
| Mandate-merchant matching | Verifying the purchase matches the authorized intent |
| Temporal gaps | Time between token generation and payment execution |
| Indirect trust establishment | CP and Merchant may not have a direct trust relationship |
| Agent identity verification | Verifying the agent is who it claims to be |
The following are additional AI-specific risk considerations relevant to agentic commerce implementations, but they are not part of the official AP2 specification's novel risk factor table:
| Risk Factor | Description |
|---|---|
| Agent hallucination | AI agent may misinterpret user intent |
| Prompt injection | Malicious inputs that manipulate agent behavior |
The risk payload is an open-ended field structure — deliberately unconstrained so the ecosystem can converge on conventions. Check the release you target for any fields that have since been formalised:
AP2 defines trust establishment phases:
Short-term (early releases):
Long-term (direction of travel):
For dispute resolution, risk signals help determine accountability:
Fetch the specification for exact risk payload structure, supported signal types, and risk assessment requirements before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ap2, agentic-payments, fraud-detection, risk-assessment, trust-scoring
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ap2-agentic-payments19 skills in this plugin
/ap2-a2a-extensionImplement AP2 as an A2A extension — mandate DataParts in A2A messages, Agent Card AP2 capabilities, payment-specific task flows, and inter-agent payment communication. Use when integrating AP2 payment capabilities into A2A multi-agent systems./ap2-agent-authorizationImplement the AP2 Agent Authorization Framework — open vs closed mandates, the two-phase delegation/authorization process, the cryptographic authorization chain, Key Binding JWTs, and human-present vs human-not-present signing. Use when designing how a user authorizes an agent to act, before touching any specific mandate type./ap2-challenge-stepupImplement AP2 challenge and step-up flows — 3DS2, OTP verification, redirect challenges, and trusted surface interactions. Use when building additional authentication steps during agentic payment processing./ap2-checkout-mandateImplement the AP2 Checkout Mandate — the credential authorizing completion of a checkout, in its open (constrained) and closed (merchant-verified) forms, with merchant-signed checkout payloads, checkout hashes, and user confirmation on a trusted surface. Formerly called the Cart Mandate. Use when building cart/checkout authorization, signing, and verification./ap2-credentials-providerBuild an AP2 Credentials Provider — the agent that manages payment credentials, provides payment methods to users, handles tokenization (DPAN), and facilitates secure payment between Shopping Agent and Payment Processor. Use when implementing the Credentials Provider role./ap2-cryptographic-signingImplement AP2 cryptographic signing — hardware-backed user signatures, merchant entity signatures, VDC integrity, key management, and attestation flows. Use when building the signing, verification, and key management components of AP2 mandates.Other plugins' skills for the same job