Skip to content

Repository files navigation

AIScrubber Logo

AIScrubber

Next-Gen Browser-Local Privacy Desk, Developer CLI & Model Context Protocol (MCP) Server

🌐 Live Web Suite · 💻 CLI Reference · 🤖 MCP Server Setup · ✨ 5 Privacy Engines · 👨‍💻 Founder


🔒 What is AIScrubber?

AIScrubber is an offline-capable, browser-local privacy desk and developer toolkit engineered for the exact moment before sensitive data travels to AI frontier models (ChatGPT, Claude, Gemini), public GitHub issues, or email threads.

Everything runs 100% in local memory—zero telemetry, zero server roundtrips, zero external database logging.


✨ 5 Dedicated Privacy Engines

1. 📝 Text Scrubber

  • Scans input text and incident logs against 8 built-in detector classes (Emails, API Keys & Bearer Tokens, IPv4/IPv6, Phone Numbers, Payment Cards, Customer/System IDs, SSN).
  • Supports Custom Keyword & Regex Rules drawer.
  • Interactive side-by-side Diff Inspector with token tooltips.
  • 1-Click Dictionary Key Export for reversible token tracking.

2. 🤖 Prompt Enhancer & Zero-Exposure Roundtrip

  • Step 1 (Mask & Structure): Detects credentials and endpoints in raw prompts and replaces them with semantic constants ({{API_SECRET_1}}, {{DATABASE_URL_1}}).
  • Step 2 (Key Export): Exports a downloadable .aiscrub.json session key.
  • Step 3 (Query AI): Paste the masked prompt to ChatGPT or Claude.
  • Step 4 (1-Click Reconstruct): Paste the AI's generated response and session key to unmask all original variables back into working code.

3. ✨ AI Text & Claude Watermark Remover

  • Strips invisible Unicode zero-width watermarks (\u200B, \u200C, \u200D, \uFEFF, \u2060) embedded in Anthropic Claude & LLM outputs.
  • Normalizes non-standard synthetic spaces (En, Em, Thin, Hair, Narrow No-Break, Fullwidth spaces).
  • Reverts confusable Cyrillic/mathematical homoglyphs to Latin standards.
  • 4 Modes: Aggressive (All Tiers), Claude & LLM Output Clean, Code Safe (Preserves Indentation), and Invisible Unicode Only.

4. 🖼️ Metadata & C2PA Provenance Desk

  • In-browser parsing of JPEG (EXIF/GPS/IPTC/XMP), PNG chunks (tEXt/caPI), PDF /Info dictionaries, and Audio ID3 tags.
  • C2PA Content Credentials [CR] Inspector & Signer: Detects cryptographic provenance manifests from ChatGPT (DALL·E 3), Nano Banana, Adobe Firefly, and Google Imagen, and allows custom binary tag signing.
  • 1-Click Stripper: Re-encodes clean pixel buffers and wipes C2PA tracking fingerprints.

5. 🎨 Visual Media Redactor

  • HTML5 Canvas interactive tool to draw redaction boxes on screenshots and images.
  • Tools: Gaussian Blur, Pixelate (Mosaic), and Solid Blackout.
  • Undo/redo history stack and clean high-resolution PNG export.

💻 CLI Quickstart & Help System

Run the standalone CLI with zero installation via npx:

# Strip Claude & AI invisible Unicode zero-width watermarks
npx aiscrubber clean-watermarks ./claude-output.md -o ./clean-article.md

# Scrub sensitive incident logs into safe numbered labels
npx aiscrubber scrub ./logs/production-crash.log --output ./logs/clean.log

# Mask prompt secrets for AI and save session key
npx aiscrubber mask "Connect postgres://admin:P@ssw0rd@db.internal:5432" --key session.aiscrub.json

# Unmask AI response with your session key
npx aiscrubber unmask ./ai-response.py --key session.aiscrub.json --output ./final-code.py

# Inspect file or text for hidden EXIF, C2PA, or leaked API keys
npx aiscrubber inspect ./production-dump.log

# Strip metadata & C2PA manifests from documents and images
npx aiscrubber strip-metadata ./photos/*.jpg ./reports/*.pdf

Command-Specific Help in Terminal

Get instant interactive usage instructions for any command:

npx aiscrubber help clean-watermarks
npx aiscrubber help scrub
npx aiscrubber help mask
npx aiscrubber help unmask
npx aiscrubber help strip-metadata
npx aiscrubber help inspect

🤖 MCP Server Setup (Claude Desktop & Cursor)

Connect AIScrubber directly to Claude Desktop, Claude Code CLI, or Cursor as an official Model Context Protocol (MCP) server.

Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "aiscrubber": {
      "command": "npx",
      "args": ["-y", "aiscrubber-mcp"]
    }
  }
}

Exposed MCP Tools:

  • clean_ai_watermarks: Strips invisible Unicode zero-width watermarks (Anthropic Claude & ChatGPT markers), normalizes non-standard spaces, and reverts homoglyphs.
  • scrub_text: Sanitizes raw logs and text into [EMAIL_1], [SECRET_1], [IP_1].
  • mask_prompt: Masks secrets into {{KEY_1}} constants and outputs session key JSON.
  • unmask_response: Restores original variables back into returned AI output.

🛡️ Security & Threat Model

Characteristic Specification
Execution Environment Client-Side Browser Memory / Local Node.js Process
Server Roundtrips 0 (Verified in DevTools Network tab)
Storage Ephemeral RAM only (LocalStorage used only for dark/light UI preference)
License Open Source MIT License

👨‍💻 Founder & Credits

Designed and built by Poorvith M P, 19-year-old student developer & founder based in Bengaluru, India.


📄 License

Distributed under the MIT License. See LICENSE for details.

About

Client-side AI privacy scrubber sanitize sensitive data before it reaches any LLM. No servers, no tracking, free forever.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages