Skip to content
yeegzPublic

About

Rust privacy scrubber, CLI, and Tauri desktop app that removes hidden file metadata into verified safe copies with SHA-256 manifests.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Sendproof

See what your files reveal before you share them.

The Sendproof desktop app after checking photo_gps.jpg. The headline reads '1 thing needs your attention before you send' and the report shows the photo's exact GPS position, the place name Kuala Lumpur and the author's name, each marked as removed by a safe copy.

A photo can carry the exact spot where it was taken. A Word document can carry your name, your company, a reviewer's private comment and the sentence you deleted. A PDF can still contain the version you sent last week. A project folder can contain a key to your servers.

Sendproof checks files and folders for all of that, explains each finding in plain words, and makes clean copies in a separate folder. Your originals are never changed, nothing is uploaded, and nothing inside your files is ever run.

It comes as a desktop app, a command-line tool and a Rust library.

0.1.0 development preview. The Apple silicon build is available from source. Automated Windows and Linux jobs are configured. See platform support and the verification log for results.

What it finds

The synthetic photo in tests/fixtures/photo_gps.jpg carries a location, a name, a camera serial number and the phone, lens and apps that made it. Sendproof lists all 11 details:

The report continued: the author's name Ana Lima from EXIF and XMP, the camera serial number F2LXK1234567, the device Apple iPhone 15 Pro and its lens, each with what someone could learn and whether a safe copy removes it.

The safe copy has all 11 removed and nothing left, and it matches the fingerprint in its manifest:

Sendproof after making a safe copy: '1 file cleaned. 11 things were removed. Your originals were not changed.' The copy matches the fingerprints recorded when it was made, and the before-and-after list shows 11 details removed and nothing still in the copy.

What it checks

In Sendproof finds A safe copy
JPEG, PNG, WebP GPS position, place names, camera and phone model, serial numbers, owner and artist names, dates and time zone, editing software, hidden previews, XMP editing history, face tags, AI-generation prompts, data hidden after the image Removes all of it without re-encoding pixels. Keeps the rotation, so photos are not shown sideways, and the colour profile (unless the policy says otherwise).
HEIF/HEIC, TIFF/raw, GIF The same EXIF and XMP details Check only: explains how to export a clean copy instead
Word, Excel, PowerPoint Author, last editor, company, template path with your username, editing time, tracked changes (including the deleted text), comments and their authors, co-author accounts, hidden text, hidden sheets, speaker notes, links to files on your computer, sensitivity labels, macros, embedded files, the preview picture, and photos inside the document Resets properties, removes the preview, strips Word editing-session IDs, accepts tracked changes and deletes comments in Word, and cleans embedded photos. Hidden text, speaker notes, hidden sheets, links and Excel/PowerPoint comments are listed with the exact menu steps to remove them yourself.
LibreOffice (odt, ods, odp) Creator, editor, dates, editing cycles and time, printer name, comments, tracked changes, hidden text, macros, embedded pictures Resets properties, blanks the preview, removes printer names, cleans pictures
PDF Author and other document info, XMP, earlier versions left by incremental saves (and which values changed), comments with authors, attachments, forms, JavaScript, app-private data Rewrites the whole file from what is still in use, so earlier versions, info, XMP, comments and (in Strict) scripts are gone. Page content is not changed.
Zip archives Everything above for each file inside, plus unsafe paths ("zip slip"), links, password-protected entries, zip bombs, timestamps, comments Rebuilds the archive without unsafe, private or clutter entries; cleans each file; gives every entry the same neutral date
Text, code, config AWS, GitHub, GitLab, Slack, Stripe, Google, OpenAI, Anthropic, npm, PyPI, SendGrid and Twilio keys, private keys, database and web passwords, tokens, high-entropy password = … lines, payment card numbers (checksum-verified), email addresses Files with a password or key are left out of safe copies: removing a key does not un-leak it, so Sendproof tells you to revoke it
Folders .env files, SSH and TLS keys, password databases, shell history, Terraform state, Git/Mercurial/Subversion history, .DS_Store, Thumbs.db, Office lock files with your name, macOS ._ files Leaves them out
Your operating system The web address a file was downloaded from (macOS "Where from", Windows Zone.Identifier), download time, Finder tags and comments Safe copies never carry these

Every finding says what someone could learn, why it matters, and whether a safe copy removes it, you need to fix it, or the file is left out. Secrets are never shown in full, not even in reports.

"Nothing found" means none of Sendproof’s checks matched. Review the visible content yourself, including faces, street signs and names. See limitations for unsupported formats and findings that need manual cleanup.

