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. ▲ 181
    Convert potentially dangerous PDFs to safe PDFs
    story by dp-hackernews · 2026-01-21 · 66 comments
  5. 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.
  6. …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…
  7. 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…
  8. …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/
  9. …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...
  10. ▲ 49
    Dangerzone: Convert PDFs, documents, or images to a safe PDF
    story by piccirello · 2024-03-28 · 6 comments
  11. 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…
  12. ▲ 7
    Dangerzone: Convert PDFs, documents, or images to a safe PDF
    story by marcodiego · 2023-07-11 · 0 comments
  13. ▲ 2
    Ask HN: Why not cloud instead of Qubes “trusted PDFs” or Dangerzone?
    story by rmbyrro · 2023-07-11 · 0 comments
  14. You can use something similar on macOS, Windows or Linux, based on Docker containers, see Dangerzone: https://github.com/freedomofpress/dangerzone
  15. …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
  16. …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
  17. ….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)
  18. …could potentially be used to mitigate some of the techniques mentioned in the discussion. [0] https://github.com/firstlookmedia/dangerzone
  19. …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
  20. ▲ 317
    Dangerzone: Convert potentially dangerous PDFs, documents, or images to safe PDF
    story by panarky · 2020-03-08 · 56 comments