GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - nizaalkhot/Drishti: ๐Ÿ›ก๏ธ Real-time Agentic Scam & Fraud Intelligence for Banks - Intercepting APP fraud (Digital Arrest, KYC APK, Mule Rings) using Google ADK multi-agent architecture.

BranchesTags
Open more actions menu

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
agents
agents
 
 
alembic
alembic
 
 
assets/videos
assets/videos
 
 
backend
backend
 
 
eval
eval
 
 
infra
infra
 
 
scripts
scripts
 
 
simulator
simulator
 
 
tests
tests
 
 
web
web
 
 
.gcloudignore
.gcloudignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
PLAN.md
PLAN.md
 
 
README.md
README.md
 
 
alembic.ini
alembic.ini
 
 
docker-compose.yml
docker-compose.yml
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

๐Ÿ›ก๏ธ Drishti: Agentic Scam & Fraud Intelligence for Banks

License Python Framework FastAPI React

"Stop the scam before the money moves."
Advanced multi-agent defense system specifically engineered to intercept Authorized Push Payment (APP) fraud (Digital Arrest, Fake KYC APKs, Task Scams, Mule Syndicates) in real-time.


๐ŸŽฅ Product Showcase & Launch Video

Drishti Launch Video

Video Edition Resolution / Spec Direct Link
Official 1080p Launch Video 1920ร—1080 Landscape, 30 FPS, Stereo Audio ๐Ÿ“น brag-output/brag.mp4
Mobile & Social Edition 1080ร—1920 Vertical 9:16 (Reels, TikTok, Shorts) ๐Ÿ“ฑ brag-output/brag_vertical.mp4
Full Interactive Walkthrough 1600ร—950 HD, 52s In-Depth UI Walkthrough ๐ŸŽฌ assets/videos/drishti_showcase.mp4

โšก Architecture Overview

                      INCOMING UPI / FAST PAYMENT STREAM
                                      โ”‚
                                      โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚        Layer 1: Real-time Risk Engine (<15ms)        โ”‚
           โ”‚  โ€ข Embedded ONNX/XGBoost Tabular Model               โ”‚
           โ”‚  โ€ข Sliding-Window Velocity Cache (Redis/In-Memory)   โ”‚
           โ”‚  โ€ข Scores 100% of traffic, 0 LLM cost                โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                      โ”‚
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ–ผ                       โ–ผ                        โ–ผ
       Score < 0.35            0.35 <= Score <= 0.75      Score > 0.75
        [ ALLOW ]                   [ GREY ZONE ]           [ HOLD ]
       Instant Pass                   โ”‚                    Hard Freeze
                                      โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚        Layer 2: Multi-Agent Scam Shield (<3.5s)      โ”‚
           โ”‚  โ€ข Google ADK Parallel & Sequential Agent Hierarchy  โ”‚
           โ”‚  โ€ข Context Agent: Voice call telemetry, APK hijack   โ”‚
           โ”‚  โ€ข Mule Graph Agent: BigQuery fan-in & pass-through  โ”‚
           โ”‚  โ€ข Policy Agent: RBI Master Directions & FIU-IND     โ”‚
           โ”‚  โ€ข Intervention Agent: Contextual Plain-Language     โ”‚
           โ”‚    Friction Dialog (English, Hindi, Marathi)         โ”‚
           โ”‚  โ€ข Zero-Token Semantic Cache (<2ms intervention)     โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                      โ”‚
                                      โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚        Layer 3: Autonomous Investigator Copilot      โ”‚
           โ”‚  โ€ข Google ADK LoopAgent Case Workspace & Dossiers    โ”‚
           โ”‚  โ€ข Draft-Critic-Revise Loop for FIU-IND STR Reports  โ”‚
           โ”‚  โ€ข Principal Officer Cryptographic Verification Gate โ”‚
           โ”‚  โ€ข Core Banking Account Lien Freeze & FIU Submission โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                      โ”‚
                                      โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚        Layer 4: Adversarial Red-Team Arena           โ”‚
           โ”‚  โ€ข Self-Play Attack Probing (Obfuscated Leetspeak,   โ”‚
           โ”‚    Structured Smurfing <โ‚น50k, Deepfake Judicial)     โ”‚
           โ”‚  โ€ข Defense Gap Reports & Automated Remediation Rules โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ›ก๏ธ Enterprise Fraud Defense Breakthroughs

Drishti incorporates eleven institutional breakthroughs addressing critical real-world payment vulnerabilities:

  1. Behavioral Biometrics & Telco Telemetry:
    Detects micro-tremors via gyroscope jitter score under duress and inspects clipboard source apps (Telegram, WhatsApp, unverified SMS) to catch coerced transfers before authorization.
  2. Autonomous Closed-Loop Immune System:
    Adversarial Red-Team agent probes the defense with novel attack vectors (Obfuscated Leetspeak, Structured Smurfing <โ‚น50k, Deepfake Judicial) and autonomously synthesizes immunization patches that hot-reload directly into the Layer 2 Semantic Cache.
  3. Deep Multi-Hop Mule Ring Graph Intelligence:
    Detects multi-hop syndicated mule networks (up to 4 hops) and identifies circular smurfing cycles with rapid pass-through and fan-in topology.
  4. Institutional Regulatory Compliance & Core Banking Interventions:
    Generates official FIU-IND FINnet 2.0 XML dossiers and dispatches ISO 20022 camt.056.001.08 Payment Cancellation Recall instructions across interbank networks with cryptographic Principal Officer verification.
  5. Multilingual Voice Intercept & Cooldown Protection:
    Uses Web Speech API voice alerts in English, Hindi, and Marathi on the mobile client, coupled with a one-tap "Sever Call & Activate 15-Minute Safety Cooldown" to protect coerced victims.
  6. Telemetry Proxy Imputation for iOS & Web Sandbox:
    When OS privacy restrictions prevent direct call or accessibility detection, Drishti imputes coercion through behavioral signals (hesitation latency, rapid clipboard paste cadences, and savings liquidation bursts).
  7. Trusted Payee Memory & 3-Grade Friction Ladder:
    Prevents catastrophic false positives on genuine emergency transfers (e.g., ICU deposits while on the phone with family) by grading friction from Tier 0 (silent pass) to Tier 1 (subtle chip) and Tier 2/3 (interactive safety quiz).
  8. Cold-Start Mule Anomaly Scorer:
    Detects freshly activated mule accounts (< 3 days old, newly bound VPAs, or student KYC receiving large corporate sums) without requiring prior transaction history.
  9. Cryptographic Informed Consent Vault & Safety Hard Block:
    Maintains a tamper-evident SHA-256 audit ledger of customer overrides for non-repudiation. For transactions with scam confidence $&gt;0.85$, a non-negotiable Safety Hard Block locks funds under RBI consumer protection mandates.
  10. Simulated I4C NCRP / NPCI Consortium Registry:
    Enables privacy-preserving cross-bank threat intelligence matching via salted Bloom filters, identifying syndicated mule accounts instantly across institutions.
  11. Zero-Token Semantic Intervention Cache:
    Intercepts repetitive scam archetypes in $<2$ms with zero token cost, reducing LLM operational overhead by $&gt;80%$.

โ˜๏ธ Google Cloud Enterprise Architecture

Drishti natively integrates 8 Google Cloud technologies using a resilient dual-mode enterprise pattern (active Google Cloud SDK calls in production / GCP environments with robust local engines for zero-downtime offline resilience):

Google Cloud Technology Drishti Architecture Role Implementation Module
Gemini on Vertex AI Reasoning & Conversational Interventions agents/intervention_agent.py, agents/copilot.py (ADK LoopAgent)
BigQuery Transaction Lake & Topological Mule Graph Analytics agents/tools/mule_graph.py, backend/integrations/bigquery_export.py
Vertex AI Predictive / Classification Tabular Model Registry backend/engine/risk_scorer.py (drishti-tabular-v1)
Document AI Financial & Judicial Scam Evidence Forensics backend/integrations/document_ai.py, agents/tools/doc_parser.py
Vertex AI Search RBI & PMLA Regulatory Knowledge Retrieval agents/policy_agent.py (DiscoveryEngine live datastore)
Cloud Run Low-latency Auto-scaling Container Services infra/Dockerfile, infra/cloudbuild.yaml (asia-south1)
Cloud SQL / AlloyDB Application Dossiers & Non-repudiation Vault backend/database/ (async SQLAlchemy with PostgreSQL/SQLite)
Google Cloud Pub/Sub Decoupled Event-Driven Transaction Stream backend/integrations/pubsub.py (3 dedicated topics)

๐Ÿ“ Repository Structure

drishti/
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ videos/
โ”‚       โ””โ”€โ”€ drishti_showcase.mp4 # Full 1600x950 HD walkthrough video
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ api/                     # Modular FastAPI APIRouters
โ”‚   โ”‚   โ”œโ”€โ”€ deps.py              # Singletons, metrics store & SSE broadcaster
โ”‚   โ”‚   โ”œโ”€โ”€ routes_scoring.py    # /score, /simulator/inject, /stream (SSE)
โ”‚   โ”‚   โ”œโ”€โ”€ routes_cases.py      # /cases, freeze, finnet-xml, dispatch-recall
โ”‚   โ”‚   โ”œโ”€โ”€ routes_consortium.py # /consortium/lookup
โ”‚   โ”‚   โ”œโ”€โ”€ routes_governance.py # /consent, /cache/metrics, /metrics/roi, /immune-patch/apply
โ”‚   โ”‚   โ””โ”€โ”€ schemas.py           # Pydantic API request & response contracts
โ”‚   โ”œโ”€โ”€ compliance/              # Institutional Regulatory & Banking Compliance
โ”‚   โ”‚   โ”œโ”€โ”€ finnet_generator.py  # FIU-IND FINnet 2.0 XML dossier export generator
โ”‚   โ”‚   โ””โ”€โ”€ iso20022.py          # ISO 20022 camt.056 payment cancellation recall
โ”‚   โ”œโ”€โ”€ database/                # Cloud SQL / AlloyDB persistence layer
โ”‚   โ”‚   โ”œโ”€โ”€ models.py            # SQLAlchemy models (Dossier, Consent, Audit)
โ”‚   โ”‚   โ”œโ”€โ”€ db.py                # Async engine & session factory
โ”‚   โ”‚   โ””โ”€โ”€ repository.py        # CaseRepository, ConsentRepository, AuditLogRepository
โ”‚   โ”œโ”€โ”€ integrations/            # Enterprise Google Cloud Service Clients
โ”‚   โ”‚   โ”œโ”€โ”€ pubsub.py            # Google Cloud Pub/Sub event bus
โ”‚   โ”‚   โ”œโ”€โ”€ document_ai.py       # Google Cloud Document AI forensic parser
โ”‚   โ”‚   โ””โ”€โ”€ bigquery_export.py   # BigQuery streaming export & audit journal
โ”‚   โ”œโ”€โ”€ cache/                   # Semantic intervention zero-token cache with hot-reload
โ”‚   โ”œโ”€โ”€ consortium/              # I4C NCRP salted Bloom filter registry
โ”‚   โ”œโ”€โ”€ engine/                  # Feature pipeline, risk scorer & payee memory
โ”‚   โ”œโ”€โ”€ schemas/                 # Transaction, DeviceSignals & Biometrics models
โ”‚   โ”œโ”€โ”€ security/                # Informed consent vault & PII tokenizer
โ”‚   โ””โ”€โ”€ main.py                  # Sleek application coordinator (75 lines)
โ”œโ”€โ”€ agents/                      # Google ADK Multi-Agent Hierarchy
โ”‚   โ”œโ”€โ”€ scam_shield.py           # Layer 2 Scam Shield orchestrator
โ”‚   โ”œโ”€โ”€ copilot.py               # Layer 3 Investigator Copilot & STR LoopAgent
โ”‚   โ”œโ”€โ”€ red_team.py              # Layer 4 Adversarial Red-Team & Closed-Loop Immune agent
โ”‚   โ”œโ”€โ”€ policy_agent.py          # Vertex AI Search / Discovery Engine policy retrieval
โ”‚   โ”œโ”€โ”€ intervention_agent.py    # Multilingual friction dialogs (EN, HI, MR)
โ”‚   โ””โ”€โ”€ tools/                   # Multi-Hop Mule Graph & Doc AI Tools
โ”œโ”€โ”€ simulator/
โ”‚   โ””โ”€โ”€ generator.py             # UPI & APP scam scenario simulator
โ”œโ”€โ”€ eval/
โ”‚   โ””โ”€โ”€ benchmark.py             # 180-scenario golden evaluation benchmark
โ”œโ”€โ”€ infra/
โ”‚   โ”œโ”€โ”€ bigquery_schema.sql      # BigQuery DDL for fraud lake & mule graph
โ”‚   โ”œโ”€โ”€ Dockerfile               # Container packaging for Cloud Run
โ”‚   โ””โ”€โ”€ cloudbuild.yaml          # Google Cloud Build deployment pipeline
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ comprehensive_e2e_test.py# 7-phase full Playwright E2E UI verification suite
โ”‚   โ””โ”€โ”€ record_showcase_mp4.py   # Automated Playwright HD showcase recorder
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ test_*.py                # 41 fast unit and integration tests (~20s execution)
โ”‚   โ”œโ”€โ”€ test_institutional_features.py # Tests for biometrics, immune patching, ISO 20022 & FINnet
โ”‚   โ”œโ”€โ”€ test_gcp_integrations.py # Google Cloud service integration verification suite
โ”‚   โ””โ”€โ”€ e2e/
โ”‚       โ””โ”€โ”€ ui_e2e_test.py       # 10-step Playwright browser verification suite
โ”œโ”€โ”€ web/                         # React + Vite split-screen SOC command console
โ”‚   โ””โ”€โ”€ src/
โ”‚       โ”œโ”€โ”€ utils/
โ”‚       โ”‚   โ””โ”€โ”€ voiceSynthesis.js# Web Speech API multilingual warning narrator
โ”‚       โ””โ”€โ”€ components/
โ”‚           โ”œโ”€โ”€ AlertStream.jsx      # Live real-time incoming transaction feed
โ”‚           โ”œโ”€โ”€ CaseDossierModal.jsx # AML dossier modal, FINnet XML & ISO 20022 recall
โ”‚           โ”œโ”€โ”€ CaseListView.jsx     # Active cases queue & freeze controls
โ”‚           โ”œโ”€โ”€ ConsentAuditModal.jsx# Informed Consent Vault modal
โ”‚           โ”œโ”€โ”€ MuleGraphViewer.jsx  # Multi-hop D3/SVG fraud ring visualizer (circular detection)
โ”‚           โ”œโ”€โ”€ Navbar.jsx           # Scenario selection & system telemetry
โ”‚           โ”œโ”€โ”€ PhoneSimulator.jsx   # Live UPI app, biometrics, call sever & voice alerts
โ”‚           โ”œโ”€โ”€ RedTeamArena.jsx     # Adversarial attack lab & closed-loop immune patches
โ”‚           โ””โ”€โ”€ RoiDashboard.jsx     # Executive ROI & Latency savings dashboard
โ”œโ”€โ”€ requirements.txt             # Pinned Python dependencies
โ””โ”€โ”€ .gitignore                   # Enterprise ignore rules

๐Ÿš€ Quickstart & Demonstration

1. Start the Backend API (FastAPI)

# From workspace root
python -m uvicorn backend.main:app --port 8000
  • Interactive API Docs: http://localhost:8000/docs
  • Health Check: http://localhost:8000/api/v1/health
  • Real-Time SSE Stream: http://localhost:8000/api/v1/stream

2. Start the Frontend (React + Vite)

cd web
npm.cmd run dev
  • Open http://localhost:5173 in your browser.

๐Ÿงช Testing & Validation

# 1. Run unit & integration test suite (all 41 tests in ~20-30 seconds)
python -m pytest tests/ -v

# 2. Run institutional features test suite specifically
python -m pytest tests/test_institutional_features.py -v

# 3. Run golden evaluation benchmark (180 scenarios)
python -m eval.benchmark

# 4. Run full Playwright browser comprehensive UI E2E test
python scripts/comprehensive_e2e_test.py

# 5. Re-record high-definition MP4 showcase video
python scripts/record_showcase_mp4.py

Golden Benchmark Results:

  • Total Scenarios Evaluated: 180
  • Scam Detection Recall: 100.0%
  • Scam Detection Precision: 100.0%
  • False Positive Friction Rate: 0.0% on legitimate traffic
  • Layer 1 p95 Latency: 0.10 ms (SLA: < 15 ms)
  • Layer 2 Decision Latency: 0.11 ms
  • Regulatory Citation Grounding: 100.0% (RBI Master Directions / FIU-IND)

๐Ÿ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Copyright ยฉ 2026 Nizaal Khot and Drishti Contributors.

About

๐Ÿ›ก๏ธ Real-time Agentic Scam & Fraud Intelligence for Banks - Intercepting APP fraud (Digital Arrest, KYC APK, Mule Rings) using Google ADK multi-agent architecture.

github.com/nizaalkhot/Drishti

Topics

agentic-aiapp-fraudbanking-securityfastapifiu-indfraud-detectiongoogle-adkmule-detectionreactupi-fraud

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.