Sanitize Discord error logs to prevent secret exposure #188
Reference in New Issue
Block a user
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?
Problem
Discord client errors are logged without sanitization, potentially exposing the bot token in error stack traces.
Location
apps/api/src/bridge/discord/discord.service.ts:82
Exposure Risks
Impact
Acceptance Criteria
Implementation
Testing
References
M4.2-Infrastructure verification report (2026-02-02)
Security review agent ID: a1b8b3f