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.
Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.
This commit fixes a bug where LNbits would incorrectly mark certain Lightning payments as failed when they might still be pending. For Core Lightning (CLN) backends, error code 203 ('permanent failure') can sometimes occur even though part…
Incorrect payment status classification could lead to double-spend or erroneous refundError code 203 treated as unconditionally terminal despite upstream xpay behavior leaving parts pendingOutgoing NWC payments marked failed on invoice expiry, conflating invoice state with payment outcome
This commit fixes a privacy leak in several LNbits wallet API responses. Previously, responses to wallet creation, update, and on-chain wallet operations included a 'user' field that could expose internal user identifiers to anyone with a …
Information disclosure via API response fieldResponse-model exclusion of sensitive identifierTest assertions added to prevent regression
This change fixes how LNbits handles Spark wallet payment lookups when the payment provider has no record of a payment yet. Previously, an empty response was treated as 'failed', which could mark a payment as failed before it had a chance …
State machine fix: prevents premature terminal failure status on missing payment recordFinancial correctness: avoids marking in-flight Lightning payments as failed before confirmationDefensive coding: aligns empty provider response with pending rather than failed
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.
AI review queuedrefactor: move `walletTypes` from mixin into `lnbits-new-user-wallet` (#3519)by dni ⚡ · f1fc4710 · Nov 13, 2025 · 5 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: move `walletTypes` from mixin into `lnbits-new-user-wallet` (#3519)
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 code cleanup (refactor) that moves a list of wallet types from a shared mixin file into a specific component for creating new wallets. There is no security-relevant change visible in the diff.
AI review queuedrefactor: use mobileSimple reactive value (#3518)by dni ⚡ · 00eaec82 · Nov 13, 2025 · 12 filesMessage 65 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: use mobileSimple reactive value (#3518)
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 cleanup. It moves a mobile-view state flag called mobileSimple into a shared reactive global object (g.mobileSimple) and replaces inline styling with CSS classes. There is no security-relevant change visible in the diff.
AI review queuedrefactor: rename payment-list to lnbits-payment-list (#3517)by dni ⚡ · 28c4235c · Nov 13, 2025 · 8 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: rename payment-list to lnbits-payment-list (#3517)
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 simple rename of a user-interface component from <payment-list> to <lnbits-payment-list>. It only changes component names and file paths in the frontend code; there is no visible change to app behavior and no security fix or vulnerability introduced.
✓ 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
AI review queuedrefactor: create last base.html vue component (#3514)by dni ⚡ · 9d0ec97d · Nov 12, 2025 · 7 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: create last base.html vue component (#3514)
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 frontend refactoring: it moves the last remaining piece of the base HTML template into a reusable Vue component. There is no change to how user data is handled, no new network requests, and no security-sensitive logic added or removed.
Lower-priorityfeat: add language to topmenu + globals cleanup + i18n refactor (#3510)by dni ⚡ · b6f533be · Nov 12, 2025 · 15 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
feat: add language to topmenu + globals cleanup + i18n refactor (#3510)
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
Lower-priorityfix: bug in renaming lnbits-extension-list (#3513)by dni ⚡ · 5e36bb4f · Nov 12, 2025 · 4 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: bug in renaming lnbits-extension-list (#3513)
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
Lower-priorityfix: extension enable reactivity (#3512)by dni ⚡ · f9b06047 · Nov 12, 2025 · 11 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: extension enable reactivity (#3512)
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
AI review queued[feat] user assets (#3504)by Vlad Stan · 39c33699 · Nov 12, 2025 · 28 filesMessage 43 · ThinLow 49Details
Commit message · Vlad Stan
[feat] user assets (#3504)
43/100 · ThinMessage clarity
✓ Descriptive subject✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
second-pass: unusually broad change
AI analysis · Low 49/100
This commit introduces a new 'user assets' feature that lets users upload image files to the LNbits server. It replaces an older admin-only image upload feature with a new system where any logged-in user can upload files, subject to size and type limits. The change is a feature addition, not a documented security fix, but it removes a prior file-system upload path and stores files in the database instead. There are some security-relevant design choices worth reviewing, such as whether the MIME-type allow-list and thumbnail generation are robust against malicious uploads.
Lower-priorityfeat: add configurable threshold for balance delta notification (#3433)by Ben Weeks · c8972122 · Nov 12, 2025 · 7 filesMessage 85 · StrongTriage 0Details
Commit message · Ben Weeks
feat: add configurable threshold for balance delta notification (#3433)
Co-authored-by: Claude <noreply@anthropic.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
Lower-priorityrefactor: move logout to utils (#3509)by dni ⚡ · 1e6e97c1 · Nov 12, 2025 · 4 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
refactor: move logout to utils (#3509)
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
Lower-priorityfix: wallet was not flipping (#3508)by dni ⚡ · 783efb19 · Nov 12, 2025 · 5 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: wallet was not flipping (#3508)
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
AI review queuedfix: pay_invoice http error (#3506)by Vlad Stan · 9ffc63b5 · Nov 12, 2025 · 1 fileMessage 65 · AdequateLow 26Details
Commit message · Vlad Stan
fix: pay_invoice http error (#3506)
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 · Low 26/100
This commit fixes a bug in LNbits' OpenNode wallet integration where failed invoice payments were incorrectly reported as definitively failed (ok=False) instead of uncertain (ok=None), and adds handling for expired invoices. The change makes payment status reporting more accurate, which could prevent users from being incorrectly told a payment failed when it might still be pending or retriable.
Lower-priorityfix: vertically center first install (#3501)by Tiago Vasconcelos · 0ec8139e · Nov 11, 2025 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Tiago Vasconcelos
fix: vertically center first install (#3501)
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
Lower-priorityfix: check_callback_url in dispatch_webhook was not handled (#3503)by dni ⚡ · a8c31818 · Nov 11, 2025 · 1 fileMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: check_callback_url in dispatch_webhook was not handled (#3503)
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
AI review queuedrefactor: lndrest get_payment_status and pay_invoice use api v2 (#3470)by dni ⚡ · e038ceb9 · Nov 10, 2025 · 2 filesMessage 85 · StrongLow 34Details
Commit message · dni ⚡
refactor: lndrest get_payment_status and pay_invoice use api v2 (#3470)
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 34/100
This commit refactors LNbits' LND REST wallet integration to use newer LND API endpoints (v2) for sending payments and tracking payment status. It changes how payment results are parsed and how failures are reported. There is no direct evidence in the commit that this fixes a known security vulnerability; it appears to be a maintenance/API modernization change. However, any change to payment-handling code carries some operational risk.
✓ 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 · Informational 15/100
This commit only updates documentation pages and reorders a dependency in package.json. There are no code changes that affect security, no bug fixes, and no functional changes to the application.
Security candidaterefactor: lndgrpc, update grpcs file, use types and enums, LookupInvoiceV2 (#3469)by dni ⚡ · 691b7ad0 · Nov 10, 2025 · 12 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: lndgrpc, update grpcs file, use types and enums, LookupInvoiceV2 (#3469)
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 pathboot or update path
AI analysis · Informational 15/100
This commit is a routine refactor of the LND gRPC wallet integration in LNbits. It regenerates protocol buffer files from newer LND definitions, adds type stubs (.pyi files), and updates the Python wallet code to use the new LookupInvoiceV2 method and typed enums. There is no indication of a security fix or vulnerability being addressed.
AI review queuedfix: update API response structure and fix checking_id mismatch (#3478)by Sat · c84d1b66 · Nov 10, 2025 · 1 fileMessage 85 · StrongLow 32Details
Commit message · Sat
fix: update API response structure and fix checking_id mismatch (#3478)
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 32/100
This commit updates LNbits' Strike wallet integration to match a newer Strike API response format and fixes a mismatch in how outgoing payments are tracked. Previously, the code used Strike's internal payment ID as the tracking key ('checking_id'), but now it uses the Lightning invoice's payment hash. The change also adds stricter error handling and fee parsing. The mismatch could have caused LNbits to lose track of whether a payment succeeded, failed, or is still pending, which in turn could lead to double-paying an invoice or incorrectly marking a payment as failed. There is no evidence in the commit of an active security exploit or a CVE.
Lower-priorityrefactor into '<lnbits-drawer />' component (#3499)by dni ⚡ · cf7726dd · Nov 10, 2025 · 7 filesMessage 58 · ThinTriage 0Details
Commit message · dni ⚡
refactor into '<lnbits-drawer />' component (#3499)
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Lower-priorityrefactor move home `/` into vue components (#3498)by dni ⚡ · bd50a3c5 · Nov 10, 2025 · 16 filesMessage 58 · ThinTriage 0Details
Commit message · dni ⚡
refactor move home `/` into vue components (#3498)
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Lower-priorityrefactor into `<lnbits-header />` component (#3488)by dni ⚡ · c9270bbf · Nov 10, 2025 · 8 filesMessage 58 · ThinTriage 0Details
Commit message · dni ⚡
refactor into `<lnbits-header />` component (#3488)
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Lower-priorityrefactor into `<lnbits-footer />` component (#3487)by dni ⚡ · 6474aeb9 · Nov 10, 2025 · 7 filesMessage 58 · ThinTriage 0Details
Commit message · dni ⚡
refactor into `<lnbits-footer />` component (#3487)
58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Lower-priorityfix: incorrect styles in `base.html` from #3431 (#3486)by dni ⚡ · 37ba437a · Nov 10, 2025 · 4 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: incorrect styles in `base.html` from #3431 (#3486)
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
Lower-priorityfeat: migrate changes from PR #3456 (#3496)by Vlad Stan · 35af181e · Nov 10, 2025 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Vlad Stan
feat: migrate changes from PR #3456 (#3496)
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