Written for the Kiroween 2026 hackathon.

Scam emails look real, and most tools just say "spam" without explaining why. So I built Ghost Mail: a scam checker with a 90s desktop look. You paste an email or text, and Boo the ghost says SAFE, SUSPICIOUS or POSSESSED, and explains every red flag, like lookalike domains (paypa1.com), failed SPF/DKIM/DMARC checks, or fake attachments (invoice.pdf.exe). Everything runs in your browser.

What Kiro changed for me

I built it spec-first. Before any code, I wrote requirements, a design and a list of tasks, and Kiro built from that plan. When a test failed, Kiro fixed the code to match the plan instead of changing the test.

Steering docs kept my security rules (like "never use innerHTML") active whenever Kiro wrote code, and hooks ran my tests every time I saved a file.

Property-based tests even caught a real bug: a Cyrillic "сhase.com" was slipping past my lookalike check.

What I learned

Testing with emails from my own spam folder taught me more than perfect samples. And writing the plan first made working with AI much more predictable.

🔮 Try it: https://peri2505.github.io/ghost-mail/
💻 Code: https://github.com/Peri2505/ghost-mail