AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 49 Bitcoin

fix: fiat wallet type (#4165)

Public commit record

What the developer wrote

Authored by Arc

65/100 · Adequate
fix: fiat wallet type (#4165)
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds a new 'fiat wallet' type to LNbits, a Bitcoin Lightning wallet platform. It introduces controls so these fiat wallets can only receive money (via cash or a configured fiat provider) and cannot send Bitcoin payments. The change also adds admin settings to allow or restrict who can create such wallets. The commit appears to be a feature/fix rather than a disclosed security patch, but it touches sensitive payment-authorization logic.

Recommended action

Treat as a feature/fix commit with security-relevant hardening. Review the new permission checks for completeness, ensure the /api/v1/fiat/cash endpoint cannot be abused to inflate fiat balances, and verify that fiat wallets are consistently excluded from all Lightning-spending paths and balance reports. No immediate emergency response is indicated absent a vendor security advisory.

Security signals we found

01

New wallet permission model restricts fiat wallets to receive-only

02

Payment creation now checks negative amounts against can_send_payments

03

Fiat invoice creation validates provider availability per user

04

New admin setting LNBITS_ALLOW_FIAT_WALLETS gates fiat wallet creation

05

Fiat wallets excluded from global balance totals to avoid accounting Lightning funds that are not actually on-chain/Lightning

Risk score

Why this scored 49/100

Our methodology →
Potential impact 12/30
Exploitability 10/25
Stealth signal 8/15
Affected reach 10/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.