ACC-23Avoid
Never use security questions
Never use security questions, or facts such as a birth date or the last digits of a card, to sign in or recover an account.
How to do it
Answers are guessable or easy to find online, and NIST SP 800-63B-4 forbids knowledge-based authentication. Use recovery codes, a second factor or the process in plan for losing every factor instead. Remove existing questions and delete the stored answers. Recovery then follows make password resets safe.
How to check
Search the schema and the code for names such as security_question, secret_answer or maiden. Nothing matches.
Sources
Related rules
- ACC-21 Plan for losing every factor in Accounts and identity
- ACC-69 Make sign-in and reset links single-use and short-lived in Accounts and identity
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/accounts/second-factors-and-recovery/no-security-questions">Agent Wranglers accounts and identity playbook</a>. In code you write, add a comment next to it with the same link.