惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
博客园 - 司徒正美
V
Visual Studio Blog
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
D
Docker
Vercel News
Vercel News
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
爱范儿
爱范儿
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why I Built an Offline Metadata Shredder That Doesn't Jus...
davvik · 2026-05-04 · via DEV Community

davvik

Hi everyone!

I wanted to share a small project I’ve been working on lately. The premise is simple: every time we share a photo or a document, we inadvertently leak a massive amount of personal data — from home GPS coordinates to camera serial numbers and even the edit history of a PDF.

Using "online privacy services" to clean your files always felt like a paradox to me (sending private data to a server to make it private?). So, I built my own tool that runs strictly locally. I call it DMS (Deceptive Metadata Shredder).

What it does
Beyond the standard "wipe everything" approach, I added a Spoofing Mode. Sometimes, having zero metadata looks suspicious or breaks the functionality of certain apps. Instead of just deleting, DMS replaces sensitive info with plausible "noise":

GPS: Injects random coordinates, but keeps them within the same country (so your photo doesn't suddenly appear to be taken in the middle of the ocean or Antarctica).

Hardware: You can pretend the photo was taken with a different camera or phone model.

Timestamps: Shifts the creation date/time if you don't want to reveal the exact moment a file was generated.

Under the hood
The project is built using Python 3.11 and leverages the power of ExifTool.
I implemented two ways to interact with it:

GUI (PySide6): Features a side-by-side "Before/After" comparison, drag-and-drop support, and a clean interface for desktop users.

CLI: For terminal enthusiasts or anyone looking to automate the process via scripts.

One of my favorite features is the "Watch Folder". You point the app to a specific directory, and any file you drop in there is automatically detected, cleaned (or spoofed), and moved to a "clean" folder. It’s a huge time-saver for batch processing.

The Battle with Antiviruses
The development process had its hurdles, specifically with Windows. Projects compiled with PyInstaller often trigger false positives in antivirus software. I had to spend some time "wizarding" with the packaging process to make VirusTotal turn green. Currently, it’s clean (save for a couple of false detections from obscure engines), so it’s safe to run on Windows without constant alerts.

Open Source
The project is completely open-source under the MIT License. If you're interested in privacy tools, Python, or just want to audit the code, feel free to check it out.

Source Code: github.com/davvikq/deceptive-metadata-shredder

I’d love to get some feedback! If you have ideas on which file formats I should add next (currently supports common images, PDFs, and Office docs), let me know in the comments.