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.
Lower-priorityfix: robots.txt containing newline and whitespaces (#3560)by dni ⚡ · 148ba9d2 · Nov 24, 2025 · 1 fileMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: robots.txt containing newline and whitespaces (#3560)
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: hide splitter on mobile (#3558)by Tiago Vasconcelos · d2ca774f · Nov 24, 2025 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Tiago Vasconcelos
fix: hide splitter on mobile (#3558)
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 queuedrefactor: lnbits-wallet-extra the expandables in the sidebar (#3550)by dni ⚡ · 233398b5 · Nov 24, 2025 · 10 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: lnbits-wallet-extra the expandables in the sidebar (#3550)
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 user-interface refactor for the LNbits wallet page. It moves the expandable sidebar sections into a new reusable Vue component called lnbits-wallet-extra and makes small layout adjustments. There is no indication of a security fix or vulnerability being addressed.
✓ 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[perf] Performance bust paginated search (#3543)by Vlad Stan · 44985cb0 · Nov 21, 2025 · 6 filesMessage 53 · ThinInformational 19Details
Commit message · Vlad Stan
[perf] Performance bust paginated search (#3543)
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 · Informational 19/100
This commit is a performance optimization for paginated database searches. It changes how the total row count is calculated when a known table name is provided, avoiding a slower nested subquery. It also adds a small safety check to ensure the provided table name looks like a valid SQL identifier. There is no direct evidence in the commit that this fixes an active security vulnerability.
AI review queuedrefactor: move to `lnbits-wallet-icon` vue component (#3535)by dni ⚡ · b1a7692c · Nov 21, 2025 · 8 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: move to `lnbits-wallet-icon` vue component (#3535)
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 code cleanup. It moves the wallet icon picker UI into a reusable Vue component called `lnbits-wallet-icon`. The same user-facing edit button and icon/color selection dialog still exist; they are just reorganized into a separate file. There is no visible change to security-sensitive behavior such as authentication, payments, API calls, or data handling.
Lower-priorityfix: pagination vanished on chrome (#3549)by dni ⚡ · 31bff37b · Nov 21, 2025 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: pagination vanished on chrome (#3549)
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 queuedrefactor: create `lnbits-wallet-paylinks` component (#3523)by dni ⚡ · 3f7a1798 · Nov 21, 2025 · 11 filesMessage 70 · AdequateInformational 15Details
✓ 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 code cleanup: it moves the 'stored paylinks' UI section from the main wallet page into a new reusable Vue component called 'lnbits-wallet-paylinks'. There are no visible security changes—no new permissions, no altered API calls, no changes to how data is handled, and no fixes for known vulnerabilities. It is purely a refactoring to make the code more maintainable.
Lower-priorityfix: payment labels route dynamically to account#labels (#3548)by dni ⚡ · 98d4dbab · Nov 21, 2025 · 1 fileMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: payment labels route dynamically to account#labels (#3548)
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
Security candidate[feat] Payment labels (#3537)by Vlad Stan · 7c7a04da · Nov 21, 2025 · 26 filesMessage 43 · ThinInformational 20Details
Commit message · Vlad Stan
[feat] Payment labels (#3537)
43/100 · ThinMessage clarity
✓ Descriptive subject✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
authentication path
AI analysis · Informational 20/100
This commit adds a new 'payment labels' feature to LNbits, allowing users to tag and filter their payments. It also makes a small change so the app's logo is loaded from the local server instead of an external CDN. The changes are mostly routine feature work, but one part of the code uses a LIKE-based search on stored label data that could, in theory, be tricked into matching unintended records if an attacker can control label values. There is no clear evidence this is exploitable as a practical attack, and the commit does not describe itself as a security fix.
AI review queuedchore: getting rid of jinja variable in wallet.html (#3547)by dni ⚡ · 3ccefb70 · Nov 21, 2025 · 7 filesMessage 70 · AdequateInformational 16Details
Commit message · dni ⚡
chore: getting rid of jinja variable in wallet.html (#3547)
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 16/100
This commit is a routine cleanup of the wallet page's frontend code. It removes old server-side template variables (Jinja) and replaces them with client-side JavaScript equivalents so the page is rendered more consistently by the browser. There is no obvious security fix or vulnerability being patched.
AI review queuedfeat: move disclaimer from wallet.html into vue component (#3536)by dni ⚡ · 5346ac47 · Nov 21, 2025 · 12 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
feat: move disclaimer from wallet.html into vue component (#3536)
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 legal disclaimer popup from the wallet page into a reusable Vue component. The only functional code change visible in the diff is renaming a local variable reference from `isFiatPriority` to `g.isFiatPriority` so the wallet page reads the setting from the shared global state object. There is no security fix, no new vulnerability, and no change to backend logic or permissions.
AI review queuedchore: remove unused full withdraw (#3544)by dni ⚡ · 9f4ed538 · Nov 21, 2025 · 2 filesMessage 65 · AdequateInformational 15Details
Commit message · dni ⚡
chore: remove unused full withdraw (#3544)
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 simply removes an unused feature called 'full withdraw' or 'drain funds' from the LNbits wallet UI and backend model. There is no security issue visible in the change itself; it is a cleanup that deletes dead code and an associated QR-code menu option.
AI review queuedrefactor: `lnbits-wallet-charts` and clean up paymentFiltering (#3526)by dni ⚡ · faac56c1 · Nov 20, 2025 · 12 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: `lnbits-wallet-charts` and clean up paymentFiltering (#3526)
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 code cleanup. It moves wallet chart rendering into a new reusable component, renames some balance-formatting helpers, and simplifies how payment filters are passed between components. There is no indication of a security fix or vulnerability being addressed.
Lower-priorityfix: theme global initialisation when not defined was wrong (#3542)by dni ⚡ · 3e0d0d98 · Nov 20, 2025 · 2 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: theme global initialisation when not defined was wrong (#3542)
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
✓ 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 UI layout fix for the login screen. It replaces a custom ad banner component with inline HTML and adjusts how ad-space settings are passed from the server to the page. There is no security-relevant change visible in the diff.
✓ 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: lnbits-wallet-ads, ads on wallet page (#3534)by dni ⚡ · 41443596 · Nov 17, 2025 · 7 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: lnbits-wallet-ads, ads on wallet page (#3534)
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 refactor that moves the wallet page's advertisement banner from an inline Jinja template into a reusable Vue component. There is no security-relevant change visible in the diff.
Lower-priorityfix: allow str instead of number (#3531)by Tiago Vasconcelos · 07268b87 · Nov 17, 2025 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Tiago Vasconcelos
fix: allow str instead of number (#3531)
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 for `null` string on localstorage (#3529)by dni ⚡ · c356874b · Nov 14, 2025 · 2 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
fix: check for `null` string on localstorage (#3529)
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: rename and fix `lnbits-wallet-new` (#3528)by dni ⚡ · f9b5c7db · Nov 14, 2025 · 18 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: rename and fix `lnbits-wallet-new` (#3528)
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 refactor that renames and fixes a wallet-creation UI component. There is no indication of a security vulnerability being patched.
Lower-priorityfix: chart color for darkmode (#3525)by dni ⚡ · 20f9ddb5 · Nov 13, 2025 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: chart color for darkmode (#3525)
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: regression in `node.js` (#3521)by dni ⚡ · ee57ba4c · Nov 13, 2025 · 2 filesMessage 75 · AdequateTriage 0Details
Commit message · dni ⚡
fix: regression in `node.js` (#3521)
75/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
AI review queuedrefactor: move `_wallet-share.html` to vue component (#3522)by dni ⚡ · ff7f5c1c · Nov 13, 2025 · 9 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: move `_wallet-share.html` to vue component (#3522)
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 wallet-sharing user interface from an inline HTML template into a reusable Vue component. There is no change to backend logic, API endpoints, authentication, authorization, or data handling. It is purely a code-organization change in the web UI.
AI review queuedrefactor: move _api_docs.html into vue component (#3520)by dni ⚡ · 1463d75e · Nov 13, 2025 · 12 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
refactor: move _api_docs.html into vue component (#3520)
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 straightforward frontend refactoring: it moves the API documentation panel from a server-rendered HTML template into a reusable Vue component. There is no change to how secrets are handled, no new API behavior, and no security fix or vulnerability introduced in the visible code.