a2a-Market-Stripe-Payment

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If implemented or invoked too broadly, the agent could help create flows that capture or cancel real payments and change order states without enough operational safeguards.

Why it was flagged

These instructions describe event-driven financial and order-state mutations, but the artifact does not define user approval, amount/account limits, live/test boundaries, or rollback controls.

Skill content
- Capture or cancel payments based on order transitions. ... `handle_webhook(event)` verifies signature and upserts payment status.
Recommendation

Require explicit business/user approval for captures, define amount and account boundaries, separate test and live Stripe environments, and add audit logging plus rollback/error-handling guidance.

ConcernMedium Confidence
ASI03: Identity and Privilege Abuse
What this means

A user may not realize that implementing the described behavior requires sensitive Stripe account credentials capable of moving money.

Why it was flagged

Capturing authorized funds implies delegated Stripe account authority. The supplied metadata declares no primary credential or required environment variables, leaving credential scope and privilege boundaries under-disclosed.

Skill content
`capture_payment(provider_intent_id)` captures authorized funds.
Recommendation

Declare the required Stripe secret key and webhook signing secret, document least-privilege handling, avoid logging secrets, and clearly state whether the integration is test-only or allowed to operate in live mode.

What this means

Users cannot verify from the provided artifacts how the payment logic, credential handling, or tests are actually implemented.

Why it was flagged

The artifact set contains only SKILL.md and no runtime package, so the claimed implementation and tests could not be reviewed.

Skill content
Status: implemented in local runtime package. ... `runtime/src/integrations/stripe/stripe-payment-service.js` ... Validation: covered by `runtime/tests` and `npm test` in `runtime/`.
Recommendation

Provide the referenced runtime files, tests, package metadata, and dependency lockfile for review, or remove the runtime-implemented claim from the instruction-only skill.