Catching prompt injections hidden in PDFs
A Lobsters-linked post describes an internal tool that parses PDFs of financial data such as SEC filings and account statements, and the author's effort to define QA for AI applications around it. After asking about prompt injection, the author built a Markdown-to-PDF generator and hid a second earnings number in white text on white, which the system accepted. The post then outlines a set of single-purpose "judges" that check documents for hidden content.
The post shows that PDFs parsed by agents can carry hidden instructions or numbers, and that layered single-purpose checks are one approach to catching them.


