CDP Wallet

PassAudited by VirusTotal on May 10, 2026.

Overview

Type: OpenClaw Skill Name: cdp-wallet Version: 0.2.2 The cdp-wallet skill is a legitimate CLI wrapper for the Coinbase CDP (Cloud Development Platform) SDK, enabling AI agents to interact with server-side wallets on the Base network. The code in src/index.js implements standard wallet operations (address, balance, transfer) and the x402 payment protocol using official or well-known libraries like @coinbase/cdp-sdk and viem. The documentation in SKILL.md is comprehensive, accurately describing the required environment variables and security trade-offs without any evidence of malicious intent or prompt-injection attacks.

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 an agent calls this command incorrectly or is tricked into doing so, it can send wallet funds to an unintended address.

Why it was flagged

The send-usdc command submits a real USDC transfer from command arguments. The provided artifacts do not show an in-skill confirmation prompt, max spend, recipient allowlist, or budget limit before funds are moved.

Skill content
const result = await account.transfer({
      to,
      amount: amountAtoms,
      token: "usdc",
      network: NETWORK,
    });
Recommendation

Use a dedicated low-balance wallet, prefer testnet first, add external approval/budget controls, and avoid giving the agent access to more funds than it is allowed to spend.

ConcernMedium Confidence
ASI02: Tool Misuse and Exploitation
What this means

A paid resource can cause the agent to settle a payment under terms or on a network the operator may not have expected.

Why it was flagged

The x402 payment flow can pay an arbitrary resource URL inline, and the visible comment says the server's payment requirements determine the network rather than the operator's CDP_NETWORK setting.

Skill content
pay-x402 <url> [options]      Call an x402-protected URL, paying inline... Supports any EVM network the resource server requests; the network is determined by the server's PaymentRequirements, not by CDP_NETWORK.
Recommendation

Restrict pay-x402 use to trusted URLs, require user approval for paid requests, and add explicit limits for allowed networks, assets, and maximum payment amounts.

What this means

Anyone or any agent process with this environment access can potentially use the wallet to sign payments.

Why it was flagged

The required credential is explicitly disclosed and necessary for the wallet purpose, but it is high-impact because it authorizes transactions.

Skill content
The Wallet Secret is the credential that authorizes signing operations against the keys held in CDP's TEEs. Without it, the agent can read but cannot move funds.
Recommendation

Keep these credentials out of shared environments, rotate them if exposed, and use a separate wallet with limited funds for agent activity.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

Restarting or redeploying the agent does not reset its wallet authority if the same credentials remain configured.

Why it was flagged

The wallet persistence is disclosed and useful for the stated purpose, but it means the agent will keep resolving to the same funded wallet across restarts when the same account name and credentials are used.

Skill content
same name → same wallet across runs
Recommendation

Use a purpose-specific CDP_ACCOUNT_NAME, monitor wallet activity, and revoke or rotate credentials when the agent should no longer spend.

What this means

A future dependency update could alter behavior in a sensitive wallet/payment path.

Why it was flagged

The skill relies on npm packages with semver ranges. That is normal for a Node wallet integration, but installing later dependency versions can change the code that handles credentials and payments.

Skill content
"dependencies": {
    "@coinbase/cdp-sdk": "^1.40.0",
    "@x402/core": "^2.0.0",
    "@x402/evm": "^2.0.0",
    "@x402/fetch": "^2.0.0"
Recommendation

Install from a trusted checkout, consider using a lockfile or pinned dependency versions, and review dependency updates before deploying with real funds.