LN
← All projectsLNbits

LNbits

Self-hosted Lightning wallet, accounts, payment API, and extension platform supporting multiple funding sources.

BitcoinLightning NetworkPayment infrastructureActive incident
Repository coverage

598 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

51security candidates144second-pass queue196AI analyses
63commits · 30 days
141commits · 60 days
291commits · 180 days
547commits · 365 days
Backfill bands
Nov 8 → May 12291 seen16 candidatesComplete
May 12 → Sep 9146 seen12 candidatesComplete
Sep 9 → Oct 932 seen6 candidatesComplete
Oct 9 → Nov 899 seen10 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

71/100 average clarity
171Strong · 80–100
341Adequate · 60–79
80Thin · 40–59
6Opaque · 0–39
2security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Vlad Stan1372758564
Arc631127366
Riccardo Balbo403140
dni ⚡185558069
Tiago Vasconcelos38311068
monasco622053
Bitkarrot624085
satcat21111075
dependabot[bot]6400093
blackcoffeexbt1005065
Nathan Day904086
Bartok802081
Analysis record

Published AI watches

Last scanned 47 minutes ago

Low 41 AI analysisMessage 73 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

feat (wasm): Adds csv/print to wasm iframes, core theme passing, optional unhashed description, scoped invoice status, fiat checkout and browser storage (#4328)

This commit adds several new features to LNbits' WebAssembly (WASM) extension system. It introduces ways for extensions to: check invoice status, refresh payment status, create fiat checkout invoices, store small amounts of data in the bro…

Untrusted `extension_context` dictionary replaced by frozen typed model `PaymentExtensionContext` with required `extension_id`, `owner_id`, `wallet_id`, and optional `source_id`.New `wallet.invoice_status` method enforces strict binding checks (extension, owner, wallet, source) before returning only `paid/pending/failed/amount-msat`; rejects legacy/unbound invoices.New `wallet.refresh_payment` requires authentication, wallet ownership or shared-wallet VIEW_PAYMENTS permission, and scopes payment lookup by wallet; hides backend error details.
df3a180aby Arc+1919−8322 files
No security note in commit
Moderate 63 AI analysisMessage 58 · Thin
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix[8c7f]: reject SSO for accounts with passwords (#4347)

This update blocks users from logging into password-protected accounts through single sign-on (SSO), such as 'Login with GitHub'. Before this change, an attacker who knew or guessed a victim's email address could potentially use an SSO pro…

Authentication bypass mitigation: SSO can no longer authenticate accounts that also have local passwordsAccount takeover risk reduction: blocks an external identity provider from overriding a password-protected accountState preservation: password hash and email_verified flag remain unchanged on rejection
b1d22089by Vlad Stan+70−23 files
No security note in commit
Low 44 AI analysisMessage 58 · Thin
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix[8c7f]: keep unrecorded Core Lightning payments pending (#4345)

This commit changes how LNbits interprets a missing Core Lightning payment record. Previously, if no payment record existed, LNbits marked the payment as failed. Now it marks it as still pending, because a payment that is currently being s…

Change in payment state machine: empty result now treated as pending rather than failedPotential race condition between payment initiation and status pollingRisk of duplicate payment attempts if pending status leads to retries
49755d33by Vlad Stan+2−21 file
No security note in commit
High 81 AI analysisMessage 75 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: reject user ID authentication for password accounts (#4340)

This commit fixes an authentication bypass in LNbits. Previously, an account that had been created without a password could still be logged into using only the user ID even after a password was later added. An attacker who knew (or guessed…

Authentication bypass via user ID for password-protected accountsStale authentication cache could grant access after password upgradeNew guard `check_passwordless_account` enforces password requirement
db9563d2by Vlad Stan+196−448 files
Vendor flagged security relevance
Moderate 67 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: respect shared wallet permissions for payment updates (#4338)

This commit fixes a permission bug in LNbits where users of shared wallets could update or settle/cancel payments even when they only had view-only access. It also adds a check so that settle/cancel actions only work on special 'hold invoi…

Access-control bypass fix for shared wallet payment updatesNew permission check can_update_payments() tied to shared wallet receive/send permissionsNew hold_invoice guard on settle/cancel endpoints
d718f9aeby Vlad Stan+154−64 files
No security note in commit
Informational 15 AI analysisMessage 65 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

chore: remove extension builder from core (#4331)

This commit completely removes the 'Extension Builder' feature from LNbits core. It deletes the backend code that generated extensions from templates, the API endpoints, the web UI pages, and related settings. There is no bug being fixed a…

Removal of a code-generation feature that used Jinja2 with autoescape=False (bandit S701 was previously suppressed for this file)Removal of an endpoint that allowed admins to build, deploy, and activate extensions from user-supplied JSON configurationReduction of extension installation attack surface by removing the builder manifest source and preview file-serving route
c8d47013by Vlad Stan+14−334535 files
No security note in commit
Low 49 AI analysisMessage 65 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: disable paid reviews (#4325)

This update turns off a default paid-extension review service in LNbits. It stops the wallet from automatically contacting a third-party payment/review server when it lists or updates extensions, and resets the default review URL to empty.…

Default third-party review/payment URL removedMigration forcibly resets stored review URL to emptyBackground extension update/install no longer queries remote pay_link for pricing
77cc2276by Vlad Stan+208−1313 files
No security note in commit
Moderate 60 AI analysisMessage 55 · Thin
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: packaging/builds (#4319)

This commit fixes a packaging/build issue in LNbits, but the code changes also harden how sensitive funding-source settings (wallet seeds, API keys, macaroons) are exposed and edited through the admin web interface. Previously, non-super a…

Authorization boundary tightened: funding-source credentials restricted to superuser in API and UISeed-integrity check added: configured mnemonic must match persisted seed.dat before settings are writtenBackup confirmation reset when funding seed changes, preventing silent wallet substitution
fe2b0a98by Arc+913−6918 files
No security note in commit
Critical 100 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

feat: Add superuser action to reset all wallet keys (#4320)

This commit adds a recovery feature that lets the LNbits superuser instantly replace every wallet's secret keys, including keys for deleted wallets, and clear any cached copies of the old keys. The vendor says this is needed because of a r…

Vendor describes the change as a recovery control for a security incident involving exposed wallet credentialsVendor states all versions before 1.7.0 are affected and funds are at risk of theftNew superuser-only endpoint can rotate every wallet's admin and invoice keys, including deleted wallets
45a25b24by Vlad Stan+523−58 files
Vendor flagged security relevance
Moderate 63 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

feat: Automatically update extensions on startup and on a schedule (#4314)

This commit adds an automatic extension update feature to LNbits. By default, it checks for and installs newer versions of installed extensions when the server starts, and can repeat that check every 24 hours. Because extensions are downlo…

Automatic download and execution of third-party code is enabled by defaultUpdate source is the extension's configured source_repo, not a vendor-curated storeNo code signature or hash verification is visible in the diff beyond existing archive validation helpers
a16d7752by Vlad Stan+836−1511 files
No security note in commit
Critical 89 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: harden SSRF checks and use explicit local LNURL route opt-ins (#4313)

This commit is a security hardening patch for LNbits, a Bitcoin Lightning wallet platform. It fixes weaknesses in the server's outgoing web-request protections (SSRF, or Server-Side Request Forgery) that could let an attacker trick the LNb…

SSRF hardening: multicast, IPv6 transition/embedded addresses, and EC2 IPv6 metadata endpoint blockedLocal LNURL routing moved from hard-coded regex allow-list to explicit per-route openapi_extra opt-inBackslash path traversal blocked in private HTTP endpoint checks
fc5e0b60by Arc+168−408 files
Vendor flagged security relevance
Critical 90 AI analysisMessage 85 · Strong
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: centralize SSRF protection and block self-targeted requests (#4310)

This is a major security patch for LNbits released after a November incident. It fixes two broad weaknesses: attackers could trick the server into making requests to itself or to internal/cloud services (SSRF), and new user accounts could …

New centralized SafeHttpClient with DNS pinning, redirect limits, and destination validationNew outbound.py blocks requests to the instance hostname and locally assigned/supplied IP addressesSSRF protection applied to LNURL, NIP-05, webhooks, WASM extension HTTP, and WebSockets
7a176c59by Arc+2076−30332 files
Vendor flagged security relevance
Low 35 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix(corelightningrest): compute payment status fee as sent minus amount (#4300)

This commit fixes a bug in how LNbits calculates the fee for a completed Core Lightning REST payment. The old code incorrectly subtracted a negative 'amount sent' value, which produced the wrong fee. The fix changes the formula so the fee …

Incorrect arithmetic in financial/fee calculationTest fixture updated to match corrected sign conventionWallet backend payment status logic changed
45a8704fby Amartya Vikram Singh+2−22 files
No security note in commit
Moderate 52 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: ignore failed payments in daily withdraw limit (#4297)

This commit fixes a bug in LNbits where failed outgoing payments were incorrectly counted against a wallet's daily withdrawal limit. Because failed payments never actually moved money out of the wallet, counting them could wrongly block le…

Business-logic flaw in access-control / spending limitIncorrect state filter on financial transaction queryDenial-of-service-like effect: legitimate withdrawals blocked by stale failed payment records
206477d4by Amartya Vikram Singh+54−02 files
No security note in commit
Low 34 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix(lnpay): return checking_id from create_invoice (#4295)

This commit fixes a bug in the LNPay wallet integration where newly created Lightning invoices were not returning their internal tracking ID ('checking_id'). Without this ID, LNbits could not reliably match future payment updates to the co…

Missing correlation identifier in payment responsePotential invoice state desynchronization between LNbits and LNPay backendRegression test added for payment identifier handling
918b38dcby Amartya Vikram Singh+22−02 files
No security note in commit
Moderate 60 AI analysisMessage 70 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: prevent duplicate BOLT12 offer payments on retry (#4287)

This commit fixes a bug where retrying a BOLT12 offer payment could accidentally pay the same offer twice. It adds an idempotency check using an external_id so that retries return the original payment instead of creating a duplicate, while…

Duplicate payment prevention for BOLT12 offersIdempotency keyed on wallet_id + external_idConflict detection when external_id reused with different payment details
ea2686d1by Vlad Stan+426−89 files
No security note in commit
High 79 AI analysisMessage 55 · Thin
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: mempool urls (#4286)

This commit fixes a security gap in LNbits' on-chain (Bitcoin) wallet feature. Previously, a wallet owner could point their wallet at any Mempool-style block explorer URL, including internal or attacker-controlled addresses. The server wou…

Server-Side Request Forgery (SSRF) mitigation: unapproved mempool endpoints are rejected before httpx.AsyncClient is instantiatedOpen redirect / redirect-to-attacker mitigation: follow_redirects=False on mempool requestsInput validation: Pydantic validator strips paths, rejects credentials, fragments, query strings, control chars, backslashes, and invalid ports
f9dd17f3by Vlad Stan+354−2212 files
Vendor flagged security relevance
Low 45 AI analysisMessage 65 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

fix: payment ws notifications (#4282)

This commit fixes how LNbits notifies the user interface about incoming Lightning payments. Previously, the same paid invoice could be processed and announced multiple times, causing duplicate or confusing wallet notifications. The change …

Race condition in payment status update between polling loop and paid-invoice streamDuplicate WebSocket notifications for the same settled invoiceRefactoring to atomic DB-lock guarded update of incoming payment status
aa041306by Vlad Stan+388−297 files
No security note in commit
Low 39 AI analysisMessage 65 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

chore: bump to pydantic 2 (#4253)

This is a large dependency upgrade from Pydantic 1 to Pydantic 2 across the LNbits project. Most changes are mechanical renames (e.g., dict() to model_dump(), parse_obj() to model_validate()). A few small functional changes are mixed in: i…

Dependency major-version upgrade (Pydantic 1 -> 2) with broad validation behavior changesRemoval of Pydantic v1 duplicate-validator cache workaround in extension route registrationJWT account resolution reordered to prefer 'usr' claim over 'sub' claim
2ab7662eby Vlad Stan+1548−753119 files
No security note in commit
Informational 15 AI analysisMessage 65 · Adequate
LN LNbitsLNbits BitcoinLightning NetworkPayment infrastructure

feat: make onchain dialog more readeable (#4269)

This commit is a user-interface redesign of the on-chain Bitcoin receive dialog. It splits the dialog into two screens: one to enter an amount and note, and another to display the QR code. The changes are purely cosmetic and do not alter h…

0e0ee6edby Tiago Vasconcelos+144−804 files
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

AI review queuedfeat: add extra warning for admin keys (#4063)by Tiago Vasconcelos · 9177e226 · Jul 21, 2026 · 21 filesMessage 80 · StrongInformational 18Details
Commit message · Tiago Vasconcelos

feat: add extra warning for admin keys (#4063)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Informational 18/100

This commit adds an extra user-facing warning in the wallet API documentation component to caution users about the sensitivity of admin keys. It is a UI/UX hardening change, not a fix for an active security flaw. The warning appears in the component that displays API keys, and translations are added for many languages. There is no change to how keys are generated, stored, or validated on the server.

AI review queueddocs(guide): fix mangled LNPay webhook example markdown (#4071)by Bartok · b5454f3a · Jul 20, 2026 · 1 fileMessage 85 · StrongInformational 15Details
Commit message · Bartok

docs(guide): fix mangled LNPay webhook example markdown (#4071)

Co-authored-by: Sera (Bartok9) <sera@local>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathdocumentation-only discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit fixes a broken Markdown link in the documentation. The old example accidentally swapped the link text and URL, making the clickable text show a raw code snippet and the link destination point to literal placeholder text. The patch simply rewrites the example as plain code text so readers can copy the correct webhook URL pattern. There is no code change and no security issue.

AI review queuedfeat: advanced wasm extension features (#4059)by Vlad Stan · f5989201 · Jul 20, 2026 · 33 filesMessage 65 · AdequateLow 38Details
Commit message · Vlad Stan

feat: advanced wasm extension features (#4059)

65/100 · AdequateMessage clarity
✓ 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
Why it was queued
second-pass: unusually broad change
AI analysis · Low 38/100

This commit adds new capabilities to LNbits' WebAssembly (WASM) extension system, including public storage appending, public storage pagination, extension-local websockets, and admin permission policy overrides. It also introduces an 'owner context' mode for WASM API routes. The changes are broad and touch many security-sensitive areas (permissions, storage, websockets, route handling), but the diff shows substantial validation and rate-limiting code. Because this is a large feature commit rather than a documented bug fix, it is difficult to tell from the diff alone whether the new security boundaries are fully correct.

AI review queuedfix: Infinite invoice listener loop with VoidWallet (#4061)by blackcoffeexbt · 09c6e723 · Jul 15, 2026 · 1 fileMessage 70 · AdequateInformational 24Details
Commit message · blackcoffeexbt

fix: Infinite invoice listener loop with VoidWallet (#4061)

70/100 · AdequateMessage clarity
✓ Specific, 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 24/100

This commit removes a method from LNbits' VoidWallet (a fake/test wallet) that was causing an infinite loop when listening for paid invoices. The removed method repeatedly yielded empty invoice IDs, which could make background invoice-listener tasks spin forever. This is a reliability/bug-fix change rather than a direct security vulnerability, but infinite loops in background services can waste resources and potentially affect availability.

AI review queuedfix: UX disable "Send" button after clicking when paying LUD16 (#4034)by blackcoffeexbt · 53a1ae5e · Jul 15, 2026 · 5 filesMessage 70 · AdequateLow 26Details
Commit message · blackcoffeexbt

fix: UX disable "Send" button after clicking when paying LUD16 (#4034)

70/100 · AdequateMessage clarity
✓ Specific, 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 26/100

This commit is a small user-experience fix for the LNbits wallet. When a user clicks the 'Send' button to pay a LUD16 (Lightning Address) invoice, the button is now disabled while the payment is being processed. This prevents accidental double-clicks that could send the same payment twice. The change is framed as a UX improvement, not a security fix, but it does reduce the risk of accidental duplicate payments caused by a fast or impatient user clicking the button more than once.

AI review queuedfeat: Extensions for all (#4021)by Vlad Stan · 61ed636d · Jul 15, 2026 · 84 filesMessage 80 · StrongModerate 62Details
Commit message · Vlad Stan

feat: Extensions for all (#4021)

Co-authored-by: alan <alan@lnbits.com>
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
second-pass: unusually broad change
AI analysis · Moderate 62/100

This is a large feature commit that adds a new 'WASM extensions' system to LNbits, allowing extensions to run as sandboxed WebAssembly modules instead of Python code. It introduces permission checks, runtime limits, and sandboxed APIs for storage, wallet access, HTTP requests, and background payments. Because this is a brand-new, complex subsystem touching security-critical code (payments, wallets, extension installation, admin controls), it carries significant security risk, but the commit itself is a feature addition rather than a disclosed vulnerability fix. There is no evidence in the commit or supplied references that this is a known security issue or that a CVE exists.

AI review queuedMerge commit from forkby Riccardo Balbo · 4cb743d9 · Jul 13, 2026 · 1 fileMessage 28 · OpaqueModerate 57Details
Commit message · Riccardo Balbo

Merge commit from fork

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
merge-commit duplicate discountsecond-pass: opaque commit message
AI analysis · Moderate 57/100

This commit changes the order of checks when an admin deletes a user account. Previously, the code deleted the user's wallets before checking whether the target was the super-user or another admin. Now it performs those permission checks first. The change prevents an admin from partially deleting wallets belonging to the super-user or another admin before the operation is rejected. It is a hardening fix, but the commit message gives no security context.

AI review queuedMerge commit from forkby Riccardo Balbo · aac04efd · Jul 8, 2026 · 4 filesMessage 51 · ThinModerate 65Details
Commit message · Riccardo Balbo

Merge commit from fork

* fix: don't show unsafe html in lnurlp notifications

* fix: lnurlp success aes decryption

* regenerate bundle

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

51/100 · ThinMessage clarity
✓ Subject identifies a change✓ Provides detailed explanatory context
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: security-sensitive path
AI analysis · Moderate 65/100

This commit fixes two security-related bugs in the LNbits wallet's handling of LNURL-pay payments. First, it stops payment success notifications from rendering raw HTML supplied by a third-party LNURL service, which could have allowed attackers to inject malicious web content (cross-site scripting). Second, it corrects how AES-encrypted success messages are decrypted so users can actually read the confirmation. The changes are in minified JavaScript bundles and one source file, but the full source diff is truncated, so we cannot verify every detail.

AI review queuedNWC funding source: Reduce polling (#4008)by blackcoffeexbt · 7db5c986 · Jul 2, 2026 · 2 filesMessage 53 · ThinLow 35Details
Commit message · blackcoffeexbt

NWC funding source: Reduce polling (#4008)

53/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 35/100

This commit rewrites the Nostr Wallet Connect (NWC) funding-source driver in LNbits. The headline goal is to reduce how often LNbits polls the wallet provider by adding push notifications, caching, and batched transaction lookups. Along the way it also adds NIP-44 encryption support, tightens relay-event signature checks, and fixes a bug where the same invoice could be reported as paid more than once. The changes are mostly defensive and reliability-oriented, but because the patch is large and touches authentication, encryption, and state tracking, it could introduce subtle bugs or weaken security if any of the new crypto or notification paths are wrong.

AI review queuedfix(phoenixd): use descriptionHash when unhashed_description is provided (#3913)by Richard · a4d0aa5d · Jun 23, 2026 · 1 fileMessage 85 · StrongLow 32Details
Commit message · Richard

fix(phoenixd): use descriptionHash when unhashed_description is provided (#3913)

Co-authored-by: Richard Taylor <RT@MacBookPro.lan>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 32/100

This commit fixes how LNbits' PhoenixD wallet integration handles invoice descriptions. Previously, when a caller provided an 'unhashed_description', the code ignored it and fell back to a short text memo. The fix now correctly hashes that full description and sends it to PhoenixD as a description hash, matching the expected BOLT-11 invoice behavior. This is a correctness fix that prevents invoices from having mismatched or missing descriptions, which could break payment flows or cause wallets to reject invoices.

AI review queuedfix: exponential backoff for IN_FLIGHT payment polling (#3918)by Ben Weeks · ce177a73 · Jun 18, 2026 · 1 fileMessage 70 · AdequateLow 35Details
Commit message · Ben Weeks

fix: exponential backoff for IN_FLIGHT payment polling (#3918)

70/100 · AdequateMessage clarity
✓ Specific, 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 35/100

This patch fixes how LNbits polls the LND lightning node about payments that are still 'in flight' (not yet succeeded or failed). Previously, the code asked for an endless streaming connection with no timeout and immediately returned 'pending' as soon as it saw one IN_FLIGHT update, which could leave long-lived connections hanging and might not correctly reflect the final payment outcome. The change caps each poll at 30 seconds and keeps looping through updates instead of stopping at the first IN_FLIGHT message, giving proper exponential-backoff behavior.

AI review queuedfix: populate unit selector when opening send/pay dialog (#3953)by axelhamburch · 2885e71b · Jun 18, 2026 · 2 filesMessage 85 · StrongInformational 18Details
Commit message · axelhamburch

fix: populate unit selector when opening send/pay dialog (#3953)

Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 18/100

This commit fixes a UI bug in the LNbits wallet web app where the currency/unit dropdown was not pre-filled when opening the send/pay dialog. The change is a small front-end fix that sets the default unit in the payment dialog. There is no direct evidence in the commit of a security vulnerability, but a missing or wrong unit could in theory lead to user confusion or accidental over/under-payment.

AI review queuedfix: stop updating internal invoices inside the listener unlike external one (#3984)by dni ⚡ · f2351145 · Jun 17, 2026 · 8 filesMessage 85 · StrongLow 46Details
Commit message · dni ⚡

fix: stop updating internal invoices inside the listener unlike external one (#3984)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Low 46/100

This commit reworks how LNbits updates the status of internal (same-system) invoices versus external (Lightning network) invoices. Previously, both kinds were run through the same update path inside a background listener, which could mark internal fiat-backed invoices as paid before the fiat provider actually confirmed payment. The change separates the two flows: external invoices are still updated from the Lightning stream, while internal invoices are now only looked up and dispatched to listeners, relying on the payment service to have already updated them. It also fixes a few related LND REST wallet bugs, such as using the newer 'state' field instead of the deprecated 'settled' field and handling malformed responses more safely.

AI review queuedfix(lnd): enable MPP via max_parts=16 and time_pref in SendPaymentV2 (#3916)by Morata · dfdce54e · Jun 8, 2026 · 1 fileMessage 85 · StrongInformational 19Details
Commit message · Morata

fix(lnd): enable MPP via max_parts=16 and time_pref in SendPaymentV2 (#3916)

Co-authored-by: dni ⚡ <office@dnilabs.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 19/100

This change adjusts how LNbits sends Lightning payments through LND by enabling multi-part payments (splitting a payment across up to 16 routes) and slightly favoring faster routes over cheaper ones. It is a functional/performance fix, not a security patch. There is no direct evidence in the commit that it fixes a vulnerability or that it was disclosed as a security issue.

AI review queuedchore: update pyright to latest and fix new issues (#3978)by dni ⚡ · b98515df · Jun 3, 2026 · 17 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡

chore: update pyright to latest and fix new issues (#3978)

70/100 · AdequateMessage clarity
✓ Specific, 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine developer maintenance task: upgrading the Pyright static type checker to a newer version and fixing the new type-check warnings it produced. There are no functional code changes intended to alter behavior, and nothing in the commit suggests a security fix or vulnerability.

AI review queuedMerge commit from forkby Riccardo Balbo · d01e3523 · May 25, 2026 · 1 fileMessage 28 · OpaqueHigh 70Details
Commit message · Riccardo Balbo

Merge commit from fork

28/100 · OpaqueMessage clarity
✓ Subject identifies a change! No meaningful explanatory body
Why it was queued
signing or wallet pathmerge-commit duplicate discountsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · High 70/100

This commit adds safety checks to LNbits' NWC (Nostr Wallet Connect) wallet code. It now verifies that invoice lookups return the expected payment hash, and that Nostr events come from the expected service public key and have valid signatures. These changes close paths where a malicious relay or third party could return fake invoice data or impersonate the wallet service.

AI review queuedfeat: square integration (#3962)by Vlad Stan · a61807a2 · May 22, 2026 · 23 filesMessage 55 · ThinLow 28Details
Commit message · Vlad Stan

feat: square integration (#3962)

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: unusually broad changesecond-pass: security-sensitive path
AI analysis · Low 28/100

This commit adds new integrations for Square and Revolut as fiat payment providers in LNbits. It also introduces an 'external_id' field on payments to track external provider references. The changes are primarily feature additions: new API clients, webhook handlers, subscription flows, and database/schema updates. There is no explicit security fix or vulnerability disclosure in the commit message or diff. Some routine security-relevant patterns are present (HMAC webhook signature verification, input length validation), but the commit is a large feature patch rather than a documented security patch.

AI review queuedfix: remove opensats (#3951)by Arc · 6c8448d7 · May 1, 2026 · 9 filesMessage 55 · ThinInformational 15Details
Commit message · Arc

fix: remove opensats (#3951)

55/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit removes OpenSats branding and sponsorship links from documentation and the default ad space configuration. It is a routine cleanup of sponsor references, not a security fix.

AI review queuedfix: Switching images to local (#3938)by Arc · f4f43ad3 · Apr 21, 2026 · 7 filesMessage 65 · AdequateInformational 15Details
Commit message · Arc

fix: Switching images to local (#3938)

65/100 · AdequateMessage clarity
✓ 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
Why it was queued
signing or wallet pathdocumentation-only discountsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit simply swaps online image links in the project's README file for copies of the same images stored inside the project itself. There is no security vulnerability here; it is a routine documentation cleanup that removes reliance on external image hosting services.

AI review queuedfeat: Add phoenixd mnemonic display (#3931)by Tiago Vasconcelos · 07b1521d · Apr 16, 2026 · 7 filesMessage 65 · AdequateModerate 57Details
Commit message · Tiago Vasconcelos

feat: Add phoenixd mnemonic display (#3931)

Co-authored-by: alan <alan@lnbits.com>

65/100 · AdequateMessage clarity
✓ 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Moderate 57/100

This commit adds a feature to display the Phoenixd wallet's recovery seed phrase (mnemonic) inside the LNbits admin panel. It also fixes a small typo in the list of allowed file upload types. The main concern is that showing a highly sensitive backup phrase in the web interface could increase the risk of theft if an attacker gains admin access, but the commit itself does not introduce a known vulnerability.

AI review queued[tests] Wallets test editor (#3910)by Vlad Stan · 6b3fd80e · Mar 30, 2026 · 2 filesMessage 63 · AdequateInformational 15Details
Commit message · Vlad Stan

[tests] Wallets test editor (#3910)

63/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit adds a new browser-based test editor for wallet test fixtures and improves how test settings are reset between tests. It is purely a testing/development tool change with no production code modifications and no apparent security relevance.

AI review queuedchore: update black, new formatting + pre-commit (#3885)by dni ⚡ · efc05472 · Mar 23, 2026 · 9 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡

chore: update black, new formatting + pre-commit (#3885)

70/100 · AdequateMessage clarity
✓ Specific, 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine maintenance update: it upgrades the Black code formatter from version 25 to version 26, updates the Ruff linter, refreshes the dependency lock file, and re-formats several source files to match the new formatter's style. There are no functional code changes, no bug fixes, and no security patches.

AI review queuedfix: missing uppercase bolt11 for qrcode on wallet (#3798)by dni ⚡ · fae3eca3 · Mar 23, 2026 · 5 filesMessage 85 · StrongInformational 18Details
Commit message · dni ⚡

fix: missing uppercase bolt11 for qrcode on wallet (#3798)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 18/100

This commit fixes a display bug in the LNbits wallet user interface. When showing a QR code for a Lightning invoice (BOLT11), the code was not being converted to uppercase as required for the best QR code encoding. This could make QR codes larger or harder for some scanners to read, but it does not create a security vulnerability or expose funds.

AI review queuedfeat: Improvements to settings > routing fee reserve settings UX (#3857)by blackcoffeexbt · d9eda482 · Mar 18, 2026 · 7 filesMessage 85 · StrongInformational 15Details
Commit message · blackcoffeexbt

feat: Improvements to settings > routing fee reserve settings UX (#3857)

Co-authored-by: dni ⚡ <office@dnilabs.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine user-experience improvement for the LNbits admin settings page. It clarifies wording around routing fee reserve settings, adds a new configurable timeout for funding source invoice payment responses, and updates bundled JavaScript and translation files. There is no indication of a security fix or vulnerability being addressed.

AI review queuedFix: mobile view wallet issues (#3850)by Tiago Vasconcelos · 4c704305 · Mar 5, 2026 · 5 filesMessage 65 · AdequateInformational 15Details
Commit message · Tiago Vasconcelos

Fix: mobile view wallet issues (#3850)

65/100 · AdequateMessage clarity
✓ 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
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Informational 15/100

This commit is a routine user-interface fix for mobile wallet display issues. It adjusts how the wallet header, payment list, and wallet page render on small screens. There is no indication from the commit title, message, or diff that it addresses any security vulnerability.