Keep the original value
Editors, `.env`, GitHub Secrets, Vercel Env, and other trusted fields keep receiving the raw clipboard text.
STRIPE_SECRET_KEY=sk_live_51...
Safe Paste shortcut Runs locally
Use BeforePaste when you send code, logs, or config to AI. Copy text as usual, press Safe Paste (Cmd+Ctrl+V on macOS), and secrets become named placeholders on your device. Normal paste stays unchanged.
OPENAI_API_KEY=sk-live-9f4e...
DATABASE_URL=postgres://admin:...
STRIPE_SECRET_KEY=sk_live_51...
Safe Paste selected. Rewrite this paste payload locally.
OPENAI_API_KEY=[OPENAI_API_KEY]
DATABASE_URL=[DATABASE_URL]
STRIPE_SECRET_KEY=[STRIPE_SECRET_KEY]
Use normal paste when you need the original value. Use Safe Paste when the destination is an AI prompt. The redacted version keeps the context readable without handing over credentials.
Editors, `.env`, GitHub Secrets, Vercel Env, and other trusted fields keep receiving the raw clipboard text.
STRIPE_SECRET_KEY=sk_live_51...
AI chats, desktop AI apps, terminal agents, and plugin panels receive readable placeholders instead of secrets.
STRIPE_SECRET_KEY=[STRIPE_SECRET_KEY]
BeforePaste is a desktop utility because this decision belongs on your machine. The product boundary is narrow: handle the current Safe Paste action, redact locally, paste the safe payload, and avoid hosted prompt processing.
BeforePaste is not a generic DLP product and no longer depends on automatic target classification. The first product surface is a simple Safe Paste shortcut, local redaction rules, and a small Preferences panel.
Product names below are workflow examples, not automatic detection promises or partnership claims. Because Safe Paste is explicit, it works across browser chats, desktop AI apps, terminals, editors, and plugin panels without classifying the window.
Copy once. Use normal paste for trusted fields. Use Safe Paste when the same clipboard is going into an AI prompt.
The shortcut-first model avoids the brittle editor-versus-terminal detection problem.
BeforePaste ships a generated detection catalog instead of a vague "sensitive data" promise. The default path favors everyday developer clipboard text and avoids broad catch-all scanning unless you turn it on.
Read the generated catalog in DETECTION_COVERAGE.md.
The default workflow is intentionally small: install the app, keep the menu bar item running, and use the Safe Paste shortcut only when the clipboard is going into an AI prompt.
Download the macOS app, open it, and keep the BeforePaste menu bar item running.
The default shortcut is Cmd+Ctrl+V on macOS. Change it in Preferences if it conflicts with your setup.
Code, logs, `.env` snippets, stack traces, and config fragments can stay in your normal clipboard.
BeforePaste redacts locally, pastes placeholders, and restores your original clipboard after the paste.
Use Preferences to test Safe Paste, change placeholder style, and check for updates.
The macOS desktop app is available now. Windows is planned as a shortcut-first tray app. Linux starts with CLI/TUI and manual redacted-copy workflows before desktop paste automation.
Menu bar app with Safe Paste shortcut. Normal paste stays unchanged.
Download for macOSShortcut-first tray app is planned next.
CLI/TUI and manual redacted-copy support first; desktop paste automation later.
Release notes and checksums: GitHub Releases
No. Redaction runs locally. BeforePaste is not a cloud classifier, prompt proxy, or clipboard history product.
No. Normal paste keeps the system behavior. Use the Safe Paste shortcut only when you want a redacted paste for AI.
Safe Paste may need Accessibility to perform the final paste action and restore the clipboard. Optional local diagnostics can also ask macOS for automation access. The default workflow does not process normal Cmd+V.
BeforePaste ships a generated rules catalog for AI API keys, cloud credentials, payment keys, database URLs, private keys, dotenv assignments, structured credentials, and common PII.
The macOS desktop app is available now. Windows is planned as a shortcut-first tray app. Linux starts with CLI/TUI and manual redacted-copy workflows before desktop paste automation.
No. BeforePaste protects a paste action on your device. It does not route prompts, change model endpoints, enforce enterprise policy, or inspect AI responses.
Yes. The source code, releases, checksums, and build instructions are available from the GitHub repository.