Search docs
Start here
Use PromptVeil
In Chrome on a supported AI chat site, choose Write with PromptVeil and type in the browser side panel. Protect and insert checks the prompt locally and places the protected text into the provider editor as a draft. Review findings inside PromptVeil if the policy asks for a decision. Review the draft in chat before sending.
When pasting a complete plain-text prompt directly into a recognized chat editor, PromptVeil scans the pasted text before insertion. It preserves ordinary values, masks supported matches, and blocks or pauses unresolved findings. The editor receives plain text and keeps its existing draft outside the paste selection. The extension also checks recognized Enter and Send actions. If it masks an existing draft, review the result and send it again. Detected credentials and unresolved findings pause Send. If you press Enter or click Send in that chat during a private composer scan or transfer, PromptVeil cancels that action. Afterward, send the reviewed draft with a fresh action. Use the private composer for direct typing or to review an ambiguous paste.
- Paste or type your prompt into the private composer or send it to
promptveil protectthrough stdin. - Scan before transfer. The rules can preserve text, replace a supported identifier with a placeholder, request a review decision, or block a detected credential.
- In the composer, choose a decision for each review finding and scan again. Check the protected output before copying or inserting it.
- To restore session placeholders in a provider response, paste the response into the local restore viewer and select Restore placeholders. Clear the session when you are finished.
The browser composer keeps its restoration map in memory. Closing or clearing the composer removes that map. The CLI has no persistent restore map. The PWA scans and copies locally after offline setup. Opening it already installed does not intercept another app.
Balanced mode allows the composer to collect review decisions. Strict mode blocks unresolved review cases. A strong credential match blocks transfer in either mode. The CLI uses status codes 0 for success, 2 for block or required review, and 3 for errors. Inspect matches through promptveil scan --json for finding offsets and types without the matched values.
PromptVeil's detection covers its implemented rule formats. Check protected text yourself before sharing. See the threat model and installation guide.
The text scanner recognizes the localized customer ID and date-of-birth labels listed in the testing guide, including common ASCII and full-width separators. Decimal digits in the Basic Multilingual Plane are normalized for numeric matching while preserving the original text offsets. Common password-label misspellings are recognized when explicitly assigned a value. Use dotenv redaction for supported environment-file assignment forms, including files starting with a UTF-8 BOM.
Protect images
Select Attach image in the extension or web composer, or paste or drop a PNG or JPEG into the composer. PromptVeil reads printed English text locally and proposes opaque masks. Review every part of the preview and drag to add any missing masks. You can also enter a rectangle by pixel coordinates. Copy or download the flattened PNG to attach anywhere. If your device supports file sharing, Share protected image opens the system share sheet with only the re-encoded PNG.
The decoder accepts PNG and JPEG inputs up to 12 MiB, 8192 pixels on either side, and 12 million pixels total. Scanning can miss small, blurred, rotated, handwritten, or non-English text. Image recognition does not identify faces or QR codes. A scan failure or a scan with no proposed masks requires manual masking before export. Automatic image attachment checks inside provider editors and native agent hooks are outside this workflow. The Codex relay automatically protects supported inline image attachments and image tool results it receives. In other agent sessions, prepare the image with the terminal command or browser composer.