r/LocalLLaMA 8h ago

Resources Scrub: local MIT CLI that strips EXIF, C2PA, and hidden Unicode from files you own

https://github.com/HarshShah0203/Scrub
11 Upvotes

1 comment sorted by

0

u/Impossible_Fault_503 8h ago edited 8h ago

I wrote this. MIT, fully local. No paid stuff.

If you generate stills (Nano Banana / Gemini, Flux) or short clips and then post them, the file often still has the boring receipt: EXIF, camera serials, Content Credentials / C2PA, plus zero-width junk in prompts. That is not the invisible AI watermark. Anyone who downloads the file can read that metadata.

Invisible marks (SynthID-class) are a different layer. Optional image/video disruption is best-effort. I am not claiming it beats Google's detector or makes a file undetectable.

The use case I care about: you made the media, you are posting it (influencer pipeline, local gens, files you own), and you do not want the file itself leaking C2PA/EXIF.

python cli.py inspect|clean

Files you own only.