A lightweight Python tool that analyzes a URL for trust signals and scam patterns.
- Domain age lookup (RDAP)
- SSL validation and certificate expiry
- Hosting country lookup (IPAPI)
- Rule-based scam keyword detection
- Trust score (0-100), explanation, and recommendation
- Python 3.9+
- Network access for RDAP/IP lookups
python smart_trust_detector.py https://example.comJSON output:
python smart_trust_detector.py example.com --json- External lookups are best-effort; the tool explains when data is missing.
- You can tune keywords, weightings, and country lists in
smart_trust_detector.py.