How hindol-2007/phishing-url-checker works
Phishing URL Checker is a static, text-only URL classifier: it reads and deduplicates CSV records, applies five rules, scores each URL, and reports predictions. When valid labels are present, it also evaluates accuracy and error examples. URLs are never visited. The main workflow is visible in src/main.py; rule dispatch and scoring are shown in the sampled modules. The graph omits unverified relationships beyond those documented or excerpted.
Main entry points: main.py Main Runner · scoring.py Rule Scorer · urls.csv URL CSV · rules.py Five Text Rules
Components 11
Input Workflow
- URL CSV
data/urls.csv - CSV Loader
src/main.py - Main Runner
src/main.py
URL Detection
- Rule Scorer
src/scoring.py - Five Text Rules
src/rules.py
Reporting
- Prediction Summary
src/main.py - Label Evaluation
src/main.py - CSV Report Writer
src/main.py - Report CSV
reports/report.csv - Console Output
Other components
- User
Connections 12
- User → Main Runner: runs
- Main Runner → CSV Loader: calls
src/main.py - URL CSV → CSV Loader: reads
src/main.py - CSV Loader → Main Runner: returns records
src/main.py - Main Runner → Rule Scorer: scores URLs
src/main.py - Rule Scorer → Five Text Rules: calls checks
src/scoring.py - Main Runner → Prediction Summary: summarizes
src/main.py - Main Runner → CSV Report Writer: writes results
src/main.py - CSV Report Writer → Report CSV: writes CSV
src/main.py - Main Runner → Label Evaluation: evaluates labels
src/main.py - Main Runner → Console Output: prints output
src/main.py - Label Evaluation → Console Output: prints metrics
src/main.py