r/computerforensics • • 35m ago

Testing PDF redaction failures and hidden data with seven synthetic documents

I've been investigating how sensitive information can survive PDF editing and redaction.

Using seven synthetic PDF samples and PyMuPDF, the experiment examined several different scenarios:

  • Black rectangles placed over sensitive text.
  • Applied redaction without metadata removal.
  • Hidden annotations and embedded attachments.
  • Metadata removal followed by incremental saving.

One particularly interesting result: an old author value was no longer visible in the document properties but remained in the underlying file bytes after an incremental save.

The investigation includes a reproducible laboratory, recorded results and a Python inspection tool that runs locally without uploading documents.

I published the findings on my Shadowbip newsletter. The introduction is free, while the complete laboratory and technical investigation are reserved for paid subscribers.

https://davidebtc186.substack.com/p/you-blacked-out-the-pdf-your-data

I'm interested in hearing how others validate PDF sanitization before distributing sensitive documents.

2 Upvotes

0 comments sorted by