Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NudgeGuard

Behavioral Security Engine for Real-Time UPI Fraud Prevention

NudgeGuard is a prototype behavioral security layer designed to identify potentially manipulated or anomalous digital payment contexts and apply adaptive interventions before a high-risk transaction is completed.

Problem

Traditional payment security mechanisms such as PINs, OTPs, biometrics, and MFA primarily verify whether the user is authorized.

They do not necessarily determine whether an authorized user is being manipulated into making a fraudulent payment.

NudgeGuard addresses this human-layer security gap.

Solution

NudgeGuard analyzes transaction context and behavioral risk indicators, assigns a risk score, and selects an appropriate intervention.

Low-risk transactions remain frictionless while higher-risk transactions receive contextual warnings, verification prompts, or temporary cooldowns.

Architecture

Transaction Context ↓ Behavioral Heuristics ↓ Risk Scoring ↓ Policy Mapping ↓ Adaptive Intervention ↓ User Decision

Screenshots

NudgeGuard Dashboard

NudgeGuard Dashboard

High-Risk Transaction Detection

High-Risk Transaction

Adaptive Intervention

NudgeGuard Intervention

Core Components

1. Context Capture

Collects transaction-related contextual signals such as:

  • Transaction amount
  • Recipient familiarity
  • New recipient status
  • Transaction context
  • User interaction patterns

2. Behavioral Heuristics Engine

Evaluates indicators associated with potentially manipulated payments.

3. Risk Scoring

Converts detected indicators into a normalized risk score.

4. Policy Mapper

Maps risk levels to appropriate interventions.

5. Intervention Engine

Provides context-aware friction such as:

  • Warning messages
  • Verification questions
  • Cooldown periods
  • Transaction review prompts

Risk Model

Risk Level Score Response
Low 0–30 Normal transaction flow
Medium 31–70 Contextual verification
High 71–100 Strong intervention

Example

A transaction involving:

  • A newly added recipient
  • An unusually high amount
  • Suspicious payment context

can trigger a higher risk score.

Instead of displaying a generic warning, NudgeGuard provides a targeted intervention designed to encourage the user to pause and verify the transaction.

Technology Stack

  • HTML
  • CSS
  • JavaScript

Demo

Live Demo

Project Structure

NudgeGuard/ ├── index.html ├── styles.css └── js/ ├── dashboard.js ├── interventions.js ├── nudgeguard-core.js └── simulator.js

Limitations

This project is currently a prototype and is not connected to production UPI infrastructure or real payment systems.

The risk engine uses simulated/contextual inputs rather than production financial data.

Future Scope

  • Machine-learning-based behavioral risk modelling
  • Continuous model calibration using fraud feedback
  • Privacy-preserving behavioral signals
  • Integration through a payment-security SDK
  • Real-time fraud intelligence
  • Explainable risk scoring
  • Adaptive intervention optimization

Disclaimer

NudgeGuard is a research/prototype project intended to explore human-layer security in digital payments.

About

Behavioral security engine that detects potentially manipulated digital payment contexts and applies adaptive anti-fraud interventions

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages