A privacy-first security layer that reveals where a QR code really leads, resolves redirects, identifies threat signals, and explains risks in plain language before you open it.
cd backend
python -m venv venv
# On Windows (PowerShell):
.\venv\Scripts\Activate.ps1
# On macOS/Linux:
# source venv/bin/activate
pip install -r requirements.txtpython run.py- 🌐 Interactive Web Scanner: http://localhost:8000
- 📄 Interactive API Docs (Swagger UI): http://localhost:8000/docs
- 🩺 Health Check: http://localhost:8000/api/v1/health
pytest tests/ -v- Async Redirect Tracer: Follows up to 10 redirect hops, unpacks URL shorteners (bit.ly, tinyurl, qr.codes), and guards against SSRF (private IPs, loopback, link-local).
- Local Heuristic Detection:
- Brand Impersonation & Typosquatting: High-precision checks against major brands (PayPal, Google, HDFC, SBI, Microsoft, etc.).
- Payload Danger: Detects direct
.apk,.exe,.msi,.batdownloads. - Character Spoofing: Homoglyph & Cyrillic Punycode disguise detection.
- URL Obfuscation: Detects embedded credentials (
user:pass@domain) and suspicious TLD patterns.
- Live Threat Feeds: Real-time Abuse.ch URLhaus query + optional Google Safe Browsing v4 integration.
- Calibrated Verdicts: Uses honest security language ("No known threat found" vs "100% safe").
- Zero Infrastructure Cost: Runs locally on free tiers (Fly.io, Railway, Supabase).