BT
← All projectsBTCPay Server

BTCPay Server

Free, open-source, self-hosted Bitcoin payment processor supporting on-chain and Lightning payments.

BitcoinLightning NetworkPayment infrastructureNormal
Repository coverage

977 commits in the local evidence base

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

125security candidates288second-pass queue413AI analyses
168commits · 30 days
317commits · 60 days
557commits · 180 days
897commits · 365 days
Backfill bands
Aug 8 → Feb 9247 seen22 candidatesComplete
Feb 9 → Jun 9197 seen39 candidatesComplete
Jun 9 → Jul 954 seen0 candidatesComplete
Jul 9 → Aug 865 seen16 candidatesComplete
Commit communication

Does the history explain itself?

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

53/100 average clarity
90Strong · 80–100
213Adequate · 60–79
480Thin · 40–59
194Opaque · 0–39
10security candidates with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
Nicolas Dorier676793111048
Cerberus622290
Andrew Camilleri (Kukks)2233148
Andrew Camilleri1325160
ndeet111133
Chukwuleta Tobechi33714066
rockstardev33612049
Abhijay Jain26610087
thgO.O32512066
dstrukt726061
Tim522074
tumutech222067
Analysis record

Published AI watches

Last scanned 1 minute ago

Informational 15 AI analysisMessage 18 · Opaque
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Rename attribute

This commit is a simple rename of a code attribute from UseStoreLanguageAttribute to StorefrontRouteAttribute. It only changes the name used in source files and does not alter any program behavior, security settings, or access controls.

