Skip to main content

agent-payment-x402

Enables AI agents to autonomously manage payments with budget control and non-custodial wallets using the x402 payment protocol.

Install this skill

or
64/100

Security score

The agent-payment-x402 skill was audited on May 15, 2026 and we found 12 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 109

Template literal with variable interpolation in command context

SourceSKILL.md
109`Failed to set spending policy — do not delegate: ${JSON.stringify(policyResult.content)}`
medium line 121

Template literal with variable interpolation in command context

SourceSKILL.md
121throw new Error(`Invalid apiCost: ${apiCost} — action blocked`);
medium line 129

Template literal with variable interpolation in command context

SourceSKILL.md
129throw new Error(`Payment service unreachable — action blocked: ${err}`);
medium line 135

Template literal with variable interpolation in command context

SourceSKILL.md
135`check_spending failed — action blocked: ${JSON.stringify(result.content)}`
medium line 151

Template literal with variable interpolation in command context

SourceSKILL.md
151`check_spending returned unexpected format — action blocked: ${err}`
medium line 158

Template literal with variable interpolation in command context

SourceSKILL.md
158`Budget exceeded: need $${apiCost} but only $${remaining} remaining`
low line 77

Access to .env file

SourceSKILL.md
77const walletKey = process.env.WALLET_PRIVATE_KEY;
low line 83

Access to .env file

SourceSKILL.md
83// Whitelist only the env vars the server needs — never forward all of process.env
low line 89

Access to .env file

SourceSKILL.md
89PATH: process.env.PATH ?? "",
low line 90

Access to .env file

SourceSKILL.md
90NODE_ENV: process.env.NODE_ENV ?? "production",
low line 180

External URL reference

SourceSKILL.md
180* **npm**:[`agentwallet-sdk`](https://www.npmjs.com/package/agentwallet-sdk)
low line 182

External URL reference

SourceSKILL.md
182* **协议规范**:[x402.org](https://x402.org)
Scanned on May 15, 2026
View Security Dashboard
Installation guide →