Skip to content

Block security-probe test email domains - #3702

Merged
bernardhanna merged 1 commit into
masterfrom
fix/block-security-probe-emails-master
Nov 17, 2026
Merged

bernardhanna merged 1 commit into
masterfrom
fix/block-security-probe-emails-master

Conversation

@bernardhanna

Copy link
Copy Markdown
Collaborator

Summary

  • Reject reserved RFC test email TLDs (.invalid, .test, .example, .localhost) on activity create, registration, and contact form
  • Add events:purge-security-probes artisan command for leftover probe cleanup
  • Same change as Block security-probe test email domains #3701 (merged to dev) for live deploy

Test plan

  • Unit tests for NotReservedEmailDomain
  • After deploy: creating an activity with @*.invalid email fails
  • Normal organiser emails still work

Made with Cursor

Stops security-probe accounts (.invalid/.test/.example/.localhost) from landing in ambassador moderation queues, and adds a purge command for leftovers.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna
bernardhanna merged commit c8ff06a into master Nov 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant