A one-time authentication code (OTP) is a temporary code used to verify a login or other action. It may be generated by an authenticator app, sent by text, or delivered through another channel. Its short lifetime limits reuse, but does not make it immune to phishing.
In a real-time phishing attack, a fake login page can ask a user for both a password and a current code, then relay them to the legitimate service before the code expires. This may enable an attacker to attempt account access; a captured code alone does not prove a successful login. Organizations should direct staff to trusted sites and use phishing-resistant MFA, such as passkeys or security keys. If a code or password was entered on a suspicious page, change affected credentials and review account activity.


