The Problem We Aim to Solve

Phishing links arrive daily via emails, SMS messages, QR codes, and social media chats. Many people only realize a link is dangerous after opening it or typing credentials into a fake login page.

PhishGuard gives users a safe place to inspect a suspicious URL's structure, understand why a link looks risky in plain language, and learn everyday habits that reduce phishing risk.

How the Current Detector Works

The current version uses a configurable rule-based heuristic engine written in Node.js—not machine learning. It parses submitted URLs strictly as strings and never visits, fetches, or follows redirects on target websites.

Each triggered rule (such as an IP address host, @ masking, excessive subdomains, lookalike domain patterns, or risky feature combinations) contributes a documented weight toward a 0–100 heuristic score.

Implemented Today (v1)

Current Features

  • Responsive multi-page frontend built with HTML5, CSS3, and Vanilla JavaScript.
  • REST API powered by Node.js and Express with rate limiting and security headers.
  • Local SQLite persistence for scan history and phishing reports using parameterized queries.
  • Explainable rule-based URL inspection with SSRF-safe non-fetching architecture.
  • 10 beginner-friendly cybersecurity guides and a local report review queue.
Planned Next (Stage 4)

Future Machine Learning Plan

  • Curate and document a legally usable, deduplicated labelled phishing URL dataset.
  • Extract non-visiting lexical URL features and prevent train/test data leakage.
  • Train and evaluate a baseline scikit-learn classifier (precision, recall, F1, false-positive rate).
  • Serve predictions from a separate Python FastAPI service while keeping rule-based detection as a fallback.
  • Clearly display whether each result came from the ML model or the heuristic engine.

Current Limitations

  • No ML or page-content inspection yet: Clean-looking URLs hosted on compromised legitimate sites may score as Likely Safe.
  • No live external reputation feeds: PhishGuard does not query paid threat intelligence APIs or follow URL shortener redirects.
  • Single-user local development mode: Scan history and reports are not protected by user authentication yet; user accounts must be added before public hosting.

Responsible Use

PhishGuard is built strictly for defensive awareness, education, and personal link verification. Do not rely on automated risk scores as a guarantee of safety, and never interact with suspected phishing sites using real credentials.

Reminder: Automated risk assessments assist your judgement — when in doubt, navigate directly to official websites using saved bookmarks.