agent-payment-x402

Pass

Audited by Gen Agent Trust Hub on Oct 14, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill instructs the installation of the agentwallet-sdk package from NPM. It correctly recommends pinning the version (e.g., agentwallet-sdk@6.0.0) to mitigate supply-chain risks.
  • [COMMAND_EXECUTION]: The skill uses npx and npm install to run and install the payment SDK. These are standard commands for establishing an MCP server.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external payment-related data via the x402 protocol. However, it incorporates robust security measures, including budget enforcement by the orchestrator (rather than the agent) and validation of numeric fields in the code examples, to prevent unauthorized spending or manipulation.
  • [SAFE]: The skill references a WALLET_PRIVATE_KEY environment variable. It correctly advises storing this sensitive information in the environment rather than hardcoding it and provides code to ensure the key is present before execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 14, 2026, 02:58 PM