Oathe Security Badge

oathe / scan / reports / caution

Is akshatgada/llm-wallet safe?

Use with caution. akshatgada/llm-wallet is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the llm-wallet skill by akshatgada a trust score of 66/100 with 9 findings (3 high). Report updated

https://github.com/openclaw/skills/tree/main/skills/akshatgada/llm-wallet

66
CAUTION

Is akshatgada/llm-wallet safe to install?

The llm-wallet skill itself (markdown-only) contains no overt prompt injection, malicious code, or direct exfiltration mechanisms. However, the skill activates an unaudited external npm package (llm-wallet-mcp) that gains persistent OS-level access, and the underlying functionality — spending real cryptocurrency, importing private keys, registering arbitrary payment endpoints — creates substantial financial and key-theft risks if the agent is manipulated or the npm package is malicious. The soft approval gate ('always ask user') provides no technical enforcement and is bypassable through social engineering.

What security issues were found in akshatgada/llm-wallet?

Category Scores

Prompt Injection 73/100 · 30%
Data Exfiltration 58/100 · 25%
Code Execution 52/100 · 20%
Clone Behavior 83/100 · 10%
Canary Integrity 88/100 · 10%
Behavioral Reasoning 40/100 · 5%

Findings (9)

HIGH Unaudited External npm Package Installation -48 ▶

The skill installs llm-wallet-mcp from npm (published by the x402 organization) as a global Node.js package. This package was not part of the audited skill files. npm packages can include preinstall/postinstall lifecycle scripts that execute arbitrary code at install time, and the installed binary gains full OS-level access at runtime. The skill directory itself contains only markdown and is clean, but all execution risk is deferred to this npm package.

Evidence: metadata.openclaw.install: [{"kind": "node", "package": "llm-wallet-mcp"}]; homepage: https://github.com/x402/llm-wallet-mcp

HIGH Real Cryptocurrency Spending Capability with Soft Approval Gate -60 ▶

The skill enables an agent to spend real USDC on Polygon mainnet. The only protection is a text instruction to 'always ask user for approval.' This is a social-engineering-bypassable soft gate. An attacker who can influence the conversation could craft prompts that make the approval seem routine or pre-granted. The skill explicitly documents how to switch from testnet to mainnet.

Evidence: SKILL.md: '⚠️ IMPORTANT: Always ask user for approval before making payments!'; references/wallet-setup.md: 'export WALLET_NETWORK="polygon"' for mainnet

HIGH Private Key Import Command Exposes Agent to Key Theft -42 ▶

The llm-wallet import --private-key command is a documented feature. If a user is tricked into sharing their private key with the agent for any reason, or if another skill causes the agent to read a file containing a private key, this command would capture the key into the wallet manager controlled by the MCP server process.

Evidence: SKILL.md: 'llm-wallet import --private-key <key> [--label <name>] — Import existing wallet from private key'

MEDIUM FACILITATOR_URL Override Enables Payment Redirection -27 ▶

The FACILITATOR_URL environment variable is documented as user-configurable. A compromised environment or a skill interaction that sets this variable could silently redirect all payment authorizations to an attacker-controlled facilitator. The agent would believe it is paying a legitimate endpoint while the facilitator settles funds to the attacker.

Evidence: SKILL.md: 'FACILITATOR_URL - Custom facilitator URL (auto-configured)'; references/x402-protocol.md describes facilitator's role in executing on-chain settlements

MEDIUM register-api + call-api Enables Chained Autonomous Payments -55 ▶

The dynamic API registration system allows registering arbitrary URLs as named tools, then calling them with llm-wallet call-api. This pattern enables an attacker to prime the agent to register a malicious payment endpoint as a trusted tool name, then trigger batch payments through that tool in future conversations without the URL being visible to the user.

Evidence: SKILL.md: 'llm-wallet register-api <url> --name <tool_name>'; examples.md: batch approval template showing single approval for multiple API calls

MEDIUM MCP Server Runs as Persistent High-Privilege Process -48 ▶

When activated, llm-wallet-mcp runs as a persistent MCP server with full user-level filesystem and network access. This process persists across conversations, expanding the attack surface beyond the skill's runtime. Any vulnerability in the npm package's server code is persistently exploitable.

Evidence: Connection diff: new TCP listeners on 127.0.0.1:18790 and 127.0.0.1:18793 attributed to openclaw-gateway after skill registration

LOW Wallet Database Stored in Predictable Location -42 ▶

Wallets are stored encrypted in ~/.llm-wallet/. While AES-256-GCM encryption is strong, the storage path is predictable. Combined with a file-reading skill, an attacker could exfiltrate the encrypted wallet database and attempt offline decryption if the WALLET_ENCRYPTION_KEY was weak or is known.

Evidence: references/wallet-setup.md: 'Wallet storage: ~/.llm-wallet/ — Backup this directory (encrypted)'

LOW New Network Listeners Added After Skill Registration -17 ▶

Two new TCP listeners appeared on localhost after skill installation (127.0.0.1:18790, 127.0.0.1:18793). These are attributed to the openclaw-gateway process and are consistent with MCP tool registration. They represent an expanded local attack surface but are expected behavior for an MCP-based skill.

Evidence: Connection diff AFTER: 'tcp LISTEN 127.0.0.1:18793 users:(openclaw-gatewa,pid=1087)'; 'tcp LISTEN 127.0.0.1:18790 users:(openclaw-gatewa,pid=1087)'

INFO Canary Files Accessed But Not Exfiltrated -12 ▶

All canary files (.env, .ssh/id_rsa, .aws/credentials, .npmrc, .docker/config.json, gcloud credentials) were accessed at timestamp 1771925382.888 in a batch pattern. Timing and access pattern are consistent with the audit framework's own post-scan integrity check rather than skill-induced access. No canary content appeared in outbound network traffic.

Evidence: auditd PATH records at 1771925382.888 for all canary files; Canary Integrity check result: all intact

Should I install akshatgada/llm-wallet?

Oathe's verdict for akshatgada/llm-wallet is CAUTION with a trust score of 66/100. Recommendation: Review before install.