Skip to content

kishorekrrish3/SentinelAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ SentinelAI

AI-Powered Social Engineering & Phishing Detection Platform

A multi-modal AI security system and browser extension that detects phishing, spam, and social engineering attacks in real time. Combining NLP, heuristic intelligence, adaptive learning, and threat visualization to protect users across the web.


React TypeScript Vite Chrome Extension TailwindCSS MIT License


๐Ÿ“– What is SentinelAI?

SentinelAI is an AI-powered cybersecurity platform and browser extension built to combat modern phishing, spam, and social engineering attacks.

As attackers increasingly leverage AI-generated scams, traditional spam filters struggle to keep up. SentinelAI addresses this challenge by combining natural language analysis, URL heuristics, behavioral signals, and adaptive learning to identify malicious activity before it harms the user.

When a user visits a webpage or receives suspicious content:

  1. The browser extension analyzes page content, links, and forms.
  2. The AI threat engine evaluates phishing patterns, spoofed domains, and suspicious language.
  3. A risk score with confidence metrics is generated.
  4. The system provides real-time warnings and educational feedback.
  5. Insights can be visualized in the SentinelAI dashboard website.

This hybrid system combines browser-level protection with centralized analytics dashboards, making it suitable for both individual users and enterprise security teams.


โœจ Features

Feature Description
๐Ÿง  AI-Driven Threat Detection NLP analysis of phishing phrases, urgency cues, and authority patterns
๐Ÿ”— URL & Domain Spoof Detection Detects suspicious TLDs, IP-based URLs, and spoofed domains
๐Ÿ–ผ Image Spoof Detection (Planned) Detect fake logos and deceptive images
๐Ÿ“Š Risk Scoring Engine Calculates threat scores with confidence metrics
๐Ÿงฌ Federated Learning Simulation Adaptive threat detection using anonymized insights
๐ŸŽฏ Predictive GAN Simulations Generates synthetic phishing attacks for defense testing
๐Ÿ“‰ Security Dashboards Visualize threats and detection insights
๐ŸŽ“ User Awareness Training Gamified modules to educate users about phishing
๐Ÿข Enterprise Integrations APIs, compliance reporting, and policy enforcement

๐Ÿ—๏ธ System Architecture

Security Detection Pipeline

graph TD
    A[๐ŸŒ User Browsing Website] --> B[Browser Extension Content Script]
    B --> C[Data Extraction]
    C --> D[AI Threat Detection Engine]

    D --> E[Text Analysis - NLP]
    D --> F[URL & Domain Heuristics]
    D --> G[Form & Metadata Inspection]
    D --> H[Image Analysis]

    E --> I[Threat Scoring Engine]
    F --> I
    G --> I
    H --> I

    I --> J[Risk Score + Confidence]
    J --> K[User Warning / Notification]

    I --> L[SentinelAI Dashboard]
Loading

Platform Architecture

SentinelAI consists of three major components:

1๏ธโƒฃ Browser Extension (Core Security Layer)

  • Content scripts monitor web page content.
  • Background service worker processes detection requests.
  • Local AI engine evaluates phishing threats.
  • Chrome APIs handle notifications and browser interaction.

2๏ธโƒฃ SentinelAI Website

Provides:

  • Security dashboards
  • Threat analytics
  • Documentation
  • Enterprise integration modules

3๏ธโƒฃ AI Threat Engine

Responsible for:

  • NLP phishing detection
  • Domain spoofing detection
  • Suspicious form analysis
  • Risk scoring and confidence calculation

๐Ÿ› ๏ธ Technology Stack

๐ŸŒ Website (Frontend)

Component Technology
Framework React
Language TypeScript
Build Tool Vite
UI Components shadcn-ui
Styling Tailwind CSS

๐Ÿงฉ Browser Extension

Component Technology
Extension Framework Chrome Manifest V3
Language JavaScript (ES6+)
Browser APIs Chrome Tabs, Runtime, Storage, Notifications
Threat Detection Engine Custom heuristic NLP logic
Data Storage JSON threat patterns
Future Integration TensorFlow.js for image analysis

๐Ÿ“‚ Project Structure

