Cloud Exposure Guard

Control what you share with AI, before it leaves your machine.

A local guard between you and your AI apps. CEG detects private information in what they send, lets you decide what goes out, and restores your real values in the answer.

In a chat

You write as usual.

Nothing about your chat app changes. CEG stays collapsed in a corner of the screen until there is something to review.

01 Detect

CEG holds the message and lists its findings.

Fixed rules work together with a compact AI model trained specifically to find personal data in text. Both run on your machine and detect names, contact details, identifiers, secrets and other private details such as health or employer. The message waits until you decide.

01 Detect: languages

Multilingual out of the box.

CEG includes localized fixed rules and preconfigured multilingual detector models. It helps you choose the best model for the languages you write in. Eleven languages are supported today, and more are coming. See how each model performs in each language in our multilingual benchmark.

02 Decide: your choices

Choose what to withhold and what to share.

Mark each value as withheld or shared. CEG can remember your decisions, for this session or everywhere, and applies them the next time the same value appears. The more you decide, the fewer messages are held for review.

02 Decide: redact

Replace values with placeholders.

One click replaces each value with a placeholder. The AI can still do the task, and the provider never receives the original values. This works well for values the AI does not need to understand, such as names, numbers and addresses.

02 Decide: rewrite

Or rewrite details in general terms.

Some details matter to the task, and placeholders alone would leave the AI without the context it needs. Another local model, a text sanitizer, rewrites private details in general, abstract terms. This works well for details the AI has to reason about, such as a condition, a job or a situation. You see the draft before anything is sent.

Send

Only the version you approved is sent.

You can also send the message unchanged, or block it. CEG keeps a local record of what each provider received. If anything fails, nothing is sent.

03 Restore

The answer arrives with your real values.

The AI answers, echoing the placeholders. CEG restores the original values before your app shows the reply, so you can use it as it is. The provider never receives them.

With coding agents

Most private data is in what the agent reads.

A prompt to Claude Code or Codex often contains nothing private and passes straight through. The agent then reads files, databases and command outputs, and that content is sent to the provider as well.

01 Detect: tool results

CEG checks tool results before they are sent.

The output of a command or the content of a file goes to the provider like any prompt. It is checked first and held when something is detected. The same choices apply: replace, rewrite, block or send.

02 Decide: auto mode

Auto mode applies your privacy rules to every call.

An agent can make hundreds of model calls in one task. With Auto turned on, each call is handled by your privacy policy: allow, rewrite, redact, ask or block. You choose how strict detection is and add your own rules for each category of data, for example blocking secrets and replacing names.

03 Restore: on your machine

Local commands get the real values.

The model only receives placeholders, so the commands it writes contain them. When a command stays on your machine, such as searching or editing a file, CEG restores the real value before the agent runs it.

04 Held: outgoing calls

Commands that send data elsewhere wait for your approval.

A command that would send a value outside your machine, such as curl, git push or a web request, is held. CEG shows the destination and the value that would be restored. You can restore it once, allow it for the session, or keep the placeholder. If you do not respond, the placeholder stays.

Works with the apps you already use.

Claude
ChatGPT

Desktop apps

Pick the apps in Settings. Nothing else about how you use them changes.

macOS
ChatGPT Claude Gemini
chatgpt.com

AI sites in your browser

ChatGPT, Claude and Gemini, in the browsers you choose.

macOS
$ claude --ceg
$ codex --ceg

Coding agents

CEG installs command-line wrappers for Claude Code and Codex. Add --ceg to your usual command and the agent runs through CEG, including the files and commands it reads.

macOS · Linux

Fully local.

CEG's models and rules run on your machine. In the chats and agent sessions CEG supports, nothing reaches the provider until you or your policy decide.

CEG shares nothing with us unless you choose to send a report.

Honest about its limits.

Detector models and rules can make mistakes and miss real private information.

CEG provides measured protection, not a privacy guarantee.

Open source.

Apache 2.0, developed by ChainSafe Systems.

The code, the specs and the evaluation results are public.

Start using

Download for macOS or install from the terminal:
$ curl -fsSL https://github.com/ChainSafe/cloud-exposure-gateway/releases/latest/download/install.sh | sh