Prose in a PDF document property
A sentence typed into a PDF’s Title, Subject or Keywords, or into its XMP metadata, travels with the file and appears on no page.
How the text is hidden
A PDF keeps its properties in two places. The trailer’s /Info dictionary holds Title, Author, Subject, Keywords, Creator and Producer, and any key a producer invents — SharePoint writes a dozen. The catalog’s /Metadata stream is an XMP packet that repeats most of them as dc:title, dc:description and pdf:Keywords, and adds its own. Neither is painted on any page. A viewer shows them under Document Properties.
Why a model still reads it
pypdf’s metadata, PyMuPDF’s metadata and the LangChain PDF loaders hand the Info dictionary to a pipeline beside the page text. Until 0.349.0 nothing here read either place, so a sentence in Keywords produced no finding and appeared nowhere in the response, while the same sentence in a Word property had been disclosed since 0.199.0.
What we do about it
Every string in the Info dictionary is read, decoded as PDFDocEncoding, UTF-16BE or UTF-8 by its byte-order mark, and every value in the XMP packet: element text, CDATA, attribute values and comments, with character references decoded. A value is dropped only when its own shape proves it is machinery — a boolean, number, date, GUID, instance ID, hex literal, MIME type, one-word XMP enumeration such as saved, or a base64 thumbnail — never because of the field it sits in. Each distinct value is reported once, because XMP repeats the Info dictionary, and each on its own line after the last page. informational, action disclose, certifiable: nearly every PDF names the program that made it, so a property never moves the verdict on its own. An instruction in one still escalates through the shared instruction-shape matcher.
How often it fires
Not measured. We publish a rate only where one has been measured against a named corpus of the right format, and no figure exists for this technique yet. Absence means unknown — never low.
Check your own file
Three commands: a key, credit, a verdict.
Start with the API