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-priorityfeat: docker release-rc add tag for latest rc release `latest-rc` (#3872)by dni ⚡ · 1be2d1a6 · Mar 18, 2026 · 2 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
feat: docker release-rc add tag for latest rc release `latest-rc` (#3872)
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
documentation-only discount
Lower-prioritychore: update to v1.5.1 (#3874)by dni ⚡ · b55ae9da · Mar 18, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update to v1.5.1 (#3874)
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(deps): bump werkzeug from 3.1.5 to 3.1.6 (#3807)by dependabot[bot] · 1f98aa2c · Mar 10, 2026 · 1 fileMessage 85 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump werkzeug from 3.1.5 to 3.1.6 (#3807)
✓ 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
✓ 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 to v1.5.1-rc1 (#3858)by dni ⚡ · 78800444 · Mar 9, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update to v1.5.1-rc1 (#3858)
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(deps-dev): bump minimatch from 3.1.2 to 3.1.5 (#3815)by dependabot[bot] · 28b3f79d · Mar 9, 2026 · 1 fileMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps-dev): bump minimatch from 3.1.2 to 3.1.5 (#3815)
✓ 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
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.
AI review queuedSparkL2 updated docs (#3810)by DoktorShift · c47fd2a4 · Mar 5, 2026 · 5 filesMessage 58 · ThinInformational 15Details
Commit message · DoktorShift
SparkL2 updated docs (#3810)
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
58/100 · ThinMessage clarity
✓ Descriptive subject✓ 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 documentation and configuration update for the SparkL2 wallet funding source in LNbits. It updates example environment variables, admin UI labels, and user-facing documentation. There are no code changes that process payments, handle secrets, or modify security logic, and nothing in the commit suggests a vulnerability or security fix.
✓ 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✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Security candidateCI: pin boltz to version (#3852)by dni ⚡ · 8bcf5e4f · Mar 5, 2026 · 2 filesMessage 65 · AdequateInformational 18Details
Commit message · dni ⚡
CI: pin boltz to version (#3852)
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
access control
AI analysis · Informational 18/100
This commit only changes the local development/testing setup for LNbits. It pins the Boltz service used in CI/regtest from the floating 'latest' Docker tag to a specific version (v3.12.1), and updates the matching test configuration file. There is no change to production LNbits code, no user-facing fix, and no disclosed security issue.
AI review queuedfeat: set sidecar mnemonic if missing (#3839)by Vlad Stan · 04ec643c · Mar 4, 2026 · 4 filesMessage 65 · AdequateLow 29Details
Commit message · Vlad Stan
feat: set sidecar mnemonic if missing (#3839)
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 29/100
This commit adds a new optional setting called a 'mnemonic' (a recovery seed phrase) for the SparkL2 wallet connection. It also updates the admin UI so the setting can be configured. The change itself is a feature addition, not a fix for an obvious security bug, but it touches sensitive wallet configuration and the full security effect depends on how the new mnemonic is generated, stored, and used elsewhere in the code, which is not visible in this patch alone.
Lower-prioritychore: update to version 1.5.0 (#3813)by dni ⚡ · f93efbfb · Feb 25, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update to version 1.5.0 (#3813)
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 to v1.5.0-rc2 (#3806)by dni ⚡ · 4429c0cd · Feb 25, 2026 · 2 filesMessage 65 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update to v1.5.0-rc2 (#3806)
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: paypal subscriptions (#3797)by Vlad Stan · 2bdb89b4 · Feb 25, 2026 · 5 filesMessage 55 · ThinTriage 0Details
Commit message · Vlad Stan
fix: paypal subscriptions (#3797)
55/100 · ThinMessage clarity
✓ Descriptive subject✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
✓ 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: hide first_install_token if is not required (#3795)by dni ⚡ · b25a3c2b · Feb 25, 2026 · 4 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
feat: hide first_install_token if is not required (#3795)
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-prioritychore: update lnbits to version v1.5.0-rc1 (#3793)by dni ⚡ · e7c4de65 · Feb 25, 2026 · 2 filesMessage 70 · AdequateTriage 0Details
Commit message · dni ⚡
chore: update lnbits to version v1.5.0-rc1 (#3793)
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 queuedfeat: Spark L2 (#3715)by Arc · c102f10f · Feb 25, 2026 · 8 filesMessage 71 · AdequateInformational 15Details
Commit message · Arc
feat: Spark L2 (#3715)
Co-authored-by: blackcoffeexbt <87530449+blackcoffeexbt@users.noreply.github.com> Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
71/100 · AdequateMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ 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 adds a new optional Lightning wallet backend called Spark L2 to LNbits. It is a feature addition: new code, settings, documentation, and UI registration for the funding source. There is no indication in the commit of a security bug, vulnerability, or fix.
Lower-prioritychore(deps): bump pillow from 12.1.0 to 12.1.1 (#3785)by dependabot[bot] · 7c28b58a · Feb 25, 2026 · 1 fileMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump pillow from 12.1.0 to 12.1.1 (#3785)
✓ 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 axios from 1.13.2 to 1.13.5 (#3786)by dependabot[bot] · 2b27f13f · Feb 25, 2026 · 4 filesMessage 93 · StrongTriage 0Details
Commit message · dependabot[bot]
chore(deps): bump axios from 1.13.2 to 1.13.5 (#3786)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
93/100 · StrongMessage clarity
✓ 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-priorityfeat: modern theme stuff like rounded corners and card gradient (#3766)by Arc · 130f4fd0 · Feb 25, 2026 · 13 filesMessage 85 · StrongTriage 0Details
Commit message · Arc
feat: modern theme stuff like rounded corners and card gradient (#3766)
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
Security candidatefix: `/first_install` new superuser may duplicate an username (#3787)by dni ⚡ · 4894b70b · Feb 25, 2026 · 1 fileMessage 70 · AdequateLow 46Details
Commit message · dni ⚡
fix: `/first_install` new superuser may duplicate an username (#3787)
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
authentication path
AI analysis · Low 46/100
This patch fixes a setup-time bug in LNbits where the initial superuser account could be assigned a username that already belongs to another user. Before the fix, the first-install endpoint did not check for duplicate usernames, which could create account confusion or allow the new admin to overlap with an existing user's identity. The patch now rejects the request if the chosen username is already taken.
fix: fail closed on PayPal webhook verification errors (#3769)
80/100 · StrongMessage clarity
✓ Specific, 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
Why it was queued
defensive validation
Lower-priorityfix: use canonical values in rate limit unit select (#3753)by krvi · 7bd127d2 · Feb 25, 2026 · 1 fileMessage 70 · AdequateTriage 0Details
Commit message · krvi
fix: use canonical values in rate limit unit select (#3753)
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