[security] Fix admin password bootstrap logging #40

Open
opened 2026-03-04 12:21:22 +01:00 by clawbot · 0 comments
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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/webhooker#40
No description provided.