Keep the original value
Editors, `.env`, GitHub Secrets, Vercel Env, and other configured safe targets can receive raw secrets.
STRIPE_SECRET_KEY=sk_live_51...
BeforePaste
A local menu bar and tray app that rewrites sensitive clipboard content only when the destination is ChatGPT, Claude, Doubao, Codex, or another supported AI tool.
brew install beforewire/tap/beforepaste
OPENAI_API_KEY=sk-live-9f4e...
DATABASE_URL=postgres://admin:...
STRIPE_SECRET_KEY=sk_live_51...
AI destination matched. Rewrite paste payload locally.
OPENAI_API_KEY=[OPENAI_API_KEY]
DATABASE_URL=[DATABASE_URL]
STRIPE_SECRET_KEY=[STRIPE_SECRET_KEY]
BeforePaste watches where the paste is going. Raw values still work in trusted secret-entry flows. AI targets receive typed placeholders that preserve context without handing over credentials.
Editors, `.env`, GitHub Secrets, Vercel Env, and other configured safe targets can receive raw secrets.
STRIPE_SECRET_KEY=sk_live_51...
AI chat, desktop AI apps, and terminal coding agents get a readable placeholder instead of the secret.
STRIPE_SECRET_KEY=[STRIPE_SECRET_KEY]
Clipboard tools earn trust by staying small. BeforePaste should not become a hosted classifier, clipboard manager, or opaque security box.
Start with common AI chats, coding agents, and local workflows. Add custom browser domains and app targets as your team standardizes.
Signed macOS and Windows releases are being prepared. The public app repository remains the source for downloads, issues, release notes, and Homebrew installation.
brew install beforewire/tap/beforepaste
beforepaste init
beforepaste watch
BeforeWire governs what AI agents do next: external actions, tool calls, approvals, and evidence.