Inspiration
Online scams are rampant in Indonesia, and they arrive as ordinary chat messages: a fake courier asking you to pay "customs fees" through a strange link, a "mum asks for credit" message from an unknown number, a wedding-invitation APK that is actually malware, a giveaway win that demands an "admin fee", a too-good job offer, or a bank warning that pressures you to hand over your OTP. Victims usually have seconds to decide whether a message is real — and the scammers know it. Existing scam checkers are mostly English-only, require an account, or send your message to a server. People in Indonesia needed a tool that speaks their language, works instantly, and never uploads their private chats anywhere.
What it does
CekPenipu is a web app that checks any WhatsApp, SMS, or Telegram message (Indonesian or English) and returns a verdict (Safe / Suspicious / Scam), a risk score from 0–100 on a clear gauge, highlighted red flags showing the exact words that triggered the warning, a plain-language explanation for every flag, and recommended next steps. Extra features: bilingual UI (ID/EN), 12 one-click test examples of real Indonesian scams, check history stored only on the user's device, one-click copy result, and 100% privacy — the message never leaves the browser. No account, no server, no API key, no tracking.
How we built it
The core is a transparent, rule-based AI classifier (classifier.js) written from scratch for this hackathon: 40+ weighted patterns covering the scam families most common in Indonesia and globally — shortened/suspicious links, .APK malware delivery, OTP/credential theft, family impersonation, money extraction (admin fees, fake customs holds, fast-cash loans), bait (prizes, big-salary jobs, "guaranteed profit"), and pressure tactics (urgency, countdowns). Bilingual pattern packs in Indonesian and English. Explainable by design — each matched pattern adds its weight to the 0–100 score (70+ = Scam, 40–69 = Suspicious, under 40 = Safe) and carries its own explanation. Tested like real software — all 18 test cases pass (12 built-in examples + 6 extra). Zero build step — plain HTML/CSS/JS, deployable to GitHub Pages as-is. Roadmap: an opt-in LLM "second opinion" (bring-your-own-key) for novel scam wording.
Challenges we ran into
False positives on everyday words — Indonesian words like "segera" appear in innocent messages, so urgency patterns had to be narrowed. Scam wording varies a lot — the same trick is phrased a dozen ways, so patterns tolerate words in between instead of matching exact strings. Scoring the borderline — a vague job offer with no link and no fee should be Suspicious, not Scam; tuning the weights so that case landed at 44/100 took several iterations of the test harness.
Accomplishments that we're proud of
18/18 classifier tests passing, including zero false positives on legitimate messages. A verdict users can actually audit: every point of the risk score is traceable to a named pattern with an explanation. A tool that works for the people who need it most — in their language, on their phone, without an account or an internet round-trip for the check itself.
What we learned
Scam detection is less about any single "smoking gun" word and more about combinations: a prize + a fee + a shortened link is a scam; any one of those alone might be innocent. Building the classifier as a weighted, explainable system — and testing it against real Indonesian scam texts — mattered far more than adding more patterns.
What's next for CekPenipu
Opt-in LLM second opinion (bring-your-own-key) for novel scam wording. Crowd-sourced pattern updates via a community JSON list. Malay and Tagalog pattern packs. Shareable report links and a browser extension (right-click selected chat text → "Check with CekPenipu").
Built With
- css
- html
- javascript
- node.js
- playwright