Homoglyph attack bypasses email-agent keyword filters: one swapped letter defeats "ignore previous instructions" blocklist

Spacesh1psoda · reddit · 2026-11-17

A team running an email agent shares red-team results: their defense of blocking the phrase "ignore previous instructions" was defeated in minutes by swapping the Latin "o" for the visually identical Cyrillic "о" — the model reads it the same way, but the text filter no longer matches.

Other variants include invisible characters between letters and letters written as HTML entities; all read fine to the model while slipping past naive string matching. In their own testing, 3 of 4 filter changes that passed review were bypassed within minutes.

Practical takeaway: if you filter on phrases, normalize text first — map lookalike letters back to plain ones and strip invisible characters before checking.

Original post →

More from coding & agent

coding & agent channel →