LookOut

Check before you sign: a private, community-owned scam check for wallets and AI agents, on Arkiv.

LookOut

Created At

ETHGlobal Mumbai

Project Description

Lookout is a pre-sign safety check for wallets and AI agents. Before you send money or sign a request, it tells you whether the target is flagged (block, warn or unknown), why, and which Arkiv records back that up. It never says "safe", only "nothing found".

The problem: scam sites and drainers live for hours, but vendor lists lag by days (a 2025 study found Google Safe Browsing took 4.5 days on average to flag the phishing sites it caught). One company owns the list and can see what you check. And open reporting is easy to game with thousands of fake wallets.

How Lookout answers each one:

  • Community owned. Reports, trusted-source verdicts, owner disputes and rulings are Arkiv entities, each with an owner and an expiry, so stale flags disappear. The lookup table is rebuilt from Arkiv alone.
  • Private. The check runs over two-server PIR, so neither server learns which address you asked about.
  • Verifiable. The table's root is published on Arkiv and the client checks every answer against it.
  • Hard to game. A report locks a deposit in an escrow contract and only counts as confirmed when an independent trusted source flags the same target afterwards. A thousand fresh wallets weigh nothing and can only ever produce a warning.
  • Agent ready. An AI agent calls one check_target tool and gets the same verdict as JSON, and aborts on block.

World ID proves one human per wallet, so verified people earn bounties.

How it's Made

It is a TypeScript monorepo (npm workspaces, Node 24) with a Next.js 16 / React 19 app and about 440 tests plus an attack simulation, all gated by one npm run verify.

Arkiv is the source of truth. We defined seven entity schemas on the Rabdi testnet with the Arkiv SDK. An indexer reads them by attribute query into a SQLite cache and applies trusted-writer rules, always checking $creator, because Arkiv records who created an entity but not whether they were allowed to. Expiry does real work: spam reports vanish in 24 hours.

The private lookup is two-server XOR PIR over a table of 16,384 buckets of 512 bytes with two-choice hashing. The client sends each server a random bit vector (one differs by a single bit), XORs the answers, always asks for both candidate buckets so a hit and a miss look the same, then verifies the bucket against a hash table and the table against a root the indexer publishes on Arkiv as a snapshot entity. We check wiping the cache and rebuilding gives the same root. Hacky but worth noting: indexers disagreed on roots because block times drift from 2 s, so snapshots are built as of a 300-block epoch using the epoch block's real chain timestamp.

Scoring is a pure function shared by the indexer, wallet and agent tool. The escrow is Solidity on Sepolia (deposits, refunds, bounty pool, tested with Foundry), settled by an operator service whose rulings carry public reasons. World ID (IDKit) ties one human to one wallet.

Our attack simulation caught a real bug: a flood of farmed reports could push a genuine scam's signals out of the table, downgrading a block to a warning. We fixed it and kept the test. The demo uses one wallet for several roles. Much of the code was written with Claude Code under our direction.

background image mobile

Join the mailing list

Get the latest news and updates