Chromium extension and Python API server for URL reputation checks, blacklist/whitelist validation and ML-based phishing detection. Fully self-hosted.
A two-part security tool: a Chromium extension intercepts every navigation event and POSTs the URL to a local Flask API before the page loads. The server checks the URL against configurable lists and an ML classifier, then returns a verdict.
The entire stack runs locally via Docker Compose - no external services, no telemetry. The extension communicates only with the self-hosted server, so no browsing data leaves the machine.
anti-phishing/ โโโ extension/ โ โโโ manifest.json # Manifest V3 โ โโโ background.js # Service worker, intercept logic โ โโโ content_script.js # Page-level indicator injection โ โโโ popup/ # Settings UI โโโ server/ โ โโโ app.py # Flask API โ โโโ classifier.py # ML model wrapper โ โโโ lists.py # Blacklist / whitelist manager โ โโโ model/ # Trained model files โ โโโ requirements.txt โโโ docker-compose.yml
# Start the API server docker compose up -d # Load the extension # Chrome โ Extensions โ Load unpacked โ /extension