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 mcpg to assigned IP + fail-close on missing GH_TOKEN
Address security review findings from #1778:
1. Bind mcpg to its assigned IP (172.30.0.51) instead of 0.0.0.0 so
the agent container cannot reach mcpg directly. Previously mcpg
listened on all interfaces, making it reachable from any container
on awf-net.
2. Add fail-close guard: generateDockerCompose now throws if
enableCliProxy is set but githubToken is absent. mcpg requires a
token to enforce DIFC policies — running without one would bypass
integrity checks.
3. Use mcpg IP in healthcheck (not localhost) for TLS hostname
consistency with how cli-proxy connects via GH_HOST.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: align TLS hostname by sharing mcpg network namespace
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/b1a5ac57-6103-45c6-b689-67924f7df25b
* fix: remove duplicate comment block in docker-manager.ts
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/b1a5ac57-6103-45c6-b689-67924f7df25b
* fix: add retry logic to apt-get upgrade in agent Dockerfile (#1781)
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/1831b666-eb93-4772-9455-4604a64bfd24
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
0 commit comments