PROMPT SECURITY
Prompt security: keep secrets out of your AI prompts
It is easy to paste a .env file, a log with a password in it, or a customer's phone number into an AI chat without noticing. VacuumPrompts checks supported routed requests on your PC and swaps recognized values for placeholders before sending.
Real screenshot: prompt security in action
SECRET REDACTION
Three test values redacted
Email, phone, API key → [EMAIL_1] [PHONE_1] [CREDENTIAL_1]
We typed a test email address, phone number and API key into ChatGPT. VacuumPrompts swapped each one for a placeholder on the PC, so ChatGPT only ever saw the placeholders, and the app’s own history keeps them as [REDACTED]. In this capture, the older “Unchanged” badge refers to optimization. The sent text still shows all three replacements.
![VacuumPrompts request details showing an email, phone number and API key automatically replaced with [EMAIL_1], [PHONE_1] and [CREDENTIAL_1] before the prompt was sent to ChatGPT](/proof/vacuumprompts-secret-redaction.png)
What gets redacted
- API keys from common providers, tokens, and private keys.
- Passwords, including ones written in plain sentences, and secrets in .env and YAML files.
- Card numbers, emails and phone numbers.
- Indian IDs: Aadhaar, PAN, GSTIN, UPI, voter ID and driving licence numbers.
How the protection works
Detected values are replaced with placeholders like [PASSWORD_1]. Unrecognized secrets can be missed.
On supported routes, the final check can scrub additional values or block the request, depending on the route and settings.
Processing runs on your PC. The processed request goes to your AI provider.
A safety net, not a licence to paste secrets
Redaction works by recognising patterns, so treat it as a safety net. The best practice is still to avoid pasting secrets on purpose.
Frequently asked questions
Does VacuumPrompts stop API keys from reaching ChatGPT?
VacuumPrompts can replace supported API key formats in routed requests. Unrecognized formats and content outside capture can still reach the provider.
Does my data go to VacuumPrompts servers?
No. There is no VacuumPrompts server. The app runs entirely on your Windows PC.
Which AI apps does prompt redaction cover?
GitHub Copilot, Claude Code and Codex in VS Code, Codex desktop, the ChatGPT desktop app, and ChatGPT in the browser.
Download VacuumPrompts free for Windows
Also see: Prompt optimizer · Token optimization · Prompt spell checker · All features · FAQ