Install
Chrome, Edge and Brave
- Download the Chrome ZIP from the latest release and extract it.
- Open
chrome://extensions, turn on Developer mode and choose Load unpacked. - Select the extracted folder, then refresh any chat or Word tabs that were already open.
The model and its runtime are bundled. You do not need Python, a model download or an API key to use the extension.
Firefox
Download the Firefox ZIP from the release, open about:debugging#/runtime/this-firefox, choose Load Temporary Add-on and pick the manifest.json inside. Temporary add-ons are removed when Firefox restarts.
From source
git clone https://github.com/darflashxd/pomicat.git
cd pomicat
python tools/build_extension.py # writes Chrome and Firefox ZIPs to dist/
Share a chat
- Open a conversation on ChatGPT, Claude, Gemini or DeepSeek and click the PomiCat button in the bottom-right corner.
- Check that every message was read. The original and the copy others will see sit side by side.
- Click a highlight to hide or restore it, or select any text to hide it yourself. Some model suggestions start ticked when they look like a credential or a confident name, so check each one.
- Pick who will read it and how amounts are handled, then Create Private Link. Choose an expiry, and burn after reading if you want a single view.
- You can revoke the link later from the extension's toolbar page.
Share a Word document or Google Doc
- Open a saved
.docxin Word Online, or a Google Doc, and click the PomiCat button. - PomiCat reads a separate copy through your current SharePoint or Google session (Google Docs are exported as DOCX). Your original is never changed.
- Review the highlights. Tracked changes, comments and document properties are removed unless you keep them.
- Images are reviewed by hand: drag over an area and the pixels are replaced, not covered.
- Create sanitized DOCX, then download it or create an encrypted link (24 hours, 3 days or 7 days, revocable).
Links are limited to 512 KiB of ciphertext, so documents with many images are better downloaded. Text inside images is not detected automatically.
Protect before sending
The chip above the chat box is a separate, optional feature. It is off by default.
| Mode | What happens |
|---|---|
| Off | Your prompt is sent as typed. Sharing still works. |
| Protect amounts only | Personal amounts are sent as <S1>, <S2>. Formulas in the reply are computed on your screen. |
| Protect IDs + amounts | IDs and credentials are replaced too, and your own names and places when the local model is ready. |
How it works
Read the conversation or document
-> rules, context checks and a local model mark private details
-> arithmetic checks find numbers that reveal a hidden value
-> you review, hide or restore
-> AES-256-GCM encryption in your browser
-> ciphertext goes to the relay; the key stays after the #
The bundled model is gravitee-io/bert-small-pii-detection (INT8, English-focused, about 28.7 MB). Rules cover IDs, bank accounts, cards, phone numbers, credentials and Indonesian formats such as NIK and Rupiah amounts.
Security model
| Who or what | What PomiCat does | What is still possible |
|---|---|---|
| A reader working out a hidden amount | Hides supported numerical clues and runs the same attack before you share | Unsupported transformations and semantic clues |
| Someone holding the full link | Expiry, burn after reading, revocation | They can read it while it is open and keep a copy |
| The relay operator | Only ciphertext is stored; the extension opens links in its own viewer | IP addresses, timing and sizes are visible; the hosted fallback viewer must be trusted |
| Search engines and link previews | The key is never sent; responses say noindex; opening needs a click | noindex is a request, not access control |
| The chat site | Optional rewrite before sending | It sees what you type and keeps what it already received |
Report vulnerabilities privately as described in SECURITY.md.
Limits
- The model is English-focused. Other languages rely mostly on rules.
- Text in images, attachments and every field of pasted logs are not covered.
- Combinations of details (job, town, age) can still point to a person.
- Screenshots and photos of a shared copy cannot be prevented.
- If a real password was already sent to a service, change it. Redacting a later share does not remove it there.
Results
| Check | Without PomiCat | With PomiCat |
|---|---|---|
| An LLM recovers a hidden salary (3 models, 4 runs of 40 fictional chats, English and Indonesian) | 100% from naive redaction and from Presidio | 0 of 160 |
| Rule-based arithmetic attacker, 40 chats | 53% naive, 100% Presidio | 0% |
| Birth date narrowed to 4 days or fewer from weekday clues | 40 of 40 | 0 of 40 |
| A crawler fetching a share link | A plain share page shows the full text | Ciphertext only, no key, noindex |
All data is fictional and templated. Details and limits: LLM attacker, arithmetic attacker, evaluation report.
CLI and proxy
Node.js 18 or newer, no extra dependencies.
node bin/pomicat.js invert examples/chat_naive_redacted_en.txt # recovers $5,000
node bin/pomicat.js redact examples/chat_original_en.txt | node bin/pomicat.js invert
node bin/pomicat.js proxy --port 8788 --upstream https://api.openai.com
The proxy redacts supported text fields in OpenAI and Anthropic requests before forwarding them. It does not restore responses and does not cover images or files. The CLI uses the rules, not the browser model.
Run your own relay
python relay/server_local.py
node bin/pomicat.js share examples/chat_original_en.txt --burn --ttl 3600 --relay http://127.0.0.1:8787
Cloudflare Worker and D1 setup is in DEPLOY.md.
Troubleshooting
A share link opens a blank page
The installed extension is older than the page. Reload it in chrome://extensions, approve the relay host if Chrome asks, then open the link again.
Word says "Link was not created"
The message under the button names the cause. For a file over 512 KB, use Download DOCX. For "too many uploads", wait about a minute.
"Open conversation" appears before the chat
On purpose. Link scanners open links without a person, and a burn-after-reading link would be used up. Your click is the first read.
FAQ
Does the original change?
No. PomiCat reviews a copy. The optional before-sending mode is the only feature that changes what you submit.
Does the recipient need the extension?
No. Without it the hosted viewer decrypts the link, and its operator must be trusted. With it, the extension's own viewer is used.
Who can read a link?
Anyone with the complete link, including the part after #. Expiry and revocation stop later access, not copies already saved.
Can it miss things?
Yes. Always read the copy before sharing.
PomiCat