Zurkhaneh Signup.py: a parser differential in email validation

News1 min read

Zurkhaneh Signup.py is a new hard challenge in the Python game, released for DEF CON 2026. It is a signup portal for company staff only, with a parser differential: two parts of the code read the same email address differently. Your job is to find it and fix it.

The portal checks that an address contains the company domain. The code that registers the account and sends email reads the address by email rules instead, which allow more than name@domain: display names, comments, encoded text and old routing syntax. With those, an address can pass the check and still point to a mailbox outside the company.

The weakness is CWE-179: Incorrect Behavior Order: Early Validation. Any check that approves input in one form while later code reads it in another can be bypassed the same way.

:backhand_index_pointing_right: Play it in the Python game: Play - SecDim

Questions or comments? Discuss this post on SecDim Community →

Try it yourself

Find, Hack and Fix Your First Vulnerability

Reading about security bugs is one thing — fixing one is how the skill sticks. Play a free challenge from the wargame, no setup required.