What is One-Time Password (OTP)?
A one-time password (OTP) is a code that is valid for a single sign-in or transaction, either generated by an authenticator from a shared secret, as in HOTP (RFC 4226, counter-based) and TOTP (RFC 6238, time-based with a 30-second default step), or sent by the service over SMS, voice or email.
NIST SP 800-63B-4 states plainly that "OTP authentication is not phishing-resistant", because a code a person reads can be typed into a fake page and relayed before it expires. SMS and voice delivery add their own weaknesses, SIM swap and number porting among them, and NIST treats the phone network as a "restricted" authenticator that verifiers should only use after checking signals such as a recent SIM change. Both problems are live: the InsureOTP kit in July 2026 asked insurance customers for their OTP "as routine identity verification" and relayed it to the real portal, and Microsoft Entra ID stops delivering its own SMS and voice codes on February 1, 2027.
See also: HOTP, TOTP, OTP relay social engineering, two-factor authentication, phishing-resistant MFA
Where this term is explained in depth
Guides and references
Articles
Related on Start with Identity
- GlossaryCalling Name Presentation (CNAP)
Calling Name Presentation (CNAP) is a telephone network service that shows the called party the name associated with the calling number, taken from the caller's
- GlossaryMFA
MFA (multi-factor authentication) is sign-in that requires two or more factors from different categories: something you know (a password or PIN), something you
- GlossaryJust-in-Time (JIT) Access
Granting elevated permissions only when needed, for a limited duration, and revoking them automatically. JIT eliminates [standing privilege](/glossary/standing-
- CVEVault login MFA rate-limit bypass and TOTP reuse
Vault's login MFA rate limits could be bypassed and TOTP codes reused, weakening the second factor. Part of the 2025 VaultFault set with the LDAP MFA bypass in
- CVEVault TOTP and LDAP EntityID reuse
Vault reused EntityIDs across TOTP and LDAP in a way that let one identity land on another entity. Part of VaultFault. Confirm CVSS against NVD.
- BlogBazuka Android framework captures lock-screen PINs and one-time codes behind a fake home screen
ThreatFabric says Bazuka, a 23-module Android fraud framework, captures lock-screen PINs and patterns through Accessibility, reads one-time codes from SMS and 2