Skip to content

Fail-closed default for monitoring dashboard authentication - #37

Merged
CypherPotato merged 1 commit into
mainfrom
codex/propose-fix-for-basic-auth-bypass
May 25, 2026
Merged

Fail-closed default for monitoring dashboard authentication#37
CypherPotato merged 1 commit into
mainfrom
codex/propose-fix-for-basic-auth-bypass

Conversation

@CypherPotato

Copy link
Copy Markdown
Member

Motivation

  • Prevent a fail-open authentication bypass in ApplicationMonitor where omitting a credential validator allowed any syntactically valid Basic credentials to be accepted and exposed logs/health data.

Description

  • Change AuthenticateAccountAsync in extensions/Sisk.Monitoring/ApplicationMonitor.cs to return false when CredentialValidator is null, preserving validator behavior when provided (AuthenticateAccountAsync now fails closed by default).

Testing

  • Ran dotnet build extensions/Sisk.Monitoring/Sisk.Monitoring.csproj -c Debug; the build was attempted but failed due to a missing sibling dependency typed-components/src/TinyComponents.csproj, which is unrelated to this one-line auth logic change.

Codex Task

@CypherPotato
CypherPotato merged commit c03c4af into main May 25, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant