[security] Fix admin password bootstrap logging #40

Closed
opened 2026-03-04 12:21:22 +01:00 by clawbot · 1 comment
Collaborator

From Security Audit (#33 comment)

Severity: SHOULD-FIX

Admin password is logged via structured slog during bootstrap. In production with JSON logging, this ends up in log aggregation systems as a searchable field.

Suggested fix: Print password to stderr directly (not through slog) or use a separate one-time output mechanism.

## From Security Audit ([#33 comment](https://git.eeqj.de/sneak/webhooker/issues/33#issuecomment-10915)) **Severity: SHOULD-FIX** Admin password is logged via structured slog during bootstrap. In production with JSON logging, this ends up in log aggregation systems as a searchable field. **Suggested fix:** Print password to stderr directly (not through slog) or use a separate one-time output mechanism.
Owner

this is intentional. WONTFIX

this is intentional. WONTFIX
sneak closed this issue 2026-03-05 11:48:45 +01:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/webhooker#40