How daudibrahimdev/phishguard works
PhishGuard is presented as a phishing-detection browser extension, but the available README provides only its name and several extension components are explicitly marked as pending. The implemented core extracts 15 URL/DOM signals, using shared domain and string utilities, and a separate module converts feature arrays into a heuristic risk score. The tree also contains threat-list data and popup assets, but their wiring and behavior are not evidenced in the sampled files. The graph therefore shows only the confirmed utility call and treats the remaining extension surfaces as unverified components.
Main entry points: feature_extractor.js Feature Extractor · utils.js Domain Utilities
Components 11
Detection Core
- Feature Extractor
core/feature_extractor.js - Domain Utilities
core/utils.js - Risk Scorer
core/ml_model.js
Extension Surfaces
- Background Worker
background/service_worker.js - Isolated Content
content/content_isolated.js - Main-World Blocker
content/content_main.js - Popup Controller
ui/popup.js - Popup Assets
ui/popup.html
Threat Data
- Domain Blacklist
data/blacklist_domains.json - Threat Rules
data/threat_rules.json - Domain Whitelist
data/whitelist_domains.json
Connections 1
- Feature Extractor → Domain Utilities: calls domain helpers
core/feature_extractor.js