Skip to content

A macOS utility for redacting API Keys, IP addresses, etc from the clipboard.

License

Notifications You must be signed in to change notification settings

cmore-zz/ClipRedactor

Repository files navigation

ClipRedactor Icon

ClipRedactor

ClipRedactor is a macOS utility that monitors your clipboard to help prevent accidental data leaks. Inspired by modern privacy needs and built with a minimal, icon-based interface, ClipRedactor quietly watches your clipboard and flags or redacts potentially unsafe content.

It’s especially useful for developers working with LLMs like ChatGPT, who often paste code and config files containing passwords, API keys, or other sensitive information.

✨ Features

  • 🔐 Detects and redacts sensitive data using configurable regular expressions (e.g., access tokens, credentials, private keys).
  • 📎 Only inspects only clipboard text (for now).
  • 🛡️ Provides visual feedback when potentially unsafe content is detected.

⚠️ Non-Features

ClipRedactor:

  • ❌ Does not currently inspect files
  • ❌ Does not intercept drag-and-drop actions
  • ❌ Does not monitor file selection dialogs
  • ❌ Is not a comprehensive solution for preventing leaks of API keys, passwords, or other secrets

ClipRedactor only analyzes clipboard text, using configurable regular expressions. You can add your own patterns, but false negatives are possible—and coverage depends on your use case.

🧪 Current status

ClipRedactor is actively under development as of June 2025. The current release includes:

  • Clipboard text redaction with an optional “Unredact” button in the system notification.
  • A minimal settings UI with support for editable redaction rules and substitution text.

Support for file-based clipboard entries (e.g. Finder file copies) is planned.

🔧 Installation

Currently requires Xcode and macOS Sequoia (macOS 15).

Clone and build manually for now:

git clone https://github.com/cmore-zz/ClipRedactor.git
cd ClipRedactor
open ClipRedactor.xcodeproj

📄 License

MIT License. See LICENSE.

About

A macOS utility for redacting API Keys, IP addresses, etc from the clipboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages