Hacker GitHub

← All repos

freedomofpress/dangerzone

View on GitHub ↗ ★ 5,810 Python

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs

20 mentions on Hacker News by 20 people: 5 stories, 15 comments · first 2020-03-08 · latest 2026-04-04

Mentions per year 20 mentions · busiest year 2024 (5)
20082026
  1. Or, you know, instead of burning tokens/trees we could use a well established project instead ;) https://github.com/freedomofpress/dangerzone
    comment by me_jumper · 2026-04-04 · in Linux Running in a PDF (2025)
  2. …it possible to use dangerzone as a library, which should help use cases like the one you mention. ¹ https://github.com/freedomofpress/dangerzone/blob/main/dange...
  3. https://github.com/freedomofpress/dangerzone/blob/main/dange... How hard did you look the other times?
  4. Have you thought about some type of preprocessing to make the PDFs "simpler"? https://github.com/freedomofpress/dangerzone does something like that in its first stage.
  5. …but still not ideal. Seems that PyMuPDF is used with a fixed (single pathname) "/tmp/input_file" ? https://github.com/freedomofpress/dangerzone/blob/main/dange... Everything else is tossed through LibreOffice. Meanwhile what I'd prefer for…
  6. Related: https://dangerzone.rocks/ https://github.com/freedomofpress/dangerzone > Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs. From the learn more about page: > Dangerzone was inspired by…
  7. …reader, how about a PDF sanitizer? I've heard of Dangerzone [1][2], though I've never used it. [1] https://github.com/freedomofpress/dangerzone [2] https://dangerzone.rocks/
  8. …in order to know what the files do, but this repo references two files in a qubes directory: e.g. https://github.com/freedomofpress/dangerzone/blob/v0.6.0/qub...
  9. start here: https://github.com/freedomofpress/dangerzone i've never used it, but i've been meaning to check it out. at least it should give you a jumping off point for further investigation. if that is insufficient, use proofpoint. for…
  10. You can use something similar on macOS, Windows or Linux, based on Docker containers, see Dangerzone: https://github.com/freedomofpress/dangerzone
  11. …executable code hidden within is lost. For further security, all operations run sandboxed. https://github.com/freedomofpress/dangerzone
    comment by squarefoot · 2022-11-24 · in Freecomputerbooks.com
  12. …file before opening it to make sure it can't execute arbitrary code the moment I do? I found this: https://github.com/freedomofpress/dangerzone Is it any good?
    comment by unsupp0rted · 2022-07-07 · in A fake job offer took down Axie Infinity
  13. ….inventati.org/message/20200308.154747.1b4d1245... https://github.com/firstlookmedia/pdf-redact-tools https://github.com/firstlookmedia/dangerzone
    comment by pabs3 · 2021-04-01 · in Tracing Paper (2020)
  14. …could potentially be used to mitigate some of the techniques mentioned in the discussion. [0] https://github.com/firstlookmedia/dangerzone
  15. …pdf [0]. But I wish there were standardized docx/pptx/odf/odp with zero scripting capabilities. [0] https://github.com/firstlookmedia/dangerzone/blob/master/REA...
    comment by eyegor · 2020-04-01 · in Malware masked as textbooks and essays