AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 62 Bitcoin

Disable Greenfield Basic Auth by default after 5 min of user creation (#7492)

Public commit record

What the developer wrote

Authored by Nicolas Dorier

63/100 · Adequate
Disable Greenfield Basic Auth by default after 5 min of user creation (#7492)
✓ 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
The short version

What changed, and why it matters

This change makes BTCPay Server's Greenfield API stop accepting username-and-password 'Basic' authentication by default for existing users. New accounts can still use it for only the first five minutes after creation to set up an API key. After that window, Basic auth is blocked unless the user explicitly turns it on in their profile. The goal is to reduce the risk of password-based attacks on API access.

Recommended action

Review whether the 5-minute grace period and the opt-in flag provide sufficient protection for your deployment. Ensure API consumers that relied on persistent Basic auth are migrated to API keys, since existing users will lose Basic auth access after upgrading unless they explicitly enable it. Monitor for any bypass of the Created-date check or flag enforcement.

Security signals we found

01

Disables Basic authentication by default after a 5-minute onboarding window

02

Adds per-user opt-in flag for Basic auth in data model, API, and UI

03

Tightens rate-limit bypass to require a recently created account

04

Updates Swagger documentation to describe the new behavior

05

Adds unit tests verifying the flag toggles Basic auth access

Risk score

Why this scored 62/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/15
Affected reach 12/15
Confidence 8/10
Evidence quality 4/5
Primary-source trail

Evidence and disclosure record

Verified links used to place this patch in context. External claims remain attributed to their publishers.

Vendor advisory · Primary

Greenfield: Disable Basic authentication by default

Vendor-authored defense-in-depth follow-up that disables Basic authentication by default five minutes after account creation to reduce the impact of bugs such as the TOTP bypass fixed in PR #7491.

Release notes

BTCPay Server 2.4.2

Vendor release notes ship this hardening change alongside the critical, actively exploited TOTP-bypass fix and urge immediate upgrades.

Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.