Re:X-ray: a Python library for finding bad redactions in PDF...
by vlovich123 on Tuesday December 23, 2025 @08:03PM
(#46371314)
Yeah, the more robust protection is to widen to a constant. But in the general case that could require reflowing the pdf. But honestly single word redactions are really probably useless with cheap AI that can highly accurately fill in the gaps
Re:X-ray: a Python library for finding bad redactions in PDF...
by rgmerk on Tuesday December 23, 2025 @08:29PM
(#46371481)
Depends what you're trying to hide.
If the redaction is a person's name, and there's nothing else to give the person's identity away, single word redaction probably works reasonably well, AI or no AI.
Re:X-ray: a Python library for finding bad redactions in PDF...
by godelski on Tuesday December 23, 2025 @10:22PM
(#46372075)
> If the redaction is a person's name
I'm not sure if you're aware, but peoples names are variable in length. We are talking about a system that can identify single character differences. So that does reduce the search space, especially since names are not all possible letter permutations. Combine that with the fact that it isn't uncommon to see partial first letters show up. You can even see some instances in the Epstein files.Of course, you can also take this further. Even if you can't recover names you can get meta information about how many parties are involved by recognizing different length redactions correspond to different entities. While same length redaction doesn't guarantee same entity it is a hint.
Re:X-ray: a Python library for finding bad redactions in PDF...
by mycall on Tuesday December 23, 2025 @10:38PM
(#46372173)
It is also common for authors to misspell names (proper nouns) in an attempt to determine who leaks docs (and to force non-matches for FOIA requests).
Re:X-ray: a Python library for finding bad redactions in PDF...
by mhast on Wednesday December 24, 2025 @09:22AM
(#46375800)
If you want to fingerprint text you can also do it by small insignificant changes to text which doesn't change the meaning.
If you have a number such locations with alternatives then you can make a number of identifiable versions by combining alternates.
The linked article suggests widening redacted areas more than needed with some randomization applied to the width. Strikes me that that wouldn't do much except add a few more possible solutions.