
A redacted PDF is a file someone has drawn black boxes on and sent out. The text under the boxes can still be in the file, and looking at the page will not show it.
On 8 January 2019, Paul Manafort’s lawyers filed a brief with black boxes over several paragraphs. Reporters selected the boxed text, pasted it into a text editor, and read it. On 29 January 2021 the European Commission published its redacted AstraZeneca vaccine contract; the page text was blacked out, but the PDF’s bookmarks still held the first line of every clause, price included.
Those cases were published. Three we have seen ourselves:
- Our observation: a claim file was emailed to the other side with the redacted text still in it.
- Our observation: a tender went out with a competitor’s rate still in the text.
- Our observation: a staff file was sent to a regulator with the whited-out salary still there for search to find.
Why it happens
A PDF page is a list of drawing instructions, run in order. “Draw this text. Now draw a black rectangle here.” The rectangle is drawn last, so it is what you see. The text instruction before it is still in the file.
Our observation: redaction fails in these six ways, and every one looks right on screen:
- The redaction was marked in the viewer but never applied.
- A solid box was drawn over the text.
- An image was pasted over the text.
- A white box was drawn and new text typed on top. Both texts are in the file.
- Pen strokes were scribbled over the text.
- The text was removed from the page but not from the document’s metadata (the information a file carries besides its pages).
Our argument: a person checking by eye checks the picture, and all six pass that check.
Free Law Project’s x-ray finds one of the six, a solid box drawn over text. The other kinds have no everyday tool.
The published survey of how many redactions leak is Bland, Mishra and Levchenko, “Story Beyond the Eye: Glyph Positions Break PDF Text Redaction”, PoPETs 2023. It also shows a further failure: even when the text is removed correctly, the positions of the letters that remain can give away the removed word.
peter@docs2info.com