FraudLens
1st placeChecks a suspicious message, link, email or document before you pay, in English, French and Kreol Morisien, and shows the exact words behind every warning.
The problem
Scams in Mauritius don't arrive in tidy English. An SMS in Kreol says your MCB account is blocked. A WhatsApp "bank" asks for the one-time code it just sent you. A fake MRA refund page sits on a domain one letter off the real one.
Generic filters don't read Kreol. They don't know that mcb.mu is real and mcb.nu isn't. And when they do flag something, they hand back a score nobody can explain to the person about to send the money.
What I did
- Owned the backend. I wrote the API for single checks, batch scans and reports, the SQLite store, the domain matching, and the contract every client had to follow.
- Locked it down before the demo: rate limiting, security headers, error bodies that never leak a stack trace, and input validation on every route.
- Wired screenshot checks end to end. Tesseract OCR reads the image in two passes, and the text goes through the same pipeline as a pasted message.
- Set up the model so a dead Wi-Fi couldn't kill the demo. It runs locally on Ollama first, with a hosted fallback, and if both fail the rules still return a full verdict.
- Built Link Guard, the Chrome extension. It checks every site you open against the registry and lookalike rules, and its Security Report grades a site's setup with every check listed.
- Built most of the document forensics: metadata and PDF checks, signature stroke checks, error level analysis, TruFor forgery maps and a layout comparison against known templates.
- Restyled the web app in a forensic, report-sheet design so a verdict reads like evidence rather than a pop-up.
How it works
- 01
Every warning quotes the message
The language model may only return tactic codes from a fixed list, each with a quote copied from the message. Plain code then checks each quote against the original and throws away anything it can't find there.
- 02
The rules set the verdict, not the model
A versioned rules engine turns the findings into the score, the verdict and the advice, and lists every point it added. The same findings always give the same score.
- 03
Links are checked against the real domains
A registry of the official domains of MCB, SBM, Absa, Bank One, my.t, Emtel and the MRA catches mcb-secure.top, mcb.nu, and mсb.mu written with a Cyrillic с. It names the real site so you know where to go instead.
- 04
One backend, three places scams arrive
The web app, the Chrome extension and an Outlook add-in all call the same backend. None of them has its own copy of the detection logic, so a fix lands everywhere at once.
- 05
Documents are checked for how they were made
Upload a bank letter or a contract and FraudLens looks inside the file: a signature pasted onto a scan at a lower resolution, text typed over an image, a PDF saved again after it was signed. It calls these warning signs, never "forged".
Design decisions
- It works with the AI switched off. Built for a live demo on bad conference Wi-Fi.
- The model never scores anything. It reads language and quotes it, and code does the rest.
- Phone numbers, emails and account numbers are redacted in the browser before a message leaves the page.
- Kreol rules sit next to the English and French ones and handle negation and language switching mid-sentence. The model only sees the 61 Kreol examples a person has reviewed.
Results
1st place at the Finnovate Web and AI Hackathon 2026, and Rs 40,000 from my.t.
- 46 of 63
- Scams caught by the rules alone
- 0 of 21
- Real messages flagged
- 631
- Backend tests
- 222
- Web, Outlook and extension tests
More screens
Built with
- Node and Express
- Next.js 15
- SQLite
- Tesseract OCR
- Ollama
- Chrome extension (MV3)
- Outlook add-in
- Python forensics service
