HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PDF Prompt Injection Toolkit – Hidden LLM Payloads in PDFs(github.com)

2 points·by huize·4 maanden geleden·1 comments
github.com
PDF Prompt Injection Toolkit – Hidden LLM Payloads in PDFs

https://github.com/zhihuiyuze/PDF-Prompt-Injection-Toolkit

3 comments

InitialPhase55·4 maanden geleden
I think the easiest solution to prevent such injections is just to render PDFs by page into images, and feed the images into whatever downstream task. I believe this is enough to prevent the attacks techniques listed in the repo :)
KalskiTheDan·4 maanden geleden
huize·4 maanden geleden