Follow the photo walkthrough to try an actual inspection, cleaning and verification on synthetic files.

The desktop app

Drop files or folders on the window, or use Check files…. Sendproof lists the files with the most serious findings first and explains each one. Make safe copies… asks where to put them, writes them to a new dated folder next to a manifest, and shows what was removed and what is left for each file. Check copies are unchanged re-verifies the copies' SHA-256 fingerprints later.

Keyboard: ⌘O / Ctrl+O check files, ⇧⌘O check a folder, ⌘E make safe copies, ⌘S save report, ⌘N start over, Esc stops a check, arrow keys move through the file list. Text scales with ⌘+ / ⌘−.

The command line

sendproof inspect ~/Desktop/trip                     # explain what's in these files
sendproof inspect report.docx --explain              # with reasons and how to fix
sendproof inspect docs/ --format json > report.json  # for scripts
sendproof inspect handout.pdf --format html -o report.html
sendproof clean ~/Desktop/trip --out ~/Desktop/to-send
sendproof verify ~/Desktop/to-send/sendproof-manifest.json
sendproof policy strict > my-policy.toml             # start a custom policy
sendproof inspect docs/ --fail-on high               # exit 3 if anything serious (CI)

Exit codes: 0 done, 2 usage or input error, 3 --fail-on threshold reached, 4 some files failed to clean, 5 verification found changes, 130 cancelled.

The library

From a Rust application, replace the path below with the location of your Sendproof checkout.

[dependencies]
sendproof = { path = "../sendproof/crates/sendproof", default-features = false, features = ["images"] }
cargo run --locked -p sendproof --example clean_bytes -- \
  crates/sendproof/tests/fixtures/photo_gps.jpg /tmp/sendproof-cleaned.jpg

Pick only the formats you need with Cargo features (images, office, pdf, archives, secrets, parallel). Add your own formats with FormatHandler and your own detectors with ContentRule. See crates/sendproof/README.md.

Policies

Policy For
standard Everyday sharing. Removes location, names, device, dates, software, comments, history and hidden content; keeps rotation and colour; leaves out private files and files with keys; copies files it cannot clean unchanged, marked as such.
strict Higher stakes. Also removes colour profiles and scripts, and leaves out every file it cannot clean.
photos-location-only Prioritises removing photo location. Supported images lose metadata as a group, with orientation and colour preserved where supported.

Policies are TOML; every field is documented in docs/POLICIES.md. The same file also sets resource limits for untrusted input.

Safety

  • Originals are read, never written. Safe copies go to a folder you choose, which must not be inside what you are cleaning.
  • Nothing is overwritten. Copies are written to a temporary file and linked into place only if nothing exists there.
  • Nothing runs. Macros, scripts and PDF actions are reported, never executed. XML with a DOCTYPE is refused.
  • Local processing. The app uses a local webview and has no updater, telemetry or HTTP plugin. The dependency policy bans several networking libraries.
  • Bounded. Size, entry, expansion, ratio and nesting limits stop zip bombs and oversized files. A crash in any format reader is caught and reported as a damaged file.
  • Verifiable. Every run writes sendproof-manifest.json with the SHA-256 of each original and copy, what was removed and what remains.

The full threat model is in docs/THREAT_MODEL.md. Report security problems privately: see SECURITY.md.

Platform support

Library and CLI Desktop app
macOS (Apple silicon) Tested locally Local unsigned DMG built. See the verification log for desktop coverage.
macOS (Intel) Planned: CI release build configured Planned
Windows 10/11 x64 Planned: CI tests configured, not yet run Planned: CI build configured, not yet run
Linux x64 (glibc) Planned: CI tests configured, not yet run Planned: needs WebKitGTK 4.1

"Planned" means the code is written to be portable and CI will build and test it on the first push, but nobody has run it on that platform yet. The Windows Zone.Identifier check in particular has never run.

The draft release workflow stages unsigned packages and a SHA256SUMS file. See building and verifying packages.

Build from source

Rust 1.92 or newer.

cargo install --locked --path crates/sendproof-cli # the `sendproof` command
cargo run --locked -p sendproof-app                # the desktop app
cargo install tauri-cli --version "^2" --locked   # once, to package the app
(cd crates/sendproof-app && cargo tauri build -- --locked)

Linux needs WebKitGTK 4.1. Windows needs WebView2. See platform prerequisites.

Documentation

Licence

Dual-licensed under MIT or Apache-2.0, at your option. All dependencies are permissively licensed; cargo deny check verifies this.

About

Rust privacy scrubber, CLI, and Tauri desktop app that removes hidden file metadata into verified safe copies with SHA-256 manifests.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages