Jeyadev R

AI / Security

ScamShield

Explainable Scam SMS Detector for India

ScamShield: Explainable Scam SMS Detector for India

About this project

Explainable, obfuscation-robust scam SMS detector for Indian messages (KYC, UPI, courier, digital-arrest scams). Undoes tricks like '0TP' and 'v e r i f y', highlights the words behind each verdict, and checks links for look-alike bank domains. Of 8 benchmarked models, the deployed calibrated linear SVM reaches 0.97 F1, matching DistilBERT.

The problem

Most SMS spam research trains on UK data from around 2012. Indian scams (fake KYC, UPI refunds, courier fees, digital arrest) use different words, and scammers hide them with tricks like 0TP and spaced letters.

Approach

A normaliser reverses six obfuscation families, then a calibrated linear SVM on word and character TF-IDF plus 16 engineered features classifies the message. Each verdict ships as a case file: word-level heatmap, scam type, link checks that never open the link, and advice.

Results

On a 6,061-message Indian test set the deployed SVM reaches 0.984 accuracy, 0.970 F1 and 0.993 scam recall, matching DistilBERT. UK-trained models lost 33–52% accuracy on Indian messages.

Related

Category
AI / Security
Built by
Jeyadev R

Tech stack

  • Python
  • scikit-learn
  • PyTorch
  • DistilBERT
  • FastAPI
  • React

More AI projects