Skip to content

A modern Chrome extension that uses multi-layer detection (heuristics, optional ML, and API checks) to help identify potential phishing websites and keep users informed while browsing. The included dashboard provides a polished view of detections, stats, and settings.

License

Notifications You must be signed in to change notification settings

Mandar123454/Custom-Phishing-Detection-Chrome-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Advanced Phishing Detection Chrome Extension

License: MIT Manifest Language Status PRs Welcome Browser Security Policy Cybersecurity Ethical Hacking Code of Conduct Deploy

A modern Chrome extension that uses multi-layer detection (heuristics, optional ML, and API checks) to help identify potential phishing websites and keep users informed while browsing. The included dashboard provides a polished view of detections, stats, and settings.

Live Demo

Dashboard (static demo for UI): https://customphishingdetection.netlify.app/dashboard.html

What’s inside

Core detection

  • URL analysis (domain, subdomains, TLD, structure, IP-in-URL, entropy)
  • Content analysis (forms, password fields, hidden elements, suspicious text)
  • SSL indicators (HTTPS presence, simulated certificate checks)
  • Optional reputation lookups (Google Safe Browsing, VirusTotal, PhishTank)
  • Domain whitelist (skip trusted domains)
  • Real-time analysis on page load

Dashboard (reflects working UI)

  1. Heading
    • Centered title “Phishing Detection Dashboard” with animated shield icon
  2. Analysis metrics
    • Safe URLs, Suspicious URLs, Phishing Attempts, Detection Rate
  3. Detection Summary
    • Visual distribution bars and legend for Safe / Suspicious / Dangerous
  4. URL Check
    • Robust input handling for any URL length (e.g., https://www.instagram.com/)
    • Validates and displays long URLs smartly: full value is assessed; display is truncated for readability
  5. Recent Detections
    • List/table with score, timestamp, and status chips
  6. API Configuration
    • Buttons/flows for configuring and testing integrations
  7. Threat Intelligence
    • Geographic Insights, Target Analysis, AI Defense Performance (live-style metrics)

Note: The demo shows the final UI/UX. Some detection pipelines use simulated data unless API keys are provided (see Settings > API Integration).

Screenshots

Dashboard main views

Example 1 Example 2 Example 3 Time Range

Extension popup

Pop up Recent Scan in Pop up

Extension icon

Extension

Install (Load Unpacked)

  1. Clone or download this repository
  2. Open Chrome and go to chrome://extensions
  3. Enable “Developer mode”
  4. Click “Load unpacked” and select the project folder
  5. Pin the extension and open a webpage to see scanning in action

Permissions rationale

  • activeTab, scripting, webNavigation: run analysis at page load and exchange messages between scripts
  • storage: persist settings, history, whitelist, and API configuration
  • host_permissions: currently set to <all_urls> for demo coverage; narrow as needed for your deployment

Configuration

  • Open the extension’s Options (Settings) page
  • Enter API keys if you want real reputation checks (Google Safe Browsing, VirusTotal, PhishTank)
  • Toggle “Use enhanced detection” to enable the ML + API pipeline
  • Manage your trusted domains whitelist

How it works (high level)

  • content.js gathers page signals and triggers analysis
  • background.js orchestrates basic heuristics and, when enabled, enhanced_detection.js
  • enhanced_detection.js combines features (feature_extractor.js), optional ML scoring (ml_model.js), and API lookups (api_integration.js)
  • popup shows the current page score; dashboard provides a full, visual overview

Development

  • Manifest v3, JS modules, no bundler required
  • Key files:
    • background.js, content.js, popup.{html,css,js}
    • dashboard.{html,css,js}
    • enhanced_detection.js, feature_extractor.js, ml_model.js, api_integration.js
  • Demo uses simulated ML/API values unless keys are set; logic is structured for easy real-service wiring

Contributing

Contributions are welcome! Please see CONTRIBUTING.md and our CODE_OF_CONDUCT.md.

Security policy

If you discover a security issue, please follow our SECURITY.md to report it responsibly.

License and notices

Licensed under MIT. See LICENSE. Attributions and third‑party notices are listed in NOTICE.md.

Disclaimer

This project is for educational and research purposes. While it attempts to detect phishing websites, it cannot guarantee 100% accuracy. Exercise caution when entering sensitive information online.

About

A modern Chrome extension that uses multi-layer detection (heuristics, optional ML, and API checks) to help identify potential phishing websites and keep users informed while browsing. The included dashboard provides a polished view of detections, stats, and settings.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published