SymVeilJoin

Network names

Mask internal hostnames and IP addresses before they reach the model.

A private address in a log line can name the lab. Deny the file when the agent does not need it. Mask the address when the log is part of the prompt you meant to send.

Stop the read

Hostnames and IPs show up in a curl you asked the agent to debug, a failed connection in a test log, a comment, a device-tree node, a README example. The agent forwards that tool output. Gitignore does not apply to it.

  • Claude Code: Read(./logs/**) in permissions.deny. Covers the file tools and cat. Does not cover a script that opens the file itself. Permissions.
  • Codex: deny on that subtree in the active permission profile. Permissions.
  • Cursor: .cursorignore blocks Agent file tools and @-mentions. A shell command can still print the file. Ignore file. CLI Read denies go in ~/.cursor/cli-config.json or .cursor/cli.json.
  • Grok Build: a sandbox profile can deny the directory. The sandbox is off by default. On Linux a read deny requires bubblewrap. Sandbox.

None of those rules edit an address out of a file you asked the agent to fix.

Free-core rules

The free tier masks IPv4 and IPv6, and hostnames under internal_domains. The README default is corp, internal, and lan. fw.aurora.corp matches. example.com does not. Adding com would mask ordinary public names. Do not add it.

Kept, from the README:

  • 127.0.0.1
  • 0.0.0.0
  • 255.255.255.255
  • ::1

Free-engine tests: at 10.8.8.8. still masks 10.8.8.8. 10.8.8.8.9 is left alone. It is a longer dotted sequence, not an IPv4 address. 12:34:56 is not IPv6. 2001:db8::1 is.

Hostnames use the configured suffixes only. Add lab if that is the zone you use. An allow entry can skip a hostname or an address. An allow entry does not exempt a secret. The skip rule is skipped.

Replacing 10.8.0.14 removes that literal. A sentence that describes the same machine without the address stays. The map that restores the placeholder stays on the computer running the proxy.

Client base URL

Masking runs only for traffic that arrives at SymVeil. The README exports OPENAI_BASE_URL and ANTHROPIC_BASE_URL. Use the setting the CLI documents. Do not assume every CLI reads the env var.

  • Claude Code reads ANTHROPIC_BASE_URL, with no /v1 suffix. Gateway setup. Check /status.
  • Codex documents openai_base_url and model_providers.<id>.base_url in ~/.codex/config.toml. A project-local file is ignored for those keys. Config reference. wire_api for a custom provider is responses. SymVeil forwards POST /v1/responses to the OpenAI-compatible upstream.
  • Grok Build: the custom model in the README, including session_summary, so the title request does not go straight to cli-chat-proxy.grok.com. The block is below. GROK_XAI_API_BASE_URL is documented by Grok as the xAI API base for API-key auth (settings reference). The SymVeil README checked GROK_XAI_API_BASE_URL=http://127.0.0.1:8787/v1 against a mock, not against https://api.x.ai.
  • Cursor CLI's published parameters do not document an OpenAI or Anthropic base URL. They describe Cursor's own endpoint. Editor chats and web chats are outside the proxy. Do not assume OPENAI_BASE_URL changes where Cursor sends a prompt.

SymVeil configuration

Copied from the SymVeil README. The proxy listens on 127.0.0.1 only. .symveil/ is gitignored. The vault is the reverse map, including secrets. Do not copy it off the machine.

[proxy]
listen = "127.0.0.1"
port = 8787
openai_base = "https://api.openai.com"
anthropic_base = "https://api.anthropic.com"
timeout_secs = 900
audit_log = ".symveil/audit.jsonl"
vault = ".symveil/vault.json"

[redact]
internal_domains = ["corp", "internal", "lan"]

[[redact.secrets]]
name = "acme-factory-token"
regex = '\bacme_live_[A-Za-z0-9]{16,}\b'

Run the proxy, then point a client at it. ANTHROPIC_BASE_URL has no /v1 suffix. The Anthropic SDK appends /v1/messages. OpenAI-compatible clients use the /v1 base.

./target/release/symveil proxy --port 8787 --openai-base https://api.openai.com

export OPENAI_BASE_URL=http://127.0.0.1:8787/v1
export ANTHROPIC_BASE_URL=http://127.0.0.1:8787

Authorization and x-api-key are forwarded and are not logged. Coverage starts only for clients whose base URL is the local proxy. A client left on the provider's own URL sends the prompt unveiled.

Grok Build

The README's checked path is a custom model in ~/.grok/config.toml, with session_summary set to that same model. Grok's own settings reference documents session_summary as the model used for session summaries, and user config as the place for custom models. Project .grok/config.toml is limited to MCP servers, plugins, and permission rules.

[models]
default = "symveil-grok"
# Reroute session-title generation through this model. Without it, grok calls
# https://cli-chat-proxy.grok.com directly and the start of the prompt is not redacted.
session_summary = "symveil-grok"

[model.symveil-grok]
model = "grok-4.7"
base_url = "http://127.0.0.1:8787/v1"
name = "Grok 4.7 via SymVeil"
env_key = "XAI_API_KEY"
api_backend = "responses"
context_window = 128000
supports_backend_search = false

Session titles call https://cli-chat-proxy.grok.com directly unless you reroute them. The README records that this request ignores a custom base_url. With session_summary pointed at the SymVeil model, the title request went through the proxy and the secret in that body was already a placeholder. features.title_refresh and GROK_TITLE_REFRESH control a later refresh, not that first call.

There is a second limit in the same README: when a tool-argument stream splits one @@sv:…@@ placeholder across two JSON fragments, Grok may concatenate it unrestored. A placeholder split only by HTTP chunk boundaries, inside one JSON value, was restored.

On the requests the README recorded through a local mock, db.payments.corp and 10.8.8.8 arrived as placeholders. aurora_rcc_enable_pll was still in the body. Learned NDA names are planned Pro. Waitlist only. Not for sale.

Sources

All guidesSymVeil