HTTP(S) proxy container for capturing outbound traffic and logging to SQLite.
When used with VibePod CLI, requests are attributed to the originating container.
PROXY_DB_PATH(default/data/proxy.db)PROXY_CONF_DIR(default/data/mitmproxy)
Build and run with a bind mount to /data so the database and CA certs persist.
The proxy resolves source containers via a shared containers.json file on the /data volume.
VibePod CLI writes this file after starting each agent container; the proxy addon reads it
(with mtime-based caching) to populate source_container_id and source_container_name in
http_requests.
File format (/data/containers.json):
{
"172.18.0.3": {
"container_id": "abc123...",
"container_name": "vibepod-claude-1a2b3c",
"agent": "claude",
"started_at": "2026-02-23T..."
}
}The proxy reads /data/filter.json (hot-reloaded on change, written by
VibePod CLI — vp proxy filter …):
{
"mode": "open",
"allow": ["api.anthropic.com", "*.github.com"],
"deny": ["example.com"]
}mode: open(default) — no filtering; everything passes and is logged.mode: allow— only hosts matching theallowlist pass.mode: deny— everything passes except hosts matching thedenylist.
Patterns: example.com matches that host exactly; *.example.com matches
subdomains (not the apex). Matching is case-insensitive.
Blocked requests get a 403 (HTTPS tunnels are refused at CONNECT) and are
logged to http_requests with blocked = 1. A missing or malformed
filter.json disables filtering (fail-open).
Every logged request also records the policy that was active when it was
handled: filter_mode (open, allow, or deny) and, for blocked rows,
block_reason — deny-match (host matched the deny list) or allow-miss
(host matched nothing on the allow list). Rows written before this column
existed have NULL in both.
Additional environment variable: PROXY_FILTER_PATH (default /data/filter.json).
Bodies are normally buffered in full before being forwarded. Requests and
responses with a streaming RPC content type (application/grpc*,
application/connect+* — e.g. Cursor's agent over HTTP/2) are streamed
instead, since bidirectional calls would otherwise deadlock. Their bodies are
still logged once each side's stream ends. The request row is written when the
headers arrive and is filtered there; a blocked streaming request has its
stream reset instead of getting a 403, since a response can't be sent before
the client finishes sending.
The image carries io.vibepod.proxy.policy-schema (filter policy format) and
io.vibepod.proxy.version (release version). VibePod CLI checks both before
using a proxy image, so bump the version label in the Dockerfile with every
release tag.
MIT — see LICENSE