One-time sign-in links

PhishGuard

A six-digit code can be read, forwarded and replayed. PhishGuard sends an HMAC-signed link instead: dead after sixty seconds, usable once, refused outright on replay, tamper or expiry. Mint one below and try all three.

Runs in your browser: a port of the product’s documented token rules, on inputs you choose, with nothing sent anywhere

  • What it does: mints an HMAC-signed link carrying a nonce and a 60-second expiry, verifies the signature before anything else, and refuses the replay.
  • What to try: press Open the link, then press it again. Then tamper with one character, and mint one that is already expired.
  • What runs here: a port of the documented token rules with the browser’s own crypto. The product’s implementation is Python and its single-use guarantee is a database row deleted on first verify; this page stands in for that row with a list in the tab.
  • How the signature is scoped: it covers the nonce and the expiry. The phone number and the purpose live in the stored row, so changing that row does not change the signature.
  • Where its scope ends: it removes the replayable code. It does not make a compromised phone safe.

The record

Proof it works

  • The suite passes: 105 tests, measured by running it on this pass rather than quoting a document. Coverage has grown with the product — the count reads 25, 29, 33, 63, 74 and 105 across its history — and the run is the only copy that counts. It covers mint and consume, the three link outcomes, the carrier webhook signature, the opt-in rules and the rate limits.
  • The whole mint → click → consumed loop runs today. The operator console carries a demo button that stands in for the phone, so the full loop can be shown to a pilot prospect end to end.
  • Available now: the full mint → click → consumed loop, with the console’s demo button standing in for the phone; live delivery depends on carrier registration for the sending number and on the link base moving from today’s non-production domain to the production one when that registration completes.
  • Pilot pricing is agreed by hand, per pilot. Nothing on this page is a rate, a minimum or a discount.

How it is meant to be used

The scope of the token

  • This is a sign-in link. Binding a token to the specifics of a payment — the amount and the destination inside the token — is a separate design, not this one.
  • The single-use guarantee is a database row, deleted on first verify. There is no external ledger anchored to it.
  • The comparison that matters is per verification. Large identity providers already sell phone verification at roughly five cents per verification, so that is the line to price against.
  • An intercepted message is still intercepted. What the short expiry and single use remove is the replay: a link that was read, forwarded or screenshotted stops working the moment it is used once, or after a minute either way.

Under the hood

What it is built on

Stack
Python with FastAPI, HMAC-SHA256 for the link signature, PBKDF2-SHA256 at 600,000 iterations for passwords, and Twilio for delivery, over SQLite locally and Postgres in production.
Surfaces
The API, the verification page an SMS link resolves to, an operator console served by the same service, the carrier opt-in page and privacy policy, and the generated API docs. One origin, so no CORS configuration.
Auth
Bearer JWT for minting and the console; consumption is open but rate-limited to 30 attempts a minute per address; the carrier status webhook is signature-checked against the account auth token and fails closed without it.

Ask about a pilot

What a pilot would involve, how the console is provisioned for it, and where the commercial side stands — ask before you plan around any of it.

Ask about a pilot