Sitebound

Killing the stablecoin checkout address and brining 3D Secured USDT payments for everyone.

Sitebound

Created At

ETHGlobal Mumbai

Project Description

We are killing the checkout address.

A crypto checkout shows a wallet address, and it lives in the page's code. Whoever controls the code decides where the money goes: one hacked script can swap the address, and a wrong paste is final. Compromised web code keeps costing users:

  • Bybit, Feb 2025: about $1.5B, from malicious code in Safe's web app (BleepingComputer).
  • BadgerDAO, Dec 2021: about $120M, from a script slipped into the front end (Rekt).
  • Polymarket, Oct 2026: about $2.7M, from a swapped third-party script (The Hacker News).
  • Ledger Connect Kit, Dec 2023: more than $610K, from a poisoned library (The Register).
  • Curve, Aug 2022: about $570K, from a hijacked domain (Curve).
  • npm, Sep 2025: address-swapping code reached packages with 2B weekly downloads. About $600 stolen, a near miss (The Hacker News).

Crypto also has no card-style check of the site and amount, buyers need gas, and businesses must manage wallets.

Sitebound is 3D Secure style USDT payments on Whitechain. There is no checkout address on the page at all. Every payment is bound to the registered site and its wallet, so a hacked page cannot redirect the money. Any website can accept USDT, a dollar stablecoin.

How it works:

  1. Register the site with one DNS TXT record. The relayer checks it and registers the site on-chain; the wallet can be made in the browser.
  2. Paste one tag: <sitebound-pay amount="12.00" order="A123">. No address in it.
  3. The buyer links a USDT wallet once, then confirms each site and amount with a passkey (Touch ID). Chrome writes the site into the signed data; page code cannot change it.
  4. The contract verifies the passkey on-chain and pays only the wallet registered for that site. pay() has no payee field.
  5. The relayer pays the gas. Buyers hold and pay only USDT.

Live on Whitechain Sepolia:

  • Contract SiteboundV2 (verified): 0x64117398C837a8708a816818b31C36Df5a968596
  • App: https://sitebound-pay.pages.dev
  • Demo: https://sitebound-demo.pages.dev
  • Real shop: https://0xmujahid.xyz
  • First real payment on testnet, a Whitechain Sepolia testnet transaction (3 USDT, buyer paid no gas): https://explorer.testnet.whitechain.io/tx/0x65a00ae0fec55014c6331f2767e815ea8c49e00241b6215d7a917e3076cd71d0

How it's Made

Contract: SiteboundV2, Solidity 0.8.28 with Foundry, deployed on Whitechain Sepolia (chain 1874) at ``0x64117398C837a8708a816818b31C36Df5a968596 and verified on the Whitechain explorer and Sourcify (exact match). No contract owner, no proxy, no upgrade path.

  • Passkeys: every passkey (P-256) signature is verified on-chain through the RIP-7212 precompile at 0x100, which Whitechain Sepolia has. The whole design rests on it.
  • pay() checks that the signature came from the Sitebound frame (origin and crossOrigin:true), the RP ID, user verification, and a challenge that fixes the site, its config version, the order, the amount, the relayer fee and the deadline. It then moves USDT to the split registered for keccak256(topOrigin).
  • EIP-712 binds a passkey to a wallet with a per-payment cap, a total cap and an expiry. The USDT allowance uses an EIP-2612 permit, so the buyer signs instead of sending an approve transaction.
  • Relayer: a Cloudflare Worker (ethers 6). It checks the DNS TXT record, signs the site attestation, relays gasless payments and enforces daily caps. pay() is permissionless, so the relayer can refuse a payment but cannot redirect one.
  • Frontend: static pages on Cloudflare Pages. The landing and setup pages use Preact. The checkout frame is vanilla JS with ethers 6 and runs on its own origin as a cross-origin iframe.
  • Tests: 138 Foundry tests across v1 and V2 (100 for SiteboundV2, including 5 invariants).

Notable hacks:

  • forge test has no P-256 precompile, so the tests etch a Solidity P-256 verifier at 0x100. One test replays a real Chromium passkey assertion captured from a cross-origin iframe (virtual authenticator, not Touch ID).
  • Whitechain USDT has no version() getter, so we found its permit domain (name "Tether USD", version "1") by matching DOMAIN_SEPARATOR.
  • "Verify us" on the landing page reads the deployed bytecode, masks the immutables and compares it with the expected build hash, in the browser.
background image mobile

Join the mailing list

Get the latest news and updates

Sitebound | ETHGlobal