A technical experiment with lossy WebP images has highlighted a potential weakness in a familiar redaction technique: painting a black rectangle over sensitive text may not remove every trace of what was underneath. The test found content-dependent differences outside the covered area, suggesting that people handling confidential screenshots or documents should avoid treating a visible box as proof that the underlying information cannot be inferred.

Software developer Thomas Karpiniec compared synthetic images containing different words, saved them using lossy compression and then covered the text. In a JPEG example, the surrounding artifacts varied according to the original word. The effect was constrained by JPEG's block structure, supporting the established precaution of extending a redaction by at least eight pixels beyond sensitive content in a non-progressive JPEG.

The lossy WebP test produced a more troubling pattern. Comparing otherwise similar images that originally contained “YES” or “NO” showed pixel differences extending across the image rather than remaining close to the text. Because the only meaningful input change was the hidden word, the result demonstrated that compression had allowed information associated with the source content to influence pixels far outside a narrow redaction box.

That does not establish a general method for reconstructing arbitrary covered text. Karpiniec explicitly stopped short of claiming that real-world recovery would be easy, and the demonstration used a controlled example where the possible inputs were already known. The practical warning is narrower: a redacted image can retain measurable signals linked to content that is no longer visibly present, so an attacker comparing candidates may have more information than the black box appears to reveal.

The distinction also matters because covering content and exporting the result as a lossless PNG does not necessarily solve the problem. If the starting image was already stored as a lossy WebP, its visible pixels can carry artifacts created when the sensitive content was still present. Painting over the central area later leaves those surrounding pixels intact.

For material that must be shared safely, the experiment's recommendation is to avoid using lossy WebP source images for redaction. A safer workflow is to begin with data that has not already spread content-dependent artifacts through lossy encoding, remove or replace the sensitive region, and verify the exported result. The findings are a focused demonstration rather than a full forensic study, but they show why visual inspection alone is an inadequate security check.