SentinelAI/
โ”‚
โ”œโ”€โ”€ extension/                    # Chrome Extension (Manifest V3)
โ”‚
โ”‚   โ”œโ”€โ”€ background/
โ”‚   โ”‚   โ””โ”€โ”€ service-worker.js     # Background script for detection logic
โ”‚
โ”‚   โ”œโ”€โ”€ content/
โ”‚   โ”‚   โ””โ”€โ”€ content.js            # Injected scripts analyzing page content
โ”‚
โ”‚   โ”œโ”€โ”€ popup/
โ”‚   โ”‚   โ”œโ”€โ”€ popup.html
โ”‚   โ”‚   โ”œโ”€โ”€ popup.css
โ”‚   โ”‚   โ””โ”€โ”€ popup.js              # Popup interface logic
โ”‚
โ”‚   โ”œโ”€โ”€ lib/
โ”‚   โ”‚   โ”œโ”€โ”€ ai-engine.js          # AI threat detection engine
โ”‚   โ”‚   โ””โ”€โ”€ utils.js              # Utility helpers
โ”‚
โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ icons/
โ”‚   โ”‚   โ””โ”€โ”€ models/
โ”‚   โ”‚       โ”œโ”€โ”€ threat-patterns.json
โ”‚   โ”‚       โ”œโ”€โ”€ logo-database.json
โ”‚   โ”‚       โ””โ”€โ”€ blacklist.json
โ”‚
โ”‚   โ”œโ”€โ”€ styles/
โ”‚   โ”‚   โ””โ”€โ”€ content.css
โ”‚
โ”‚
โ”œโ”€โ”€ website/                      # React + Vite dashboard
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ pages/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ tailwind.config.js
โ”‚
โ””โ”€โ”€ README.md

๐Ÿš€ Installation & Setup

Prerequisites

  • Node.js 18+
  • Chrome Browser
  • npm or yarn

1๏ธโƒฃ Clone the Repository

git clone https://github.com/kishorekrrish3/SentinelAI-Phishing-and-Social-Engineering-Detection-Engine-and-Extension.git
cd SentinelAI-Phishing-and-Social-Engineering-Detection-Engine-and-Extension

2๏ธโƒฃ Install Dependencies

npm install

3๏ธโƒฃ Run the Website

npm run dev

The dashboard will be available at:

http://localhost:5173

๐Ÿ”Œ Installing the Browser Extension

  1. Open Chrome and navigate to:
chrome://extensions/
  1. Enable Developer Mode.

  2. Click Load unpacked.

  3. Select the extension/ folder.

The SentinelAI extension will now be active.


๐ŸŒ Usage

Once installed:

1๏ธโƒฃ Browse any website normally.

2๏ธโƒฃ SentinelAI analyzes:

  • page content
  • links
  • forms
  • domain metadata

3๏ธโƒฃ If a threat is detected, the extension provides:

  • โš ๏ธ Warning alerts
  • ๐Ÿ“Š Risk score
  • ๐Ÿ“‹ Threat breakdown

4๏ธโƒฃ View analytics in the SentinelAI Dashboard.


โš™๏ธ Configuration

Setting File Description
Threat Patterns threat-patterns.json NLP phishing indicators
Domain Blacklist blacklist.json Known malicious domains
Logo Detection DB logo-database.json Brand logo spoof detection
AI Engine Logic ai-engine.js Risk scoring and detection

๐Ÿ› Known Issues & Troubleshooting

Extension not detecting threats

Ensure:

  • The extension is enabled in chrome://extensions
  • The page allows content scripts to run

Dashboard not loading

Verify the Vite server started successfully:

http://localhost:5173

Restart the development server if needed.


๐Ÿ”ฎ Future Improvements

  • ๐Ÿง  Deep learning phishing detection models
  • ๐Ÿ–ผ TensorFlow.js image spoof detection
  • ๐Ÿ”— Real-time threat intelligence feeds
  • ๐Ÿ“Š Enterprise SOC dashboards
  • ๐Ÿ›ก Cross-browser extension support
  • ๐Ÿ” Large-scale phishing dataset training

๐Ÿค Contributing

We welcome contributions from the community.

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

Please follow project coding guidelines and check existing issues before submitting.


๐Ÿ“œ License

This project is licensed under the MIT License.



Defending the internet from AI-powered scams with AI itself.



SentinelAI โ€” intelligent security for the modern web.

About

An AI-powered security platform & browser extension that detects phishing, spam, and social engineering attacks in real time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors