Inspiration
Part-time job scams are one of Malaysia's most common frauds. Police recorded 8,911 cases and RM222 million in losses in 2025 (PDRM, via Randstad Malaysia), and another 1,537 cases and RM31.8 million in January to March 2026 alone (New Straits Times, 1 May 2026). Police say syndicates impersonate companies to reach students looking for part-time work (The Star, 18 Apr 2026). As a fresh graduate who has just been job hunting, I get these messages too.
What it does
OfferCheck is a website for Malaysian students and job seekers. Paste a job offer from WhatsApp, Telegram or social media, or upload a screenshot or job poster, and it:
- Marks the words that read like a scam, with a score and a plain verdict: "reads like a job scam", "some parts look suspicious" or "nothing typical of a scam here". It never says a job is safe.
- Lists every phone number, bank account and link in the message. Each number has a copy button and a link to PDRM Semak Mule, the police database of reported numbers. A
wa.melink is a phone number in disguise, so its number is listed too. - Tells you what to do next: never pay to get a job, keep your IC and bank details to yourself, and call the National Scam Response Centre at 997 if money has already moved.
Everything runs in the browser, including reading screenshots, so the message and the image never leave your phone. The interface works in English and Bahasa Melayu.
What I built for LaunchPad Hacks (and what came before)
Before LaunchPad (29 Nov 2026, ML Empowerment Build Challenge 4.0): the in-browser model, the test set of 78 real Malaysian messages, the highlighted result screen and the Malay interface. That version is commit b190051 on main and is still live at https://shermaineyap.github.io/offercheck/. It is also entered in that challenge.
During LaunchPad (from 30 Nov 2026), on the launchpad branch:
- Screenshot and poster reading on the device. Tesseract OCR (English + Malay) runs in the browser from files the site serves itself, with no third-party server. You can also paste an image straight into the box.
- Numbers and links to check: Malaysian mobile and landline numbers, bank accounts next to a bank name, links, e-mails and Telegram handles, each with a Semak Mule shortcut or a short warning.
- Screenshot clean-up: drops times, ticks and status-bar text, rejoins wrapped lines, and treats a line that is only a phone number as the sender (listed for checking, not scored).
- An evaluation of the screenshot path and 12 new unit tests.
Full list: LAUNCHPAD.md
How I tested it
I turned each of the 78 real test messages (32 scams, 46 genuine job posts) into a phone chat screenshot, in light and dark mode, filling the removed phone numbers with invented ones. Then I compared the decision from the screenshot with the decision from the typed text.
| Input | Scams caught (of 32) | Genuine flagged (of 46) | Same decision as typed |
|---|---|---|---|
| Typed text | 29 | 8 | |
| Screenshot, run 1 | 30 | 11 | 74 of 78 |
| Screenshot, run 2 (sender-line fix) | 29 | 9 | 77 of 78 |
The results were the same in light and dark mode. In run 1, all four changes were posts close to the 0.5 line, and the cause was the chat header: the reader added the sender's phone number to the message text. I fixed this by treating a line that is only a phone number as the sender. That fix was found by looking at these test messages, so the run-2 figure is optimistic.
I also tested whether real phone numbers should be replaced with the placeholders the model was trained with. It changed no decisions (78 of 78 the same), so the app scores the message exactly as written.
Everything is reproducible from the repository: eval/render_screenshots.py, then web/scripts/eval-launchpad.ts. Results are in results/launchpad_eval.json and results/launchpad_eval_run1.json.
How I built it
- Model: TF-IDF on word 1–2 grams and character 3–5 grams, then logistic regression (scikit-learn), re-implemented in TypeScript so it runs in the browser. Unit tests check that it matches Python within 0.01 on all 78 test messages.
- OCR: tesseract.js 7 with the English and Malay
best_intlanguage files, loaded only when you upload an image. - App: Vite, React and TypeScript, hosted on GitHub Pages.
- Evaluation: Python Playwright to render screenshots, Vitest, and tsx.
Challenges
- The chat header. In my first screenshot run, borderline genuine posts tipped into "scam" because the sender's number in the header was read as part of the message. Measuring before adding more features is how I found it.
- Keeping the privacy promise. OCR libraries usually download language files from a public CDN. I serve the engine and the English and Malay files from the site itself, so no third party sees anything.
- Not changing another event's entry. OfferCheck is also entered in another challenge, so its
mainbranch and live link stay untouched. The LaunchPad version has its own branch and address.
What I learned
Test on the input people actually have. A model that works on typed text can behave differently on text read from a screenshot, and the cause turned out to be the layout around the message, not the reading itself.
Limitations
- The test screenshots are clean and computer-made. Photos of a screen, blurry images and decorated posters will read worse, so OfferCheck asks you to check the text in the box.
- 78 test messages is a small set, mostly from 2021 to 2024. 95% bootstrap intervals for the typed-text model: scams caught 80–100%, genuine posts wrongly flagged 7–29%.
- It misses follow-up messages with no pay or task language, and wrongly flags some short or vague genuine posts.
- "No record found" on Semak Mule does not mean a number is safe.
- It does not read Chinese.
What's next
Test on real screenshots and posters donated by people who received them, add Chinese, and collect newer scam scripts.
Credits
- Test messages: Malaysian news and blog reports (Vulcan Post, World of Buzz, Sinar Harian), the Lowyat forum and Maukerja. Sources for every message are in the repository. Personal details were removed.
- EMSCAD (Vidros et al., 2017), scikit-learn, React, Vite, Vitest, tesseract.js and Tesseract OCR (Apache-2.0), tesseract.js-data language files, Playwright, Atkinson Hyperlegible font.
- Demo narration: Piper TTS (en_US-lessac-high), an AI voice. Numbers shown in the demo are invented.
- AI assistance: code, evaluation scripts, video and this write-up were built with help from Claude (Anthropic).
Built With
- github
- playwright
- python
- react
- scikit-learn
- tesseract.js
- typescript
- vite