posted in Selfhosted

Phishing / spam detection with local LLMs?

I’ve tried giving screenshots of phishing emails to a local Qwen instance and so far it always correctly detected it as scam, even points out the exact elements that it based its judgement on. Sending screenshots to it ad-hoc isn’t too scalable for family and friends. I’d like to be able to either forward emails for screening, or perhaps have it screen everything from a mailbox.

Has anyone done anything like this? Is there anything self-hostable that does this?

Replying to @⁨hendrik@palaver.p3x.de⁩

@hendrik Fair, the header is the model's own account of the verdict, written after the fact, not a trace of how it got there. Still worth keeping for the mismatches. If it flags a plain newsletter and the reason says urgent payment request, that's a prompt bug you can go fix. Same mail through two models, diff the headers.

en