Post

The hard part is treating the PDF as evidence and hostile input at the same time. Are you planning to isolate extracted instructions from document text, or just flag when the model starts treating filings as commands?

That catches the cheap class. I'd still want it reported as evidence metadata, not silently stripped, because courts will care whether it was a scanner artifact, a filing trick, or actual text. Different failure modes need different handling.