You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: bind to loopback by default instead of all interfaces (#391)
* fix: bind to loopback by default instead of all interfaces
The test agent created its HTTP, OTLP HTTP, OTLP gRPC, and Web UI
listeners with no host argument, so aiohttp/grpc bound to all
interfaces (0.0.0.0 and [::]). Under `lapdog` those servers carry
captured Claude Code / Codex / Pi session content (prompts, responses,
traces, and the Web UI that renders them), so anyone on the same
network could read local AI session data. The plain test agent was
exposed too.
Make the bind host configurable via --host (env HOST) and default it
to 127.0.0.1 (loopback) so the agent is safe out of the box. Exposure
is now explicit opt-in: the Docker images set HOST=0.0.0.0 so their
published ports keep working, and anyone running over the network
passes --host 0.0.0.0. The gRPC server preserves its dual-stack [::]
bind when 0.0.0.0 is requested.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* add release note for loopback bind default
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments