LNbits Wallet

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

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 used incorrectly, the assistant could initiate an irreversible Lightning payment.

Why it was flagged

The skill exposes a payment command that can spend wallet funds, but it also clearly instructs the agent to decode, verify balance, and get explicit user confirmation first.

Skill content
**⚠️ REQUIRES CONFIRMATION**: Decode first, verify balance, ask user, then execute. ... python3 {baseDir}/scripts/lnbits_cli.py pay <bolt11_string>
Recommendation

Only approve payments after checking the decoded invoice amount, memo, destination, and wallet balance.

What this means

Anyone with the configured API/admin key may be able to access or spend from the LNbits wallet depending on the key's permissions.

Why it was flagged

The skill requires an LNbits API key as its primary credential, which is expected for wallet management but grants sensitive wallet authority.

Skill content
requires":{"bins":["python3"],"env":["LNBITS_API_KEY", "LNBITS_BASE_URL"]},"primaryEnv":"LNBITS_API_KEY"
Recommendation

Use a wallet/key dedicated to this assistant, avoid sharing logs containing the key, and revoke or rotate the key if it may have been exposed.

What this means

A user could configure or fund the wrong LNbits instance if they assume a different default server.

Why it was flagged

The code has a fallback LNbits endpoint; this is worth noticing because the setup text describes a different demo-server default, so users should confirm which LNbits host is being used.

Skill content
BASE_URL = os.getenv("LNBITS_BASE_URL", "https://legend.lnbits.com").rstrip("/")
Recommendation

Set LNBITS_BASE_URL explicitly and verify it matches the wallet host before creating invoices or sending funds.