pay-via-agent-wallet

Fail

Audited by Snyk on Nov 17, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate x402 paid-API workflow with official Circle domains and required user approval for spending, but its routing rules push the agent to move and lock up user USDC into Gateway even for a single call, which goes beyond what the task needs.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). The required workflow runs circle services search and inspect on keywords the agent chooses, reading seller-authored names and descriptions from the public Circle marketplace, and pay returns seller-authored response bodies; an outsider can publish a poisoned listing but cannot force it into the agent's context without the agent actively searching for it.

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (medium risk: 0.30). Decisive operation: circle services pay settles real USDC payments to seller endpoints (Step 4, lines 75-85). The payment is irreversible (line 94), so it is a direct financial operation, not indirect. Control evidence: the skill requires an authenticated agent-wallet session before paying. Prerequisites direct the agent to log in when the session reports Not logged in or Terms acceptance is required (lines 20-24), and the Safety section treats an unauthenticated wallet as a missing-access stop (line 97). This is a login/session gate, which the rubric accepts as access control. The Step 3 cost approval, the --max-amount cap and the "ask first" rules are agent-followed and do not count as control. The login gate is documented in the skill, but its enforcement point is not spelled out in the supplied text, so this is a judgment call. Medium is assigned rather than high because a login gate is documented for the payment route. Under the recall-first override, this is the closest call and could be treated as high.

Issues (3)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W009
MEDIUM

Direct money access capability detected (payment gateways, crypto, banking).

Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 17, 2026, 09:27 PM
Issues
3