-
-
The home page: a full-screen film behind the promise. Before you pay, take a second look.
-
A fake KRA tax refund text, checked live and explained in Kiswahili. Every sentence cites its evidence.
-
Numbered evidence with signed weights and sources, plus the live trace with time and cost for each step.
-
A real Kenya Power bill with wrong maths. SecondLook recomputes it from its own readings and finds the overcharge.
-
A dispute letter drafted for approval, and a durable follow-up that wakes when the company replies.
-
Paste a message or add a photo or PDF, in any of 12 languages. Installable on any phone with a share menu.
-
The verdict is calculated from evidence weights, not written by the AI, so injected text cannot flip it.
-
Developers get a JSON API and an MCP server with one tool, check_demand, for any AI agent.
Inspiration
Last year 57% of adults worldwide were targeted by a scam and about $442 billion was lost (Global Anti-Scam Alliance and Feedzai, 46,000 people in 42 countries).
What struck me is that the scams look exactly like the real demands we all get. A fake KRA tax refund text, a real Kenya Power bill that quietly overcharges you, and a genuine fine you must not ignore all arrive as one thing, a message asking you to pay. People decide alone, in seconds, often in a second language. So they pay fakes, they overpay real bills, and they ignore real letters as probable scams. Every family I know has a story like this, and it is usually an older parent whose children find out weeks later.
The tools that exist give a verdict, often without showing why, and then they stop. Nobody checks whether a real bill is correct, explains what a genuine demand means, or helps with what to do next.
What it does
You forward anything that asks you for money, a text, an email, a screenshot, a photo of a letter or a PDF bill, or you share it straight from your phone's share menu into the installed app. SecondLook then does the following.
- Reads it safely. A reader model with no tools turns it into one typed record (who claims to be asking, how much, where to pay, by when, every link and number, a bill's line items and meter readings).
- Gathers evidence in parallel. When the link's domain was registered (RDAP), Google Safe Browsing and abuse.ch URLhaus, the organisation's official domains and payment numbers from a country pack, lookalike and brand-stitched domains, the bill's own arithmetic, and known scam patterns in eight languages.
- Argues the other side. A sceptic agent makes the case for the opposite verdict, with a bounded effect.
- Calculates the verdict. Scam, real but wrong, genuine, or not sure. It is a pure function of the evidence weights, not something the AI writes.
- Explains it in your language. Every sentence cites the evidence it relies on, and you can tap a citation to see the proof.
- Drafts your next step. A report to the right fraud channel for your country, a warning for your family group, a dispute letter, a reply, or a calendar reminder.
- Waits for your yes. Approving only unlocks copy and share, because SecondLook never sends anything and never moves money.
- Follows up. A dispute stays open in a durable workflow. When the company replies, or after 14 days, it decides whether to escalate.
It also exposes an MCP server with one tool, check_demand, so any AI agent can take a second look before it pays.
How we built it
- Frontend. Astro static site and an installable PWA, with an install nudge on open, a Web Share Target, a service worker, light and dark themes, an accessibility panel and a site guide.
- Backend. A Cloudflare Worker with Hono. Each case is one Cloudflare Workflow instance with retried, idempotent steps, and disputes wait on
step.waitForEventfor the other side's reply. D1 stores cases, evidence, steps (with time, tokens and cost) and drafts. - Models.
claude-haiku-5-5at low effort with JSON-schema output for every model step (reader, sceptic, explainer, drafts, follow-up), with retries, backoff and a larger budget if output is cut off. A full check costs about $0.0006. - Safety by construction.
- The reader has no tools, so prompt injection has nothing to grab.
- The verdict is calculated, so injected text only adds evidence against itself.
- Action types and official targets come from code and a sourced country pack, and links or long numbers the model adds are stripped.
- Nothing is ever sent by SecondLook.
- Country packs. Official domains, payment numbers and fraud reporting channels for Kenya, India, Brazil, Nigeria, the United Kingdom, the United States, the Philippines and Indonesia, each entry with an official source. Adding a country is a data change.
- Quality. 32 unit tests, CI on GitHub, and a labelled evaluation that runs every case through the live pipeline.
- Brand and media. An animated two-lens logo, a full-screen hero film made with HyperFrames and GSAP, and this demo recorded on the live site with Playwright.
Challenges we ran into
- Our own evaluation found production bugs. The first held-out set caught only 46% of scams. Digging in showed that rdap.org rejected requests without a User-Agent, so domain age had silently never worked. Fixing it, plus detecting brand names stitched into fake domains and advance-fee scams, changed everything.
- Real organisations say "never share your PIN". Those safety notes were being read as requests for a PIN, so a genuine message looked like a scam.
- Some countries have no RDAP service. A "not found" from rdap.org for .ph does not mean the domain is fake, so only a 404 from the real registry counts now.
- Government domains. A genuine message on a government-only domain (.go.ke, .gov.ng) can't be a lookalike, because the public cannot register those.
- Official details change. Checking the packs against official sources showed that KRA retired paybill 572572 in 2023 (it is now 222222), the UK replaced Action Fraud with Report Fraud, and Nigeria's FIRS became the NRS.
Accomplishments that we're proud of
On a final set of 20 fresh cases, written after all tuning and run once with live models and live link checks, it scored as follows.
| Measure | Result |
|---|---|
| Exact verdicts | 85% |
| Scams caught | 86% |
| False alarms on genuine messages | 0 |
| Wrong bills caught | 100% |
| Prompt injection resisted | 100% |
| Median time per check | 7.5 seconds |
| Cost per check | about $0.0006 |
False alarms were zero on every set and every run. The full history, including the earlier sets that exposed bugs, is in server/eval/README.md, and every number reproduces with npm run eval -- final.
What we learned
A verdict you can audit is worth more than a clever one. Making the AI read, argue and write, while plain code decides, is what made SecondLook both resistant to tricks and honest about uncertainty. Measuring on sets I had not tuned on was humbling and was the single most useful thing I did.
What's next for SecondLook
- More country packs, contributed as data with official sources
- WhatsApp and SMS channels, so people without smartphones can forward messages
- A family guardian mode, where a trusted relative approves actions for an older parent
- A larger evaluation set and partnerships with consumer protection and fraud agencies
Credits and third-party disclosure
Built during the Zyrelyx Global AI Hackathon sprint (1 to 7 December 2026) by Eugene Mutembei in Nairobi, Kenya.
- Third-party components. Astro, Hono, Cloudflare Workers, Workflows and D1, the Anthropic Claude API, Vitest, Manrope (SIL Open Font License), RDAP via rdap.org, Google Safe Browsing, abuse.ch URLhaus, HyperFrames with GSAP and the Kokoro voice model for the video, and Playwright.
- Reused from my own earlier projects. The brand system, Nairobi skyline footer, accessibility panel and FAQ component come from Halisi and ClearMyBill.
- AI assistance. AI coding assistance was used during the sprint.
SecondLook is a prototype. It gives information and drafts, not legal or financial advice.
Built With
- anthropic
- astro
- claude
- cloudflare-d1
- cloudflare-workers
- cloudflare-workflows
- google-safe-browsing
- gsap
- hono
- hyperframes
- mcp
- playwright
- pwa
- rdap
- typescript
- urlhaus
- vitest