Inspiration
Across Bangladesh, millions of people are using mobile financial services for the very first time—often without ever being taught how social engineering works. Scammers exploit artificial urgency, fake authority, fear, greed, forced secrecy, and trust-hijacking to make victims hand over their PINs or OTPs before they have a chance to pause and think.
We wanted to build a safe, memorable training ground that never lectures or blames the user. Instead, we put a naive alien in Dhaka with 5,000 pretend taka in a fictional wallet app (Taka-Pay). Watching the alien get tricked—and then helping it dissect the scammer's tactics under a microscope—turns digital literacy into an intuitive, empathetic game.
What it does
Antibody (অ্যান্টিবডি) is a bilingual (Bangla & English) interactive browser game styled like a xenobiologist's field notebook meets Dhaka hand-painted street signage:
- Field Terminal Boot & Privacy-First Agent ID: A 5-second skippable terminal boot sequence pings
/api/v1/health(falling back smoothly to offline mode if needed). Players can join in one tap as a guest or create a callsign + 3-word passphrase hashed with Argon2id—collecting zero emails, phone numbers, real names, or tracking cookies. - Taka-Pay Sandbox: Teaches wallet, PIN, and OTP boundaries with 5,000 fictional taka.
- Live Scam Call Simulation: A deterministic Scammer Bot state machine calls as a fake bank officer; the alien trusts and shares its OTP, draining the balance.
- Tactic X-Ray & Antibody Synthesis: Players replay the call under a "tactic X-ray" to identify psychological pathogens (Urgency, Authority, Fear, Greed, Secrecy, Trust-Hijack) and lock matching cognitive defense rules onto the alien.
- Mutation Exam & Field Agent Bot: Players classify mutated scams mixed with legitimate utility/bank alerts (blocking a real alert triggers a
FALSE ALARMstamp so they don't become overly paranoid), backed by an interactive Field Agent Bot that analyzes suspicious messages in Bangla and English. - Bayesian Resistance Dashboard: Displays a 6-organ susceptibility map, accuracy rate, false-alarm count, and a downloadable Agent ID card.
How we built it
We structured Antibody as a pnpm TypeScript monorepo (packages/shared, apps/api, apps/web):
- Frontend (
apps/web): React 18, Vite, and Tailwind CSS withReact.lazycode-splitting, GPU-composited (transform&opacityonly) notebook page-turn animations, custom layered SVG artwork (AlienCharacter& 6 pathogen icons), Bangla (Tiro Bangla,Hind Siliguri) and Latin (Newsreader,IBM Plex Mono) typography, Night Mode, Site Search, and full keyboard/screen-reader accessibility. - Backend (
apps/api): Node.js + Fastify with Zod validation, Helmet CSP, strict CORS allow-lists, per-route rate limiting, Argon2id hashing, JWT +httpOnlySameSite=Strictrefresh token rotation, and SQLite (WAL mode withforeign_keys = ONcascade deletion and onlinedb.backup()snapshots). - Adaptive Bayesian Learner Model: Each of the 6 scam tactics is modeled as a Beta distribution $\text{Beta}(\alpha, \beta)$. Correct defenses increment $\beta$ and falling for a tactic increments $\alpha$, giving a real-time Susceptibility Score from $0$ to $100$:
$$\text{Susceptibility Score} = 100 \times \frac{\alpha}{\alpha + \beta}$$
- Safe, Predictable Bots:
- Scammer Bot: Implemented as a seedable, deterministic state machine (
opening$\to$build_pressure$\to$ask$\to$escalate/give_up/success) so every line carries exact machine-readable tactic annotations and never emits real phone numbers or brands. - Scam Coach / Field Agent Bot: Runs a bilingual rule-based classifier first and returns grounded guidance with an official-helpline reminder.
- Scammer Bot: Implemented as a seedable, deterministic state machine (
Challenges we ran into
- Avoiding the "AI-generated" look: Enforcing strict flat-color Dhaka signage aesthetics, 1–2px riso misregistration, custom SVGs, and Bangla conjunct legibility (
18px+body, generous line height) without relying on default UI kits or gradients. - Data Integrity & Privacy-First Auth: Ensuring SQLite
PRAGMA foreign_keys = ONwas active so "Delete My Data" cascades cleanly acrosssessions,attempts, andsusceptibility, while supporting offline play when the API is unreachable. - Balancing False Alarms: Designing the Mutation Round so players learn not only to block scams, but also to recognize legitimate DESCO/Taka-Pay notifications without false alarms.
Accomplishments that we're proud of
- Built an end-to-end bilingual security education platform with zero third-party tracking SDKs and a 36 kB gzipped main app bundle.
- Verified with 12/12 passing Vitest + Supertest tests covering the classifier across 60+ labeled fixtures, deterministic bot transitions, auth lifecycle, XSS sanitization,
ON DELETE CASCADE, and token refresh. - Shipped live to Vercel (
https://antibody-game.vercel.app) with custom SVG favicon, Open Graph social previews,sitemap.xml,robots.txt,llms.txt, and full WCAG AA/AAA contrast compliance.
What we learned
- Humans aren't fooled because they are foolish—scammers artificially manufacture urgency and authority to bypass slow, reflective thinking.
- Privacy-by-design (collecting no personal data) builds immediate trust in a scam-awareness tool.
- Deterministic state machines and grounded classifiers make safety-critical educational bots testable, fast, and reliable even offline.
What's next for Antibody
- Expanding scenario packs for WhatsApp voice-note scams, QR-code payment traps, and fake job offers across South Asia.
- Adding Playwright end-to-end visual regression tests across
360px,768px, and1440pxviewports. - Partnering with community digital-literacy workshops to run Antibody in offline-first PWA kiosks.
