You already have two-step verification switched on. The code arrives, you type it in, and you feel safe. But the way that code reaches you, and the way you hand it over, decides how much it really protects you.
Picture someone who runs a small online shop. One evening a text arrives that looks exactly like the ones her payment provider sends: a sign-in attempt from a new device, and a link to "secure your account".
She tapped it, typed her password, and then typed the six-digit code that had just arrived on her phone. The page said thank you. Ten minutes later her payout details had changed.
She had done what everyone tells you to do. She had two-step verification turned on. The problem was not that she lacked a second step. The problem was that the second step was something she could be tricked into typing into the wrong website.
That is the real difference between the three options most services now offer: a code sent by text message, a code from an authenticator app, and a passkey. This article explains what each one protects you from, where each one falls short, and which accounts to upgrade first. Give it five minutes and you will know exactly what to change tonight.
A text message code (SMS). After you enter your password, the service sends a short code to your phone number. You type the code back in. It proves you have access to that phone number at that moment.
An authenticator app code. Apps such as Google Authenticator, Microsoft Authenticator or the one built into many password managers show a six-digit code that changes every 30 seconds. The code is calculated on your phone from a secret that was set up once, usually by scanning a QR code. Nothing travels over the mobile network.
A passkey. Instead of a password and a code, your device holds a cryptographic key that belongs to one website or app. When you sign in, you unlock it with your fingerprint, face or phone PIN, and your device proves to the website that it holds the right key. There is nothing for you to read, copy or type.
The first two are things you type. The third is something your device does. Keep that distinction in mind, because it is the whole story.
Text codes have three separate problems.
Your phone number can be stolen. In a SIM swap, a criminal persuades your mobile provider to move your number onto a SIM card they control, usually by pretending to be you. From that moment, your texts, including every sign-in code, go to them. The FBI's Internet Crime Complaint Center received 1,611 SIM swapping complaints in 2021, with reported losses of more than $68 million. Across the three years before that, it had received 320.
Text messages are not encrypted. In December 2024, the US Cybersecurity and Infrastructure Security Agency (CISA) published mobile security guidance after investigating intrusions into telecoms networks. Its advice to people likely to be targeted was direct: do not use SMS as a second factor, and move to phishing-resistant methods instead.
You can be tricked into handing the code over. This is the one that caught the shop owner in our example. A fake login page asks for your password, passes it to the real site in the background, and then asks for the code the real site has just texted you. You type it in, the attacker uses it within seconds, and they are inside your account.
Before you panic and switch everything off, here is the other side.
In 2019, Google worked with researchers from New York University and the University of California, San Diego to measure how well different sign-in protections held up against real attacks. An SMS code sent to a recovery phone blocked 100% of automated bot attacks, 96% of bulk phishing attacks and 76% of targeted attacks.
Most account break-ins are not a skilled criminal focused on you personally. They are automated tools trying leaked passwords against thousands of accounts. Against those, even a text code is a very effective wall.
So the rule is simple: a text code is far better than no second step at all. It is just the wrong place to stop.
An authenticator app fixes the first two problems with text messages. Your code is generated on your phone, so it cannot be intercepted on the mobile network, and it does not depend on your phone number, so a SIM swap does not hand it to someone else.
It does not fix the third problem. A code from an app is still six digits that you read and type, and a convincing fake page can ask for it just as easily as it asks for a text code.
The clearest real example comes from the internet company Cloudflare. In July 2022, attackers sent more than 100 text messages to Cloudflare employees and their families, pointing them to a convincing copy of the company's login page. At least 76 employees received the messages. Three of them entered their username and password.
The fake page also asked for a one-time code, and Cloudflare later explained that the attackers were relaying those codes to themselves in real time so they could use them before they expired. Against a company that relied on app codes, that would probably have been enough.
It failed at Cloudflare for one reason: every employee signed in with a hardware security key, which only works on the genuine website. The attackers had valid passwords and nothing to do with them. Twilio, which was hit by a similar campaign at around the same time, disclosed that customer data was accessed.
A passkey is built on the same technology as the security keys that protected Cloudflare, but it lives on the phone, tablet or computer you already own.
When you create a passkey, your device makes a matched pair of keys. The website keeps one half, which is useless on its own. Your device keeps the other half, locked behind your fingerprint, face or screen PIN. Crucially, the passkey is tied to the exact website address it was created for.
If a criminal sends you to a lookalike page, your device simply does not offer the passkey, because the address does not match. There is no code on screen for you to be talked into typing. NIST describes this as "verifier name binding", and it is the reason passkeys count as phishing-resistant while text and app codes do not.
Two other worries come up often:
In April 2026 the UK's National Cyber Security Centre changed its public advice. It now recommends passkeys wherever a service supports them, and two-step verification where it does not, and it describes traditional methods, including password plus SMS and app codes, as phishable.
You do not need to upgrade everything tonight. Start with the accounts that unlock other accounts.
For each account, open the security settings and pick the strongest option offered, in this order:
Go back to the shop owner at the start of this article. If she had signed in with a passkey, the fake page would have received her password and nothing else. There would have been no code on her screen to give away, and her phone would not have offered the passkey to a website it did not recognise.
That is the point of this upgrade. Text codes and app codes rely on you spotting the trick every single time. A passkey does not ask you to be perfect. It simply refuses to work anywhere except the real website.
Every figure in this article comes from the primary sources below.
Cyber Insight | Security in 5 Minutes · Season 1
Making cybersecurity easier to understand, one issue at a time.
Practical how-tos you can finish in one sitting.
Have a question or a suggestion? Prepare an email below. Feedback is private and is sent only when you press Send in your email app.
Likes and claps are your personal reactions on this device.
You can also email Poorna directly.
Your feedback stays private. Nothing is sent from this page automatically.
I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.