Repository navigation
Releases
Releases · qmmughal/egressveil
EgressVeil v0.7.0
Path to 1.0, step 2: measured quality.
Security
- Fuzzing found that text could be hidden from inspection inside
structures that only looked like provider blobs, for example an object
undersignatureorencrypted_content, extra fields in a
redacted_thinkingblock, or fields beside a base64datastring. Only
the blob string itself is now skipped; everything else is inspected.
Agents don't build such requests, but strict mode must fail closed against
crafted ones too.
Added
scripts/benchmark.pyanddocs/benchmark.md: 100% recall on 93
labelled cases across 27 rules, and 0 secret or token false positives in
29 MB of real code (the Python standard library plus popular packages).scripts/perf.pyanddocs/performance.md: about 1 ms added at 1 KB, 8 ms
at 100 KB and 85 ms at 1 MB. Streaming runs at about 600 MB/s (14 MB/s
with response inspection), and memory stays flat.- CI quality gates: property-based fuzzing (Hypothesis), timing tests on
adversarial input for every rule, recall and false-positive checks, and a
24 MB soak test with a memory bound.
Changed
- Detection is about 5x faster: cheap substring pre-checks per rule,
regexes that start with a character class, and case-folded matching
instead ofIGNORECASE. phone_internationalno longer matches decimals (+35236450.6), and
internal_hostnamesskips Python import paths (from librt.internal import ...).
EgressVeil v0.6.0
First step on the path to 1.0: frozen, documented and tested public
contracts.
Added
- Every audit event now has
"schema_version": 1. The JSON Schema is
published asegressveil/schemas/audit-event-v1.schema.json(shipped in
the package), and the health endpoint hashealth-v1.schema.json. - Reference docs:
docs/configuration.md(every key),docs/cli.md(every
command, flag and exit code),docs/audit-log.md(every field, plus the
guarantees) anddocs/versioning.md(what is public, semver, deprecation). - Contract tests: real gateway traffic covering every outcome is validated
against the published schemas, and the tests fail if a config key or CLI
command is undocumented. - A "Path to 1.0" plan in
docs/roadmap.md.
EgressVeil v0.5.0
EgressVeil moves from pre-alpha to beta. Every roadmap phase is
complete, and the integrations are verified against the live APIs. There are
no functional changes since 0.4.0.
Changed
- The PyPI classifier is now
Development Status :: 4 - Beta, and GitHub
releases are published as the latest release rather than as pre-releases. - The README status note now says what EgressVeil works with and detects,
and links to the security limitations.
Fixed
SECURITY.mdstill said the current release "does not intercept or
protect any traffic", which was true of 0.1 but not since 0.2. It now has a
supported-versions table.docs/integrations.mdstill described Aider and OpenClaw as planned.
EgressVeil v0.4.0
Phase 3: policies, response inspection, and more agents.
Added
- Policy packs:
balanced(the default),redact,strictandaudit. policy.allowallowlists, by keyeddigest(no value ever goes in the
file),patternorrule, optionally limited to somedetectors.
egressveil scannow prints digests that you can copy into the allowlist.extends:to build on shared policy files, andextends: userfor
per-project configs that inherit your personal settings. Merging is per
detector for rules, and lists are concatenated.- Optional, audit-only response inspection
(gateway.inspect_responses: true). It reassembles streamed deltas, so
values split across SSE events are found, and scans in bounded windows. egressveil setup <agent>forclaude-code,aider,openclawand
cursor.- OpenClaw: setup snippet and a doctor check that
openclaw.jsonpoints at
the gateway. egressveil runwarns when the running gateway uses a different
configuration. The health endpoint reports a config fingerprint.docs/policies.md.
Changed
policy.rulesnow override the pack per detector instead of
replacing the whole rule set. With the default pack this only makes
things stricter: categories that a rules list leaves out keep the pack's
action instead of falling back todefault_action.- Cursor is now documented as not supported. Its model requests come
from Cursor's servers, which a loopback gateway can't see.
Verified
- Claude Code 2.1.325 against the live API. It only uses
HEAD /api/hello
andPOST /v1/messages. Blocks are shown to the user as is, and the
redactpack sends only placeholders.
EgressVeil v0.3.0
Phase 2: Aider and broader detection.
Added
- An OpenAI-compatible API adapter, mounted at
/openai, covering Chat
Completions, Responses, Completions and Embeddings. Blocks use OpenAI's
error format. Base64data:URIs, inline audio and files are treated as
opaque, andencrypted_contentis skipped. - A
piidetector: email, international and North-American phone numbers,
US SSNs, payment cards (Luhn) and IBANs (mod-97), with false-positive
filters for example and no-reply addresses and file names. - An
internal_hostnamesdetector: configuredinternal_domains, the
private suffixes.internal,.corp,.intranet,.lanand
.home.arpa, and optional RFC 1918 IPv4 addresses. egressveil run -- <agent>: starts the gateway if needed, sets
ANTHROPIC_BASE_URL,OPENAI_BASE_URLandOPENAI_API_BASE(and
NO_PROXYfor loopback), runs the agent, passes back its exit code, and
stops the gateway it started.doctor: an end-to-end self-test that sends a random canary credential
which must be blocked locally, plus checks for the enabled providers and
the proxy mode.gateway.upstream_proxy:none(the default),env, or an explicit proxy
URL. Credentials in the config file are rejected.- Verified with real clients: Aider 0.86.2 and the OpenAI and Anthropic
Python SDKs, run against the live APIs.
Changed
- Findings in provider-signed
thinkingcontent are now recorded as
LOG_ONLY("signed": true) instead of escalating toBLOCK. This content
is provably provider-generated, and blocking it wedged sessions. build_detectors()takes hostname options,Inspector.inspect_request()
takes a provideradapter, andproviders.anthropicnow exposes an
ADAPTER.providers.baseholds the shared parsing.- EgressVeil is now on PyPI:
pip install egressveil(orpipx install egressveil).
EgressVeil v0.2.0
First public release. EgressVeil is free and open source under the MIT
License. This release protects Claude Code's Anthropic API traffic from
leaking secrets and tokens. It is pre-alpha: see the README for coverage
limitations.
Added: release and community
- A release workflow builds and smoke-tests each release, attaches signed
build provenance, and creates the GitHub release. PyPI Trusted Publishing
is ready but turned off until the project is registered on PyPI (see
docs/releasing.md). - Official support for Python 3.13 and 3.14. CI tests Python 3.11 to 3.14 on
Linux, macOS and Windows. SUPPORT.md,CODEOWNERS, and install instructions using pipx or pip with
the release wheel.
Added: Phase 1, the Claude Code gateway
egressveil serve: a local aiohttp gateway for the Anthropic Messages API
(/v1/messages,/v1/messages/count_tokens), with streaming passthrough,
bounded request bodies and stream chunks, verified TLS to an allowlisted
upstream, no redirect following, and no use of environment proxies.- An Anthropic request parser that inspects every string field, hardened
against duplicate keys,NaNand deep nesting. secretsandtokensdetectors with vendor, private-key, URL-credential,
generic-assignment, JWT, bearer and Basic auth rules.- A policy engine (the most restrictive action wins), keyed stable
redaction placeholders, and escalation toBLOCKfor signedthinking
content and for URLs. - Strict-mode fail-closed handling for unsupported routes, content types and
encodings, invalid JSON, opaque images and PDFs, and detector errors.
Permissive mode forwards these and flags them. - A JSONL audit log with keyed digests and a
0600key file. It never
records bodies, headers, query strings or raw values. - Host-header (DNS-rebinding) and browser-
Originrejection, and a local
/_egressveil/healthendpoint. egressveil scan: runs the detectors and policy over files or stdin.doctordetects a running gateway and lists the active detectors.- Config option
gateway.allow_opaque_content. - Runtime dependency:
aiohttp.
Added: Phase 0, the foundation
- Project scaffold:
src/layout, Hatchling packaging, MIT license. - CLI commands:
egressveil version,egressveil config validateand
egressveil doctor. - A strict YAML configuration schema with secure defaults enforced at
validation: loopback-only listener, https allowlisted upstreams, strict
mode, no raw-value audit logging, and no telemetry. - Secret-safe validation output, and rejection of config files that contain
credential-shaped values. - Documentation: architecture, threat model, security design, integrations
and roadmap. - CI: Ruff, strict mypy, and pytest on Python 3.11 and 3.12 across Linux,
macOS and Windows; a build check; and pip-audit dependency auditing.