Limitations
A security tool that claims to stop everything is wrong about something. This page lists what redact-proxy does not do, what it misses, and where it has been tested.
Non-goals#
These are out of scope. Don't plan around them arriving.
- Database wire protocols. PostgreSQL, MySQL, SQL Server, MongoDB and Redis connections are raw tunnels. Nothing in them is inspected, and a marker password fails the login.
- Connection upgrades and HTTP/2 streams.
kubectl exec,attach,port-forward,cp,run -itanddebug, WebSocket and gRPC are refused with a 501. - Identity brokering and request signing. AWS SigV4, GCP service-account JWT signing, OAuth refresh flows, HMAC-signed webhooks and kubeconfig exec plugins (EKS, GKE, kubelogin) don't work: the agent holds only a marker, and the proxy doesn't sign on its behalf.
- Docker inside the sandbox. There is no daemon:
docker login,pull,buildandcomposefail.
Detection gaps#
Recall is below 100%. A value the scrub and the scanner don't find is real inside the sandbox and reaches the model. Known misses:
- An undeclared secret under a neutral JSON key, such as a Key Vault
valueor a Terraform state's sensitive outputs. - A
<password>in Maven'ssettings.xml. - A 64-hex value under a
"key"field (Meilisearch's style). - Three or more layers of base64; base32, base58 and base85; UTF-16; line-wrapped base64 inside escapes.
For values you know about, declare them, or put them in files the scrub treats as secret.
Network and trust#
- SSH is raw TCP and is not inspected. Keys stay in the proxy, but what goes over an allowed SSH connection isn't scanned.
passthroughhosts are tunneled undecrypted: the allowlist applies, nothing else does.- Raw TCP. Anything that is not TLS or plain HTTP with a standard method is tunneled as raw TCP to an allowlisted host and port, including 80 and 443: no request check, no response redaction.
- Internal addresses behind allowlisted names. There is no built-in block for loopback, link-local or metadata addresses yet; an allowlisted name is dialled wherever it resolves.
- Allowlisted hosts that run code, such as a cluster or a CI system, can be told to transform a secret out of sight. Narrow it with permissions on that host; the proxy can't close it.
- Covert channels, such as request timing and size toward allowlisted hosts, are not addressed.
- Images and PDFs are withheld from the model. There is no OCR.
- Your source code reaches the model; it needs it to work. If the code itself is confidential, that's a contract question, not something a proxy fixes.
Tools#
- Git: no remotes, no working-tree-changing commands, no content search, no submodules, no LFS, no hooks; tools that read
.gitdirectly see no repository. See Git. - Kubernetes: read-only mount, no connection upgrades, separate cert and key files get no stand-in, ambiguous CAs with the same name. See Kubernetes.
- IPs, hostnames and passwords are markers, not format-preserving stand-ins: a tool that parses an IP address breaks on one.
- The default agent image has Claude Code, curl, wget, git, openssh-client and python3. Anything else needs your own
-agent-baseimage.
Platform support#
| Host | Status |
|---|---|
| macOS + Docker Desktop | Tested with Docker 29.5 and Compose 5.1. The only tested setup. |
| Native Linux | Not tried. The launcher uses the macOS Keychain; a Linux host would also need the macvlan kernel module. |
| Windows | Not supported. |
| Rootless Docker | Doesn't work: no macvlan networks. |
A launcher running as root keeps capabilities in the proxy; leaving root is what drops them. redactproxy launch runs as your user on macOS.
Model provider and terms#
- The agent is Claude Code and the model provider is Anthropic. Other providers are not supported in this build.
- Whether Anthropic's terms allow a subscription token to be used through a proxy like this is not settled. The risk is yours.
- The sandbox's subscription login has been tested once with a real token (Claude Code 2.1.311): the launch, the self-test and two requests. Nothing longer.
In progress#
Not in this build
These exist on a separate development branch and are being brought together with the build these docs describe:
- A built-in block for loopback, link-local and metadata addresses in the gateway.
- A runtime approval console in the launcher's terminal (
list,approve N,deny N,fp MARKER-ID,resume), with alarms and desktop notifications. - A stricter sandbox in which the agent holds markers only: the workspace reaches it as a projection, the real files stay in the proxy, and the agent's writes are merged back.
- OpenCode as the agent, served from the sandbox, with the stock OpenCode interface on the host, and more model providers behind the proxy.