5854d8a3by Nicolas Dorier+24−2411 files
No security note in commit
Informational 19 AI analysisMessage 58 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Use server translations on the invoice checkout page (#7828)

This commit changes how the invoice checkout page is translated. Instead of loading translations from separate JSON files in the browser based on a language the customer picks, the page now uses the store's own server-side translation sett…

Removal of client-side language selection reduces attack surface for language-related query-string manipulation (e.g., lang=...)Server-side rendering of checkout strings may reduce exposure to DOM-based XSS via translation files, but no specific vulnerability is shownLarge deletion of locale files and i18next vendor scripts is a cleanup, not a patch
bb14f177by Chukwuleta Tobechi+219−585290 files
No security note in commit
Informational 12 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Update dependency and .NET 10 servicing images (#7831)

This commit updates two .NET runtime/SDK Docker images to newer patch versions and bumps a third-party library (CsvHelper) from 34.0.0 to 34.1.0. These are routine maintenance updates. The commit message does not say any of the updates fix…

Patch-level .NET runtime/SDK image update (potential servicing fixes, unspecified)Patch-level third-party NuGet package update (CsvHelper 34.0.0 -> 34.1.0, unspecified reason)
d5ecad56by Nicolas Dorier+4−43 files
No security note in commit
High 78 AI analysisMessage 45 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Harden account and payment handling

This is a large hardening patch for BTCPay Server that fixes several security weaknesses around account handling, payments, refunds, and plugins. Key changes include: preventing Blazor circuits from staying authenticated after a user's adm…

Blazor circuit principal revalidation against live user stateCookie principal rejection when user is administratively restrictedRefund creation serialized with SELECT FOR UPDATE and single open refund enforcement
20ae3337by Andrew Camilleri (Kukks)+1310−41655 files
Vendor flagged security relevance
Informational 19 AI analysisMessage 58 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Translate remaining public pages and remove invoice checkout language option (#7815)

This commit removes a per-invoice checkout language option and translates more public-facing text so it can be localized. It is a feature-cleanup and internationalization change, not a security fix. There is no evidence of a vulnerability …

1ab0a206by Chukwuleta Tobechi+122−9819 files
No security note in commit
Low 47 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Merge pull request #7780 from tumutech/fix-inventory-counts

This commit fixes a bug where BTCPay Server's Point of Sale and Crowdfund inventory counts could become wrong after unpaid or expired invoices. Previously, the system could add inventory back multiple times for the same invoice, making it …

Business-logic flaw: inventory counts could be inflated by duplicate restocking eventsState-machine fix: previous status now tracked to prevent double-countingRace/ordering concern mitigated by deterministic event-barrier for tests
0ba97eacby Nicolas Dorier+187−1611 files
No security note in commit
Low 44 AI analysisMessage 83 · Strong
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Fix duplicate inventory returns when expired invoices are marked invalid

This commit fixes a bug in BTCPay Server where marking an already-expired invoice as 'invalid' could cause the app inventory to be restocked twice. The fix tracks each invoice's previous status during status transitions and skips the inven…

Business-logic bug causing duplicate inventory restockingStatus-transition event missing prior-state contextInventory manipulation possible through invoice state changes
6d4beac4by tumutech+187−1611 files
No security note in commit
Informational 24 AI analysisMessage 58 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Apply store’s language on customer-facing pages (#7656)

This commit adds a new store-level setting that lets merchants choose which language customers see on public pages such as invoices, payment requests, and pull payments. It also marks more text on those pages as translatable. There is no d…

New per-request language scoping via AsyncLocal with explicit BeginRequest/Restore disposalSignalR hub now applies store language to controller calls that bypass MVC filtersRouteStoreResolver centralizes route-value-to-store-id lookup with 10-minute sliding memory-cache
55d71e89by Chukwuleta Tobechi+449−10422 files
No security note in commit
Low 29 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Merge pull request #7810 from efeesrefinal/fix/wallet-transaction-filters

This commit fixes two bugs in BTCPay Server's wallet transaction API. First, when users filtered transactions by both status (confirmed/unconfirmed) and label, the same transaction could appear twice in the results because the filtering lo…

Fixes duplicate entries in API query results due to incorrect filter compositionReplaces unsafe uint256.Parse with uint256.TryParse to prevent unhandled exceptions on malformed inputAdds server-side input validation returning structured 404 API error for invalid transaction IDs
867209d1by Nicolas Dorier+27−93 files
No security note in commit
Informational 15 AI analysisMessage 38 · Opaque
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Bump LND to v0.21.8-beta

This commit only updates the version tag of the LND (Lightning Network Daemon) Docker image used in test environments from v0.21.7-beta to v0.21.8-beta. It does not change any production application code, configuration logic, or runtime be…

4bcdc689by r1ckstardev+8−84 files
No security note in commit
Informational 11 AI analysisMessage 35 · Opaque
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Update NuGet dependencies

This commit simply bumps the version numbers of three NuGet packages: a test reporting helper and two FIDO2 authentication libraries. There is no indication in the commit itself that these updates fix a security problem, and no external re…

9951be68by AlfredTheBot69+3−32 files
No security note in commit
Low 34 AI analysisMessage 45 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Update NuGet dependencies and compatibility

This commit updates many third-party software libraries (NuGet packages) to newer versions and makes small code adjustments so BTCPay Server stays compatible with those updates. The most notable security-relevant change is a rewrite of the…

Dependency version bumps for libraries with known security maintenance value (HtmlSanitizer, Fido2, MailKit, Microsoft.AspNetCore, System.Security.Cryptography.Pkcs)Manual CSV field escaping added to prevent formula/CSV injection in wallet transaction exportsFido2 configuration/AppID handling changed during Fido2 library upgrade
bef0935cby Alfred+55−4411 files
No security note in commit
Informational 24 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Merge pull request #7795 from tumutech/fix-api-key-permission-usage-analysis

This commit fixes a crash in BTCPay Server's admin page that shows how an API key has been used. The crash happened when an API key had permissions tied to more than one store. The fix also corrects how usage counts are recorded and displa…

Fixes a UI crash in an administrative API-key usage pageCorrects aggregation of permission usage records when permissions are scoped to specific storesChanges database upsert to persist full permission string including store scope
c9a45b12by Nicolas Dorier+128−484 files
No security note in commit
Informational 22 AI analysisMessage 50 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Fix API key View Usage crash with multi-store permission usage

This commit fixes a crash in BTCPay Server's admin page that shows how an API key has been used. The crash happened when the same permission (like 'view invoices') was used for more than one store. The fix also corrects how usage counts ar…

Fixes a runtime crash in an administrative API-key usage viewCorrects aggregation of permission usage records that previously could duplicate or conflate store-scoped entriesChanges upsert to persist full permission string including scope, preventing legacy-style policy-only rows from overwriting each other
0ade56dfby tumutech+128−484 files
No security note in commit
Moderate 51 AI analysisMessage 81 · Strong
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Fix RoundToSignificant for negative amounts (#7782)

This commit fixes a math bug in how BTCPay Server rounds very small negative amounts. Previously, a helper called RoundToSignificant divided by the signed value instead of its absolute value, so negative numbers behaved differently from po…

Rounding/truncation bug in financial amount handlingNegative-amount handling asymmetry that could alter displayed or computed balancesFee-bump calculation could fall below Bitcoin incremental relay fee requirement
6899974aby Amartya Vikram Singh+30−23 files
No security note in commit
Low 49 AI analysisMessage 50 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Fix missing command in API key authorization

This commit fixes a crash in the API key authorization page. When a user submits the form without clicking either the 'Authorize' or 'Cancel' button, the server tries to read a missing command value, which could cause an error. The fix saf…

Null dereference in request handling pathUnhandled exception could lead to error disclosure or availability impactDefensive null-safety hardening in controller action
0f31ef51by Nicolas Dorier+1−11 file
No security note in commit
Moderate 59 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Merge pull request #7610 from TChukwuleta/ft/manifest-redirect-bcp47

This commit hardens how BTCPay Server downloads translation files from GitHub. It adds checks so the app only fetches files from the project's own trusted GitHub organization, blocks automatic web redirects, and supports a new optional red…

Server-side request forgery (SSRF) protection added: URI host/path validation before outbound fetchAutomatic HTTP redirects disabled for translation update clientManifest redirect field introduced with same-origin/org trust validation
381ad1f0by Nicolas Dorier+223−393 files
No security note in commit
Moderate 60 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Support translation repository redirects and BCP 47 identifiers

This commit hardens how BTCPay Server downloads translation files from the internet. It adds checks so the server only fetches language packs and manifest redirects from the trusted btcpayserver GitHub organization, turns off automatic HTT…

Server-side request forgery (SSRF) hardening: URI scheme, host, and path prefix are validated before outbound fetchOpen-redirect / HTTP redirect abuse mitigation: AllowAutoRedirect set to false on the translation HttpClientPath traversal mitigation: pack file paths resolved as relative URIs and validated against trusted org prefix
896299cdby Chukwuleta Tobechi+223−393 files
Vendor flagged security relevance
Low 29 AI analysisMessage 73 · Adequate
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Merge pull request #7781 from NicolasDorier/cleanup-pre-1.12-migrations

This commit removes old database upgrade scripts (migrations) from before BTCPay Server version 1.12.0 and replaces them with a single consolidated starting schema. It also trims the startup migration task by deleting obsolete data-convers…

Large-scale deletion of database migration historyConsolidation of cumulative schema into a single init SQL scriptRemoval of legacy data-migration logic from startup task
9fbfc6c5by Nicolas Dorier+542−275243 files
No security note in commit
Low 34 AI analysisMessage 45 · Thin
BT BTCPay ServerBTCPay Server BitcoinLightning NetworkPayment infrastructure

Remove migrations prior to BTCPay Server 1.12.0

This commit is a large database cleanup: BTCPay Server removed all old EF Core migration files before version 1.12.0 and replaced them with a single consolidated SQL script that creates the current schema from scratch. It also trims the st…

Large schema consolidation could silently drop or alter constraints/indexes compared to the incremental migration historyRemoval of legacy migration executors means installations upgrading from very old versions must rely on the consolidated init script and any remaining IMigrationExecutor implementationsNo explicit security claim or CVE reference in commit message or diff
57234d0eby Nicolas Dorier+542−275243 files
No security note in commit
Repository ledger

Explore captured commits

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

Lower-priorityScope payment request checkout forms to their storeby Andrew Camilleri (Kukks) · 49c580d0 · Oct 28, 2026 · 4 filesMessage 50 · ThinTriage 0Details
Commit message · Andrew Camilleri (Kukks)

Scope payment request checkout forms to their store

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityBound BitPay invoice posData sizeby Andrew Camilleri (Kukks) · 97744d85 · Oct 28, 2026 · 2 filesMessage 45 · ThinTriage 0Details
Commit message · Andrew Camilleri (Kukks)

Bound BitPay invoice posData size

45/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityStop anonymous BitPay API from reading other buyers' invoicesby Andrew Camilleri (Kukks) · c724e074 · Oct 28, 2026 · 1 fileMessage 50 · ThinTriage 0Details
Commit message · Andrew Camilleri (Kukks)

Stop anonymous BitPay API from reading other buyers' invoices

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Security candidateCap pre-authentication BitPay request body readby Andrew Camilleri (Kukks) · c93be370 · Oct 28, 2026 · 1 fileMessage 50 · ThinModerate 67Details
Commit message · Andrew Camilleri (Kukks)

Cap pre-authentication BitPay request body read

50/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
access controlauthentication path
AI analysis · Moderate 67/100

This change limits how much data BTCPay Server reads from a BitPay-compatible authentication request before the user is fully authenticated. Previously, the server could read an unbounded amount of request data into memory, which could let an attacker send a huge request body and waste server memory or disk space. The patch caps the body at 1 MB and rejects oversized requests.

Lower-priorityBumping LND to v0.21.5-beta (#7767)by Roxanne · fcd33151 · Oct 28, 2026 · 4 filesMessage 68 · AdequateTriage 0Details
Commit message · Roxanne

Bumping LND to v0.21.5-beta (#7767)

Co-authored-by: r1ckstardev <r1ckstardev@users.noreply.github.com>

68/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Lower-priorityDon't let anonymous BitPay callers extend invoice expiry (#7766)by Chukwuleta Tobechi · ad5b2efc · Oct 28, 2026 · 1 fileMessage 73 · AdequateTriage 0Details
Commit message · Chukwuleta Tobechi

Don't let anonymous BitPay callers extend invoice expiry (#7766)

* Don't let anonymous BitPay callers extend invoice expiry

* improve readability

73/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
Security candidateUpdate NBitcoin and avoid repeated PSBT finalization work (#7765)by Nicolas Dorier · 37bc0693 · Oct 28, 2026 · 4 filesMessage 58 · ThinInformational 23Details
Commit message · Nicolas Dorier

Update NBitcoin and avoid repeated PSBT finalization work (#7765)

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
signing boundarysigning or wallet path
AI analysis · Informational 23/100

This commit updates a Bitcoin library (NBitcoin) to a newer version and simplifies how the app checks whether a transaction proposal (PSBT) is properly finalized. It also tightens access control: if a wallet command is unrecognized, the request is now rejected with a bad-request error instead of falling back to a weaker 'view only' permission. The changes look like routine maintenance plus a small hardening fix, not a clear response to a disclosed security bug.

Lower-priorityFix invoice store scope, crowdfunding resets, cart totals and payout classificationby Nicolas Dorier · 235324db · Oct 28, 2026 · 12 filesMessage 50 · ThinTriage 0Details
Commit message · Nicolas Dorier

Fix invoice store scope, crowdfunding resets, cart totals and payout classification

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Lower-priorityFix subscription test initialization and navigation racesby Nicolas Dorier · f60549da · Oct 28, 2026 · 2 filesMessage 60 · AdequateTriage 0Details
Commit message · Nicolas Dorier

Fix subscription test initialization and navigation races

60/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
Lower-priorityFix subscription renewal state and duplicate payout processor configuration (#7763)by Nicolas Dorier · c5e3d055 · Oct 28, 2026 · 6 filesMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Fix subscription renewal state and duplicate payout processor configuration (#7763)

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-priorityAuthenticate Boltcard requests before advancing replay countersby Nicolas Dorier · 11109da2 · Oct 28, 2026 · 2 filesMessage 50 · ThinTriage 0Details
Commit message · Nicolas Dorier

Authenticate Boltcard requests before advancing replay counters

50/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
Security candidateFix LNURL authentication, rate expansion and subscription credit rounding (#7762)by Nicolas Dorier · f4a1b7c7 · Oct 28, 2026 · 13 filesMessage 63 · AdequateModerate 63Details
Commit message · Nicolas Dorier

Fix LNURL authentication, rate expansion and subscription credit rounding (#7762)

63/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
access controlauthentication path
AI analysis · Moderate 63/100

This commit fixes several unrelated bugs in BTCPay Server. The most security-relevant changes are: (1) LNURL authentication now uses expiring challenges tied to a user's security stamp, preventing old or stale login challenges from being reused; (2) notifications are now filtered by store permission policy, so users without the right role no longer receive sensitive payout/invoice notifications; (3) subscription credit rounding is changed so customers cannot be credited more than they actually paid; and (4) a memory-cache fix prevents lightning address lookups from returning stale null results. The rate-rule change adds a length limit to prevent very large nested rate expressions from being processed.

AI review queuedHarden invoice monitoring, subscription balances and API access (#7761)by Nicolas Dorier · 8e284f21 · Oct 28, 2026 · 20 filesMessage 58 · ThinModerate 61Details
Commit message · Nicolas Dorier

Harden invoice monitoring, subscription balances and API access (#7761)

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
defensive validationsecond-pass: unusually broad change
AI analysis · Moderate 61/100

This commit is a security hardening patch for BTCPay Server. It adds account lockout to password checks when users change their email or password, closes a JSON deserialization gap that could allow unexpected type information to be processed, limits how large Lightning payout responses can be, prevents subscription balances from growing beyond safe limits, and fixes invoice monitoring so it does not rely on stale invoice data while waiting for payments.

Security candidateFix form permissions, payment updates and onion validation (#7759)by Nicolas Dorier · 3b84c69a · Oct 28, 2026 · 11 filesMessage 58 · ThinModerate 65Details
Commit message · Nicolas Dorier

Fix form permissions, payment updates and onion validation (#7759)

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
credential or privilege state
AI analysis · Moderate 65/100

This commit fixes three separate issues in BTCPay Server: (1) private forms could be submitted by unauthorized users because permission checks were missing, (2) payment updates could trigger errors or incorrect events when multiple payments belonged to the same invoice, and (3) Tor (.onion) address validation was too simple and could be bypassed or misused. It also fixes two JavaScript error messages so they display as plain text instead of HTML, preventing possible cross-site scripting (XSS) when error content is shown to users.

Lower-priorityBound rate parsing and fix Lightning and form validation (#7758)by Nicolas Dorier · 1eba9e83 · Oct 28, 2026 · 4 filesMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Bound rate parsing and fix Lightning and form validation (#7758)

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 form inputs, report parsing and store validation (#7757)by Nicolas Dorier · d6934714 · Oct 28, 2026 · 7 filesMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Fix form inputs, report parsing and store validation (#7757)

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 payout finality and checkout safeguards (#7756)by Nicolas Dorier · c1e480f4 · Oct 28, 2026 · 7 filesMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Fix payout finality and checkout safeguards (#7756)

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-priorityHide merchant subscription data from public API responses (#7755)by Nicolas Dorier · b6415b33 · Oct 28, 2026 · 2 filesMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Hide merchant subscription data from public API responses (#7755)

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Security candidateFix store isolation and wallet policy enforcement (#7754)by Nicolas Dorier · 0d8b801a · Oct 28, 2026 · 13 filesMessage 58 · ThinModerate 65Details
Commit message · Nicolas Dorier

Fix store isolation and wallet policy enforcement (#7754)

58/100 · ThinMessage clarity
✓ Specific, 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 pathboot or update path
AI analysis · Moderate 65/100

This commit fixes several authorization and isolation bugs in BTCPay Server. The most important changes prevent a user from seeing other users' store apps, stop non-admins from creating cold wallets when the server policy forbids it, and prevent a malicious store's custom CSS from being loaded in the admin backend. It also fixes a few data-update bugs that could let a request change fields it shouldn't, and a cancellation-token leak.

AI review queuedVarious optimizationsby Nicolas Dorier · 4669eca8 · Oct 28, 2026 · 4 filesMessage 18 · OpaqueInformational 24Details
Commit message · Nicolas Dorier

Various optimizations

18/100 · OpaqueMessage clarity
✓ Subject identifies a change! Too few words to establish purpose! No meaningful explanatory body
Why it was queued
signing or wallet pathparser or protocol pathsecond-pass: opaque commit messagesecond-pass: security-sensitive path
AI analysis · Informational 24/100

This commit is titled 'Various optimizations' and makes small code cleanups across four files. The most notable change is in a Razor view where tooltip HTML is now generated more safely: previously, user-controlled text was inserted directly into an HTML attribute without quotes, which could have allowed special characters to break out of the attribute. The other changes are regex performance tweaks and a minor refactoring of derivation scheme parsing. There is no explicit security claim by the project, and no independent researcher is credited.

Security candidateHarden Bitpay compatibility APIby Nicolas Dorier · f3d09d93 · Oct 28, 2026 · 3 filesMessage 35 · OpaqueModerate 61Details
Commit message · Nicolas Dorier

Harden Bitpay compatibility API

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body! Opaque security-relevant change
Why it was queued
defensive validationauthentication path
AI analysis · Moderate 61/100

This commit tightens the Bitpay-compatible authentication path in BTCPay Server. Previously, a request authenticated with a valid cryptographic SIN could act as the first token linked to that account, regardless of which token the caller actually supplied. The patch now reads the token from the request and only authorizes the matching token, preventing one token's privileges from being used in place of another's. The commit title says 'Harden' and no explicit security disclosure is provided, so the exact vulnerability is inferred from the code change rather than stated by the vendor.

Security candidateHandle store authorization resourcesby Nicolas Dorier · 814321cb · Oct 28, 2026 · 1 fileMessage 40 · ThinModerate 63Details
Commit message · Nicolas Dorier

Handle store authorization resources

40/100 · ThinMessage clarity
✓ Descriptive subject✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
access controlauthentication path
AI analysis · Moderate 63/100

This commit changes how BTCPay Server figures out which store a user is acting on behalf of during permission checks. Previously, when an authorization policy checked a scoped permission, the code only looked at the raw 'resource' object as a plain string. The patch adds a fallback: if the resource is a StoreData object, use that store's ID as the scope. This likely fixes a bug where store-scoped permissions were not being resolved correctly in certain code paths, which could allow a user with permission on one store to perform actions on another store or have their permissions evaluated incorrectly. However, the diff is tiny and partial, so the exact attack path is not visible from this commit alone.

AI review queuedImprove Lightning payout processingby Nicolas Dorier · c5603587 · Oct 28, 2026 · 3 filesMessage 35 · OpaqueModerate 59Details
Commit message · Nicolas Dorier

Improve Lightning payout processing

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Moderate 59/100

This commit hardens how BTCPay Server marks Lightning payouts as paid. It adds checks that ensure a payout is still in the expected state and that its payment proof has not unexpectedly changed before the system finalizes it. This reduces the risk of a payout being incorrectly marked as completed—through race conditions, retries, or tampering—while the underlying proof data has changed. The change is defensive and appears aimed at preventing double-payout or state-confusion bugs in automated Lightning withdrawals.

Lower-priorityMerge pull request #7752 from btcpayserver/refactor/simplify-payout-destinationsby Nicolas Dorier · c2100f4b · Oct 28, 2026 · 1 fileMessage 58 · ThinTriage 0Details
Commit message · Nicolas Dorier

Merge pull request #7752 from btcpayserver/refactor/simplify-payout-destinations

Simplify payout destination handling

58/100 · ThinMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
Why it was queued
merge-commit duplicate discount
AI review queuedSimplify payout destination handlingby Nicolas Dorier · 983259ad · Oct 28, 2026 · 1 fileMessage 35 · OpaqueLow 25Details
Commit message · Nicolas Dorier

Simplify payout destination handling

35/100 · OpaqueMessage clarity
✓ Descriptive subject! No meaningful explanatory body
Why it was queued
second-pass: opaque commit message
AI analysis · Low 25/100

This commit simplifies how BTCPay Server builds Bitcoin payment links (BIP21 URLs) when processing payouts. Previously, the code handled two separate cases: one for raw Bitcoin addresses and one for BIP21 URLs (like 'bitcoin:...' links). Now it treats both through a common interface. The change removes special handling that modified existing BIP21 URLs in place, instead always generating a fresh BIP21 URL from the address. This is a code cleanup/refactoring change. There is no direct evidence in the commit that this fixes a security vulnerability, but it removes a code path that could potentially mishandle externally supplied BIP21 URLs.