Sharing this because it bites people who archive "clean" copies of contracts, receipts, and IDs. A PDF usually contains more data than its visible pages. Five things worth knowing, all checkable in about a minute with standard open-source CLIs:
Hidden text under black boxes. Most casual "redaction" is just a filled rectangle drawn on top — the original characters stay in the text layer. Check: select-all, copy, paste into a text editor. Or: pdftotext file.pdf - | grep "sensitive-string". If it prints, it was never removed.
Revision history from incremental saves. PDFs saved incrementally append new objects; older versions of pages can linger in the file until a full rewrite. One file can silently hold several generations of edits. qpdf --show-xref file.pdf tells you how many cross-reference sections exist; for uncompressed parts, strings + grep works directly.
Metadata. Author, producer string, creation timestamps, original file paths, and (if images are embedded) camera EXIF with GPS.…