Projects

ScamRakshak — On-Device AI Scam Detector

Active
KotlinJetpack ComposeMaterial 3HiltRoomML Kit GenAI (Gemma 4)LiteRTCameraX
ScamRakshak — On-Device AI Scam Detector interface screenshot
📸Live Application Interface

Problem

Indians lose thousands of crores annually to digital scams via WhatsApp, SMS, and social media. Existing solutions require internet, collect user data, or lack Indian language support.

Business Impact

Digital scams cost Indians ₹1,750+ crore annually. Victims are often non-technical users who can't evaluate suspicious messages. ScamRakshak gives instant risk scores with Hindi explanations — no internet, no data sharing, no technical knowledge required.

System Approach

  • Kotlin + Jetpack Compose with Material 3 for modern Android UI
  • 3-tier AI inference: ML Kit Gemma 4 → LiteRT → Rule-based regex (graceful degradation)
  • Room database for scam pattern storage and scan history
  • CameraX for screenshot capture and OCR-based text extraction
  • Hilt for dependency injection across the entire app
  • Bilingual output (Hindi + English) for every scam analysis
  • Zero network permissions — the app physically cannot send data anywhere

Key Decisions & Trade-offs

  • 3-tier fallback over single model — ensures every device gets protection regardless of hardware
  • On-device only over cloud AI — privacy is the core promise, not a feature
  • Hindi-first over English-only — target users communicate primarily in Hindi and Hinglish
  • UPI ID analysis included — UPI scams are the fastest-growing fraud vector in India
  • Zero permissions model — builds trust with privacy-conscious users

Current Status

Architecture finalized with 3-tier AI inference engine. Kotlin scaffold with Jetpack Compose, Room, Hilt, and CameraX integration. Rule-based regex engine (Tier 3) operational as universal fallback.

Roadmap

  • Integrate ML Kit GenAI with Gemma 4 for on-device LLM analysis
  • Add screenshot OCR pipeline with CameraX
  • Implement URL safety checker with pattern matching
  • Add UPI ID verification against known scam databases
  • Launch on Google Play Store

What I'd Improve Next

  • Could add community-sourced scam pattern updates via signed JSON bundles
  • Consider adding regional language support beyond Hindi (Tamil, Telugu, Marathi)

Explore More