Solana CLI for trading, prediction markets, defi and x402 payments

WarnAudited by ClawScan on May 10, 2026.

Overview

This is a broad crypto wallet and trading skill that can move funds using an unpinned external npm CLI, so users should review it carefully before allowing it to sign transactions.

Install only if you are comfortable using an external Solana CLI to manage real wallet keys and sign transactions. Prefer a pinned reviewed CLI version, start with a fresh low-balance wallet, use dry-run or quote-only before any trade or payment, set spending caps and permissions, and do not import high-value wallet keys until you fully trust the tool.

Findings (5)

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

A future or compromised npm release could run with access to the user's wallet files and sign or submit high-value transactions.

Why it was flagged

The skill recommends executing a moving npm package version. Because no code files or install spec for that CLI are included, users cannot verify the exact code that will handle wallets and transactions.

Skill content
Prefer `npx` with `@latest` — it always runs the latest version with no global install to manage:
Recommendation

Use a pinned, reviewed version of the CLI; verify the package publisher and source; test with an empty wallet first; and avoid running @latest for wallets holding meaningful funds.

What this means

Anyone or any code that can access these key files may be able to move the user's crypto assets.

Why it was flagged

The CLI creates, stores, and imports private wallet key material, including existing Solana CLI keys, even though the registry metadata declares no primary credential or required config paths.

Skill content
Creates a new Ed25519 keypair and stores it as a JSON key file in `~/.sol/wallets/<name>.json` ... `sol wallet import --solana-cli`
Recommendation

Use a dedicated low-balance wallet, protect file permissions and backups, avoid importing cold-wallet keys, and consider hardware-wallet or multisig workflows for valuable assets.

What this means

An accidental or misunderstood command could cause irreversible transfers, bad trades, unwanted debt, recurring purchases, or loss of tokens.

Why it was flagged

The documented command set can move, lock, borrow against, burn, or repeatedly spend funds. The artifacts do not impose a mandatory quote/confirmation step before these high-impact actions.

Skill content
Pay people in SOL or USDC, buy and sell tokens ... stake SOL, earn yield ... borrow ... set up DCA ... limit orders, provide liquidity ... trade prediction markets, pay for APIs via x402
Recommendation

Require explicit user approval for every transaction, use quote-only or dry-run first, set spending caps and permissions in `~/.sol/config.toml`, and avoid letting an agent execute financial commands autonomously.

What this means

Fetching an unexpected or malicious paid URL could spend USDC unless the user uses dry-run or sets a cap.

Why it was flagged

The x402 fetch command can automatically sign a USDC payment requested by a remote server; the spending cap is available but not shown as a default requirement.

Skill content
Fetch a URL, automatically paying if the server returns HTTP 402 Payment Required ... `--max <amount>` — Max USDC to spend
Recommendation

Use `--dry-run` and `--max` for x402 requests, disable `canFetch` unless needed, and only fetch paid resources from trusted domains.

What this means

Local files may reveal wallet holdings, trading history, and portfolio value to anyone with access to the machine.

Why it was flagged

The skill stores portfolio snapshots and transaction-derived financial history locally. This is purpose-aligned, but it creates persistent sensitive financial records.

Skill content
A snapshot is taken automatically on each portfolio view ... Saves the current portfolio state to SQLite for later comparison.
Recommendation

Protect the local machine and `~/.sol` directory, avoid sharing database files, and delete snapshots or transaction logs if they are no longer needed.