Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The function presents security-question generation as random, but the answers come from a tiny fixed set of hard-coded values. Anyone with knowledge of the script or access to the code can predict likely recovery answers, weakening account/session recovery protections for a highly sensitive visa workflow.
