this post was submitted on 29 Oct 2025
12 points (100.0% liked)

Privacy

4098 readers
27 users here now

Welcome! This is a community for all those who are interested in protecting their privacy.

Rules

PS: Don't be a smartass and try to game the system, we'll know if you're breaking the rules when we see it!

  1. Be civil and no prejudice
  2. Don't promote big-tech software
  3. No apathy and defeatism for privacy (i.e. "They already have my data, why bother?")
  4. No reposting of news that was already posted
  5. No crypto, blockchain, NFTs
  6. No Xitter links (if absolutely necessary, use xcancel)

Related communities:

Some of these are only vaguely related, but great communities.

founded 11 months ago
MODERATORS
 

Given that DangerZone can sanitise malicious PDFs—and even convert malicious, code‑embedded images into clean PDFs—but cannot produce a sanitized image file (e.g., a .png), are there any tools or alternatives that perform the same kind of aggressive, container‑isolated sanitisation yet output the resulting safe file directly as a regular .png instead of a PDF?

https://www.youtube.com/watch?v=yWgwm2IqMqU

PDFs account for 22% of malicious email attachments according to April 2025 Checkpoint data. Adobe Acrobat carries 91 documented vulnerabilities. Three days ago Matrix PDF toolkit hit cybercrime forums offering weaponized document generation that bypasses Gmail filters completely. Danger Zone converts hostile documents into safe PDFs through aggressive Docker isolation developed by Freedom of the Press Foundation. Edward Snowden and Laura Poitras sit on their board. The tool renders every page as raw RGB pixel data, destroying JavaScript exploits, embedded executables, tracking beacons, and macros before reconstructing clean compressed output. Optional OCR through PyMuPDF adds searchable text after sanitization completes.

Include Security ran a 12-day independent audit in December 2023 finding zero critical, high, or medium risk vulnerabilities. Processing happens in isolated containers with networking disabled and filesystems unmounted. Malicious code cannot reach your kernel, access files, or communicate with command and control infrastructure. QubesOS inspired the original First Look Media build. GPL v3 licensed, runs locally, costs nothing. Corporate IT blocks it because metadata destruction breaks their document surveillance. Government agencies lose tracking capability when embedded identifiers vanish. The feature that protects privacy threatens institutional control.

top 2 comments
sorted by: hot top controversial new old
[–] Wolf314159@startrek.website 1 points 1 day ago (1 children)

If it made a PDF with an image, it also made the plain image for which you're asking. The PDF in this case is basically a container for that image (along with all the text, formatting, fonts, etc.). There are numerous programs for extracting images from PDFs.

[–] FauxLiving@lemmy.world 2 points 1 day ago

To add to this, if OP needs a recommendation. Install ImageMagick (https://github.com/ImageMagick/ImageMagick). The command to extract a pdf to a png is:

convert input.pdf output.png