From security point of view, when doing 2FA is it fine to show where code was sent after…
- User
From security point of view, when doing 2FA is it fine to show where code was sent after user provided valid password?
Assistant
Showing where a 2FA code was sent after the user has entered their valid password is generally not recommended from a security perspective. There are a few reasons for this:
-
It provides unnecessary information to an attacker. If an attacker is attempting to access an account, there is no need to reveal the method used for 2FA (SMS, authentication app, etc). This information could potentially help them in a future attack.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.