Tamga blocks hidden prompt injections in tool results: 78/78 caught, 0/85 false positives on author's own set

tatar-sh · reddit · 2026-10-13

A demo shows an innocent-looking README hiding 'ignore your guidelines' in an HTML comment — a classic indirect prompt injection. The open-source tool Tamga scans tool results on the next request and blocks the attack with a 403 before the model reads it (or can just strip the result). On the author's self-made held-out set it caught 78/78 attacks with 0/85 false positives, though he cautions that only proves it fits his examples.

Original post →

More from coding & agent

coding & agent channel →