IntegrAuth Lab

Defense · Threat labs

Device-code phishing defense

RFC 8628's "enter this code on your phone" flow has a phishing gap: an attacker starts the request and asks YOU to type their code. Showing where it started — and requiring "yes, I started this" — closes it.

A SELF-CONTAINED SANDBOX — it never touches the Lab's real device-flow, and a sandbox request grants no real access no matter what you decide. You play both sides: the attacker starts a request and gets a real-looking code to "send" you; the victim panel is the approval screen you'd see after typing it.

How to play

  1. As the attacker, start a device authorization (try the phishing preset) and copy the code.
  2. As the victim, type that code into the approval screen and read where it really started.
  3. Try to approve without ticking "I started this" — then deny it, as you should.

🎯 Attacker

phish this

Start a device authorization on YOUR "device" (a script) — it names itself and its location. Then send the code to the victim panel.

🛡️ Victim — the approval screen

defend this

You were sent a code and asked to "enter it to sign in". Type it below — the screen shows WHAT and WHERE before you decide anything.

Look up a code above to see the approval screen.

Your sandbox requests

Two defenses, both real

Verification transparency

The approval screen shows the client AND where the request really started, BEFORE you decide. A naive "enter this code" prompt hides exactly what would tip you off.

Explicit confirmation

Approving requires ticking "I started this" — a blind tap-through is refused server-side (400 confirmation_required), never silently accepted.

X-ray

🩻 X-ray — what actually happened live

Your own insert-only audit trail — the real server events, sanitized (never a secret), each linked to the lesson that explains it.