[security] Fix admin password bootstrap logging #40
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/webhooker#40
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.