security(bug-handler): sender policy fails open — unset BUG_ALLOWED_SENDERS lets anyone mailing bug@ open GitHub issues · Issue #2502 · chmonitor/chmonitor · GitHub
Skip to content

security(bug-handler): sender policy fails open — unset BUG_ALLOWED_SENDERS lets anyone mailing bug@ open GitHub issues #2502

Description

@duyet

config.ts isSenderAllowed returns true when the allowlist is empty (the default). SPF authenticates the sending domain, not authorization; intended source is Sentry alert mail only. Plan: default to a built-in Sentry sender allowlist, '' = reject-all, explicit '*' = allow-all, warn-log dropped mail, document in the knowledge doc.


Full self-contained implementation plan: plans/85-bug-handler-fail-closed-senders.md (audit round 4, planned at 070f5fe0a). Found by the 2026-07-10 deep audit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritybugSomething isn't workingsecuritySecurity hardening

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions