Skip to content

Latest commit

ย 

History

9 Commits

Folders and files

Repository files navigation

KAVACH Logo

๐Ÿ›ก๏ธ KAVACH

Digital Armour Against Modern Cyber Threats

Digital Armour Against Modern Cyber Threats

Next.js FastAPI Python SQLite Groq Status

๐Ÿš€ Overview

KAVACH (Digital Armour) is an AI-powered cybersecurity platform designed to detect, analyze, explain, and mitigate modern cyber threats in real time.

Unlike traditional security tools that only generate alerts, KAVACH provides explainable threat intelligence, personalized risk assessments, psychological vulnerability analysis, prompt injection detection, phishing analysis, steganography detection, deepfake detection, and incident management through a unified platform.

Built for organizations, security teams, and everyday users, KAVACH transforms complex cybersecurity threats into actionable insights.


๐ŸŒ Live Demo

๐Ÿ”— https://kavach-indianext-hackathon.vercel.app/


โœจ Key Features

๐ŸŽฃ Advanced Phishing Detection

  • 35-signal heuristic evaluation
  • Psychological manipulation detection
  • Sender reputation analysis

๐Ÿ”— Malicious URL Analysis

  • WHOIS intelligence
  • Levenshtein domain similarity detection
  • Brand impersonation detection
  • Suspicious domain scoring

๐Ÿ›ก๏ธ Prompt Injection Detection

  • 41 attack pattern signatures
  • Jailbreak detection
  • Prompt manipulation analysis

๐Ÿ” StegoScan Engine

  • LSB pixel analysis
  • Unicode zero-width character detection
  • Hidden payload discovery
  • EXIF metadata inspection

๐ŸŽญ Deepfake Detection

  • AI-generated media analysis
  • Image manipulation detection
  • Video authenticity verification
  • Content trust scoring

๐Ÿง  Explainable AI (XAI)

  • Human-readable threat explanations
  • Psychological vulnerability scoring
  • Consequence simulation
  • Executive-friendly reports

๐Ÿ“Š Incident Dashboard

  • Real-time monitoring
  • Historical threat records
  • Risk categorization
  • Threat analytics

๐ŸŒ ThreatPulse Intelligence

  • Security news aggregation
  • Community threat monitoring
  • Emerging attack trend analysis
  • Real-time cybersecurity updates

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           INPUT & FRONTEND               โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Web Dashboard                            โ”‚
โ”‚ Mail Scanner                             โ”‚
โ”‚ Chrome Extension                         โ”‚
โ”‚ ThreatPulse                              โ”‚
โ”‚ Deepfake Detector                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                    โ”‚
                    โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           ANALYSIS ENGINES               โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Phishing Engine                          โ”‚
โ”‚ URL Engine                               โ”‚
โ”‚ Injection Engine                         โ”‚
โ”‚ StegoScan                                โ”‚
โ”‚ Deepfake Engine                          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                    โ”‚
                    โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚             FUSION ENGINE                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Phishing Weight  : 45%                   โ”‚
โ”‚ URL Weight       : 35%                   โ”‚
โ”‚ Injection Weight : 20%                   โ”‚
โ”‚ Threshold        : 0.45                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                    โ”‚
                    โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚        INTELLIGENCE & OUTPUT             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ XAI Engine                               โ”‚
โ”‚ Safe Word Challenge                      โ”‚
โ”‚ Incident Dashboard                       โ”‚
โ”‚ ThreatPulse                              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ”„ System Workflow

  1. User submits content through dashboard, extension, scanner, or detector.
  2. Inputs are processed by specialized detection engines.
  3. Each engine produces an independent threat score.
  4. Fusion Engine combines results using weighted risk scoring.
  5. XAI Engine generates explanations and impact simulations.
  6. Safe Word Challenge is triggered for high-risk events.
  7. Incident Dashboard logs and visualizes findings.
  8. Threat intelligence is enriched through ThreatPulse.

๐Ÿง  Explainable AI Layer

KAVACH focuses on explainability rather than black-box decisions.

Generated outputs include:

  • Psychological Vulnerability Score
  • Consequence Simulator
  • Executive Summary
  • Threat Confidence Score
  • Recommended Actions
  • Detailed Threat Report

๐Ÿ” Safe Word Challenge

When risk score exceeds 0.70, KAVACH triggers a human verification mechanism.

Purpose:

  • Prevent social engineering attacks
  • Detect account compromise
  • Verify user authenticity
  • Reduce automated exploitation

๐Ÿ“ก ThreatPulse Intelligence

ThreatPulse continuously gathers intelligence from trusted cybersecurity sources:

  • Hacker News
  • Krebs on Security
  • BleepingComputer
  • Dark Reading
  • Security Week

This allows KAVACH to stay updated with emerging threats and attack patterns.


โš™๏ธ Tech Stack

Frontend

  • React
  • Vite
  • Tailwind CSS
  • Vercel

Backend

  • FastAPI
  • Python 3.11
  • SQLite

AI Models

  • Groq API

Deployment

  • Vercel
  • Hugging Face Spaces

๐Ÿš€ Getting Started

Clone Repository

git clone https://github.com/YOUR_USERNAME/kavach.git

cd kavach

Install Dependencies

npm install

Start Development Server

npm run dev

# or

yarn dev

# or

pnpm dev

# or

bun dev

๐Ÿ”ฎ Future Roadmap

  • Mobile Application
  • SOC Integration
  • SIEM Connectors
  • Threat Intelligence Sharing
  • Real-time Collaboration
  • Enterprise SSO
  • Automated Incident Response
  • Deepfake Voice Detection

๐Ÿค Contributing

Contributions, feature requests, and bug reports are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Submit a pull request

๐Ÿ‘ฅ Team โ€” Algorithm Avengers

Rudra Parmar
Rudra Parmar
Daksh Gopani
Daksh Gopani
Rishi Vejani
Rishi Vejani
Samyak Chheda
Samyak Chheda

Releases

Packages

Contributors

Languages