run-a-card-sale
Warn
Audited by Snyk on Nov 18, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). Direct operation: the skill guides the agent through a card sale that charges funds immediately (
autoCapture: true, "funds taken now"), including sending thePOST /v1/paymentsrequest and handling the outcome. The workflow is not limited to illustrative code. It includes an explicit "Send the request" step and a test-environment validation step, so it is more than a tutorial for building checkout. Because the charge is direct, the control test applies. A service-enforced control is documented: the agent must obtain a Bearer token from the identity service by sending anx-api-keyheader, and the payments endpoint requiresAuthorization: Bearer. The service validates these credentials, so this is independent access control rather than agent-followed instructions. Under the recall-first override, the ambiguity between development guidance and an operational charge is resolved toward operational, which yields medium rather than no. The control is established, so the tier is not high.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata