Detecting Hidden Prompt Injection in PDFs Across ATS-Style Screening Pipelines

As large language models (LLMs) increasingly become more integrated into everyday workflows, they are also increasingly being used to help resume reviewers screen documents and support decision making ((Vaishampayan et al., 2025). This project starts with a question of whether PDFs with hidden and embedded prompt injections can manipulate an LLM-based screener, and whether classic structural PDF parsing scripts, a custom rule-based heuristic scanner, and PhantomLint, can catch the hidden payload before it reaches the end of the automated screening pipeline. It begins by creating a 99-file corpus, which is then run through all four detectors, three different PDF extractors (pypdf, pdfplumber, and PyMuPDF), then finally through locally hosted llama3.1:8b resume-screening pipeline that is used to determine the contents of a document. At the end, for the exact same hiding techniques, the attack success rate (ASR) swung from 100% to 0% depending purely on which PDF extractor the screener used. Classic structural tools caught none of the 78 hidden-attack files. The custom rule-based heuristic scanner achieved the highest overall recall of 87.2% at 100% precision, outperforming PhantomLint in both passthrough (80.8%) and NLP (67.9%) modes by inspecting PDF metadata and annotations. In contrast, the heuristic's own weak point was off-page text, a gap traced to a PyMuPDF behavior that also explains part of the extractor-dependent attack success results.

Authors

Institutions

Publication Details

Journal
Old Dominion University
Published
2026-12-01
DOI
https://doi.org/10.25776/32be-dj14
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Detecting Hidden Prompt Injection in PDFs Across ATS-Style Screening Pipelines

Jerome Dizon
Old Dominion University
Adversarial Robustness in Machine Learning
article

Detecting Hidden Prompt Injection in PDFs Across ATS-Style Screening Pipelines

Jerome Dizon
article en

Abstract

As large language models (LLMs) increasingly become more integrated into everyday workflows, they are also increasingly being used to help resume reviewers screen documents and support decision making ((Vaishampayan et al., 2025). This project starts with a question of whether PDFs with hidden and embedded prompt injections can manipulate an LLM-based screener, and whether classic structural PDF parsing scripts, a custom rule-based heuristic scanner, and PhantomLint, can catch the hidden payload before it reaches the end of the automated screening pipeline. It begins by creating a 99-file corpus, which is then run through all four detectors, three different PDF extractors (pypdf, pdfplumber, and PyMuPDF), then finally through locally hosted llama3.1:8b resume-screening pipeline that is used to determine the contents of a document. At the end, for the exact same hiding techniques, the attack success rate (ASR) swung from 100% to 0% depending purely on which PDF extractor the screener used. Classic structural tools caught none of the 78 hidden-attack files. The custom rule-based heuristic scanner achieved the highest overall recall of 87.2% at 100% precision, outperforming PhantomLint in both passthrough (80.8%) and NLP (67.9%) modes by inspecting PDF metadata and annotations. In contrast, the heuristic's own weak point was off-page text, a gap traced to a PyMuPDF behavior that also explains part of the extractor-dependent attack success results.

Old Dominion University
Christopher Newport University (US)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Detecting Hidden Prompt Injection in PDFs Across ATS-Style Screening Pipelines — Jerome Dizon · Old Dominion University (2026) | TGRS Research Map | TGRS