Back to Portfolio

KavachPay

The winning project for the Guidewire DEVTrails University Hackathon (Soar Phase). AI-driven parametric insurance platform specifically designed for India's 15 million gig delivery workers disrupted by extreme weather.

Full Stack Developer & ML Architecture React · Python · Node.js Case Study
KavachPay dashboard showing live weather card and work-proof status

01. The Problem

India's ~15 million gig delivery workers face massive income vulnerability. Heavy rainfall, extreme heat, floods, or curfews can lead to days of zero earnings. Traditional insurance is too slow, paper-heavy, and unsuited for micro-disruptions.

Existing parametric insurance solutions rely heavily on GPS location. This creates a fatal flaw: GPS spoofing. A coordinated Telegram group could spoof being in a flood zone and drain the insurance liquidity pool in hours. When fraud kills the platform, honest workers lose coverage.

02. The Solution

I built KavachPay during the Guidewire DEVTrails Hackathon. It is a behavioral parametric insurance platform powered by the Work-Proof Protocol (WPP).

Core Innovation: Instead of asking "Where is this person via GPS?", KavachPay asks "Can this person prove their browser session shows genuine work activity?" It moves verification from client-side spoofable GPS to server-side behavioral signals like IP geolocation, session duration, click patterns, and work-hour alignment.

The system cross-references these behavioral fingerprints with authoritative satellite data (IMD) to auto-trigger claims, paying out directly to UPI via Razorpay without the worker lifting a finger.

03. Tech Stack

  • Frontend (React + Tailwind): Responsive dashboard with live weather cards, Work-Proof status indicators, and embedded zone risk maps (TomTom).
  • Backend (Node.js + Express): Manages the Work-Proof session chunking, cryptographic signing, and transaction processing.
  • Database (PostgreSQL): Manages relational data for users, policies, claims, and securely stores session proofs.
  • ML Architecture (Python): Powered by Isolation Forests (anomaly detection in session behavior), XGBoost (genuine work validation), and Graph Neural Networks (detecting coordinated fraud syndicates).
  • External APIs: IMD/OpenWeather (environmental consensus), TomTom (congestion), Twilio (SMS alerts), Razorpay (UPI payouts).

04. Key Features

  • Work-Proof Protocol: Cryptographically signed 5-minute session chunks verified entirely on the backend to defeat GPS spoofing apps.
  • Environmental Consensus Engine: Multi-tiered validation relying on satellite/physical infrastructure (IMD, AQICN) that cannot be spoofed.
  • Automated Claim Adjudication: If Work-Proof, session authenticity, and event consensus metrics align, claims are paid to UPI in under 60 seconds.
  • Fraud Ring Response Protocol: Detects coordinated Telegram syndicates by analyzing IP subnet density, login entropy, and behavioral synchronization.
  • Admin/Fraud Review Dashboard: Queue and visualization tool for claims requiring manual override or investigation.

05. Challenges & Learnings

Challenge: Defeating GPS Spoofing Syndicates
The primary hurdle in parametric insurance is that bad actors can coordinate via Telegram to fake their locations and simulate natural disasters at scale. Relying on simple geofencing was not viable.

Solution: I shifted the defense surface area to server-side IP geolocation and browser interaction patterns. Since attackers have to actually interface with our browser client, their network provenance (ISP) and behavioral anomalies betray them even if their GPS coordinates look perfect.

Challenge: Ensuring Honest Workers Get Paid Promptly
Overly aggressive anti-fraud systems can create high false-positive rates, blocking genuine workers who might just be using a new route or phone.

Solution: I implemented a partial advance payout system. While claims with moderate fraud scores go under review, 40% of the claim amount is dispensed immediately, combined with a transparent SMS communication flow.

06. Impact

This project successfully secured qualification into Phase 3 (Soar Phase) of the Guidewire DEVTrails Hackathon. It addresses a real-world multi-million dollar vulnerability in parametric insurance models while protecting the most financially vulnerable workers in the gig economy.

Repository: Full documentation and source code are available at github.com/atulsingh1501/KavachPay.
View on GitHub Live Demo Watch Pitch