zhihuiyuze / PDF-Prompt-Injection-Toolkit
PublicA red team / blue team toolkit for testing and detecting prompt injection attacks hidden inside PDF documents. 一个用于测试和检测 PDF 文档中隐藏的提示词注入攻击的红蓝对抗工具包。
A security toolkit that lets users simulate hidden instruction attacks in PDFs and detect them to test AI document processing safety.
How It Works
You learn about sneaky hidden messages in PDFs that can trick AI systems processing resumes or documents.
You set up the simple toolkit on your computer so you can start checking PDFs right away.
You choose a regular PDF file, like a job resume, that you want to test for hidden tricks.
Pretend to be the bad guy and slip a secret instruction into the PDF without changing how it looks.
Act as the protector and carefully inspect the PDF for any sneaky hidden instructions.
With one easy command, you create a tricked-out PDF or get a full safety report showing risks and evidence.
You get a clear report with colors and scores telling you exactly what's hidden and how dangerous it is.
Now you understand PDF risks and can protect your AI tools from sneaky attacks or test them securely.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.