Regex Scorer Flags Prompt Injection in Inbound Email Before the Agent Reads It

kumard3 · reddit · 2026-10-12

The author is building an email-replying agent that any stranger can email, so before the model reads a message a dumb regex scorer runs over it.

The author admits this misses reworded or non-English injections, and asks whether anyone has moved to a small classifier and whether the per-message latency was worth it.

Original post →

More from coding & agent

coding & agent channel →