slack-go `SecretsVerifier` accepts empty signing secret without precondition
Description
Published to the GitHub Advisory Database
May 14, 2026
Reviewed
May 14, 2026
Last updated
Jun 29, 2026
SecretsVerifierin slack-go/slack before v0.23.1 accepts an empty signing secret without error. If an application is misconfigured (e.g., an unset or emptySLACK_SIGNING_SECRET),NewSecretsVerifierbuilds an HMAC-SHA256 keyed with an empty string, allowing an unauthenticated attacker to forge a validX-Slack-Signatureand bypass Slack request authentication. Fixed in v0.23.1, which rejects empty secrets withErrInvalidConfiguration. This is patched in version 0.23.1.References