Phishing Resistance
conceptAn authentication method is phishing-resistant when tricking you onto a fake site gains the attacker nothing—because there is no secret to type, nothing that travels can be captured and replayed, and the authentication simply doesn't happen with the wrong service.
Phishing works on anything typed. A password typed on a convincing fake site is captured whole. A one-time code is no better in the moment that matters: codes are phishable and replayable—an attacker who tricks you into entering one can immediately use it, live, against the real service.
Cryptographic authentication removes the raw material:
- Git over SSH: no passwords ever transmitted, no credentials to steal from the service's servers—phishing-resistant because you're not typing anything.
- WebAuthn: phishing-resistant by design—the browser and authenticator perform the exchange; there is no code for a fake page to ask you for.
- Hardware security keys: phishing is ineffective because the device verifies the service before signing anything. Point it at the wrong site and it refuses—no user vigilance required.