Dev.to
6/17/2026

Developer builds Chrome phishing detector with Claude Haiku, hits 96% accuracy
Original: I built a phishing detector into Chrome using Claude AI. Here's exactly how.
Short summary
Developer built a Chrome extension that detects phishing emails using Claude Haiku via Cloudflare Worker, achieving 96% accuracy (48/50 correct) on real phishing attempts. The tutorial explains the architecture pattern, prompt engineering strategy, and why Haiku was chosen over Opus for this classification task. Full source code is available for download.
- •Chrome extension detects phishing with 96% accuracy using Claude Haiku API
- •Architecture uses extension → Cloudflare Worker → Claude API pattern
- •Practical tutorial with code examples and prompt engineering details
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



