r/coolgithubprojects • u/2cfly • 13d ago
I built a local tool that shows what your files give away before you send them: GPS, device serials, hidden drafts, failed redactions, printer dots
Every photo, PDF and Office doc carries more than what's on screen. That can mean GPS coordinates, camera serial numbers, your username, earlier drafts, deleted text, comments, and even tracking info that identifies whose copy leaked.
This keeps catching people:
2012: McAfee was located through GPS EXIF data in a photo a journalist posted
2017: An NSA leaker was identified from the printer tracking dots on a scanned document
2019: Manafort's lawyers filed a "redacted" PDF where the black boxes sat on top of text that was still there
Good tools already exist (ExifTool, mat2, Dangerzone), but each does one job and none of them explains the risk. So I built unredact.tools. It answers one question: if I send this, what does the person receiving it learn about me?
scan gives you a plain-English report sorted into WHERE / WHO / DEVICE / WHEN / SOFTWARE / ORG / HIDDEN / TRACKING:
$ unredact scan vacation.jpg
WHERE GPS 41.0975, -80.6534 → maps link
DEVICE iPhone 15 Pro · serial F2LXK9ABC123
HIDDEN thumbnail of the uncropped original
sanitize rebuilds a clean copy from the visible content only, then re-scans it to prove nothing survived:
$ unredact sanitize memo.docx
leaks: 39 before -> 0 after
100% local. Nothing gets uploaded anywhere.
Handles images (including HEIC), PDF, Office files, audio/video and text.
Optional visual checks: OCR, QR codes and barcodes, license plates, faces, reversible pixelation, printer dots.
Optional AI scene review through a local Ollama model, for reflections, landmarks and regional clues.
It's open source, Python 3.10+: https://github.com/NPCmillionaire/unredact.tools
I'd really like you to try to break it. If you have a file you think leaks something it doesn't catch, tell me and I'll add the check.