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: validation of invitation code (#3767)by Vlad Stan · 6dc3df14 · Feb 25, 2026 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Vlad Stan
fix: validation of invitation code (#3767)
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
Security candidate[feat] User invitation code (#3761)by Vlad Stan · e286546b · Feb 25, 2026 · 16 filesMessage 53 · ThinLow 27Details
Commit message · Vlad Stan
[feat] User invitation code (#3761)
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
authentication path
AI analysis · Low 27/100
This commit adds a new optional 'invitation code' feature for user registration in LNbits. It allows administrators to require an activation code before a new user can register. The feature is disabled by default and only takes effect when an admin explicitly turns it on. There is no direct evidence in the commit of a security vulnerability being fixed; it appears to be a new access-control feature.
AI review queued[feat] Allow no exchange providers (#3763)by Vlad Stan · eae1be1d · Feb 25, 2026 · 3 filesMessage 53 · ThinInformational 17Details
Commit message · Vlad Stan
[feat] Allow no exchange providers (#3763)
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 17/100
This commit makes exchange-rate providers optional in the LNbits wallet. Previously the system likely required at least one provider; now administrators can configure zero providers. The change is a feature/configuration tweak and does not, on its own, introduce an obvious security vulnerability. It could slightly increase the risk of misconfiguration (for example, a wallet relying on fiat balances without any rate source), but that is an operational/availability concern rather than a direct exploit.
Lower-priorityfix: datetime in db.py added utc offset (#3762)by dni ⚡ · 25ab676a · Feb 25, 2026 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: datetime in db.py added utc offset (#3762)
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: handle validation errors when the response is binary (#3765)by Vlad Stan · 2fd6648a · Feb 25, 2026 · 2 filesMessage 70 · AdequateTriage 0Details
Commit message · Vlad Stan
fix: handle validation errors when the response is binary (#3765)
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 paid/free label (#3764)by Vlad Stan · 8eda653e · Feb 25, 2026 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Vlad Stan
fix: extension paid/free label (#3764)
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
Security candidate[feat] User activation (#3749)by Vlad Stan · 7e327b2c · Feb 25, 2026 · 16 filesMessage 43 · ThinLow 46Details
Commit message · Vlad Stan
[feat] User activation (#3749)
43/100 · ThinMessage clarity
✓ Descriptive subject✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing or wallet pathauthentication path
AI analysis · Low 46/100
This commit adds a new 'user activation' feature to LNbits. It introduces an 'activated' flag on every user account, lets administrators deactivate or reactivate users, and blocks deactivated users from logging in or accessing wallets via API keys. The change is a security/administrative control rather than a fix for an active vulnerability, but it changes who can access the system and how authentication checks work.
Security candidatefeat: FIRST_INSTALL_TOKEN to help services like Umbrel secure the first_install endpoint (#3751)by Arc · 40c055e3 · Feb 25, 2026 · 10 filesMessage 85 · StrongModerate 58Details
Commit message · Arc
feat: FIRST_INSTALL_TOKEN to help services like Umbrel secure the first_install endpoint (#3751)
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
authentication path
AI analysis · Moderate 58/100
This commit adds an optional FIRST_INSTALL_TOKEN setting to LNbits. When configured, anyone trying to complete the initial superuser setup on the /first_install page must provide the correct token. Without the token, the setup request is rejected. This is a defensive hardening feature, not a vulnerability fix, aimed at platforms like Umbrel that expose LNbits during automated setup.
Lower-priorityrefactor: `payment.check_status()` into `check_payment_status(payment)` (#3747)by dni ⚡ · 1d9808b2 · Feb 25, 2026 · 8 filesMessage 85 · StrongTriage 0Details
Commit message · dni ⚡
refactor: `payment.check_status()` into `check_payment_status(payment)` (#3747)
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-priorityfix: uiCustomisation JS Error (#3752)by dni ⚡ · c65ab2af · Feb 25, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
fix: uiCustomisation JS Error (#3752)
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: `g.settings` with a `PublicSettings` class for mapping, for reactive `WINDOW_SETTINGS` (#3644)by dni ⚡ · 15f093c1 · Feb 25, 2026 · 25 filesMessage 70 · AdequateLow 34Details
Commit message · dni ⚡
refactor: `g.settings` with a `PublicSettings` class for mapping, for reactive `WINDOW_SETTINGS` (#3644)
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: unusually broad changesecond-pass: security-sensitive path
AI analysis · Low 34/100
This commit refactors how LNbits exposes site settings to the web frontend. It replaces a hand-maintained list of template variables with a new PublicSettings class that is explicitly marked as safe to expose publicly. The change is mostly a cleanup, but it also slightly alters what information is shown to visitors and how extensions can access it. There is no direct evidence in the commit of a security vulnerability being fixed or introduced, but the refactor touches a sensitive boundary between private server configuration and public web pages.
AI review queuedfeat: wallet featured button (#3740)by Vlad Stan · 5311b0a3 · Feb 25, 2026 · 6 filesMessage 65 · AdequateInformational 15Details
Commit message · Vlad Stan
feat: wallet featured button (#3740)
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 adds a new optional 'featured button' to the LNbits wallet page. Administrators can configure a custom label, icon, and URL that appears as a button in the wallet interface. It is a straightforward user-interface customization feature with no security-relevant code changes.
Security candidate[feat] persist user ui customization (#3743)by Vlad Stan · e72396fe · Feb 25, 2026 · 16 filesMessage 53 · ThinInformational 18Details
Commit message · Vlad Stan
[feat] persist user ui customization (#3743)
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
authentication path
AI analysis · Informational 18/100
This commit adds a feature to save a user's visual preferences (theme, language, etc.) on the server so they persist across devices. It introduces a new authenticated API endpoint that stores a JSON blob in the user's account record. The change is a feature addition, not a security fix, and the main risk is that the endpoint accepts arbitrary JSON and merges it into the account with only a size limit for protection.
Lower-prioritychore: remove `ecdsa` in favor of `coincurve` (#3746)by dni ⚡ · d6d0ebb2 · Feb 25, 2026 · 3 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
chore: remove `ecdsa` in favor of `coincurve` (#3746)
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-priorityCI: use uv for publishing on pypi (#3745)by dni ⚡ · 563dd5b4 · Feb 25, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
CI: use uv for publishing on pypi (#3745)
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
documentation-only discount
Security candidate[feat] admin impersonate user (#3741)by Vlad Stan · 9be894da · Feb 25, 2026 · 13 filesMessage 53 · ThinModerate 63Details
Commit message · Vlad Stan
[feat] admin impersonate user (#3741)
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
authentication path
AI analysis · Moderate 63/100
This commit adds an 'admin impersonate user' feature to LNbits. It allows an administrator to log in as another non-admin user by providing that user's ID. The feature is gated behind admin checks and stores the admin's original token in a separate cookie so the admin can later stop impersonating and return to their own session. The change is a deliberate feature, not a hidden backdoor, but it does expand what an admin account can do and could be abused if an admin's session is compromised.
Lower-priorityfix: DB migration conflict (#3739)by Vlad Stan · 87b66c55 · Feb 25, 2026 · 1 fileMessage 65 · AdequateTriage 0Details
Commit message · Vlad Stan
fix: DB migration conflict (#3739)
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-prioritychore: update python packages (#3707)by dni ⚡ · 314b533e · Feb 25, 2026 · 3 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update python packages (#3707)
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-priorityfeat: allow text upload (#3738)by Vlad Stan · af8f3382 · Feb 25, 2026 · 7 filesMessage 65 · AdequateTriage 0Details
Commit message · Vlad Stan
feat: allow text upload (#3738)
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
✓ 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
authentication path
AI analysis · Informational 19/100
This commit changes how LNbits reports validation errors to users. Previously, the API returned a plain string summary of the error. Now it returns a structured list of individual validation failures. This is a user-experience improvement that makes error messages clearer, but it does not fix a security vulnerability and does not introduce a clear one. The main side effect is that error responses now expose slightly more internal detail about which fields failed validation and why.
AI review queuedchore: remove windowMixin from components and pages (#3632)by dni ⚡ · f0f9e41f · Feb 25, 2026 · 49 filesMessage 70 · AdequateInformational 15Details
Commit message · dni ⚡
chore: remove windowMixin from components and pages (#3632)
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: unusually broad changesecond-pass: security-sensitive path
AI analysis · Informational 15/100
This commit is a routine cleanup that removes the use of a shared 'windowMixin' from many Vue components and pages. It is a refactoring change with no visible security implications.
Lower-prioritychore(deps): bump cryptography from 42.0.8 to 44.0.1 (#3735)by dependabot[bot] · 2fbaf57b · Feb 25, 2026 · 1 fileMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump cryptography from 42.0.8 to 44.0.1 (#3735)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
automated dependency-update discount
Lower-prioritychore(deps): bump aiohttp from 3.12.15 to 3.13.3 (#3734)by dependabot[bot] · 87afba2a · Feb 25, 2026 · 1 fileMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump aiohttp from 3.12.15 to 3.13.3 (#3734)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
Why it was queued
automated dependency-update discount
Lower-prioritychore(deps): bump urllib3 from 2.5.0 to 2.6.3 (#3733)by dependabot[bot] · c375bf1b · Feb 25, 2026 · 1 fileMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump urllib3 from 2.5.0 to 2.6.3 (#3733)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference