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
{{ message }}
Repository navigation
Commit d9ccd2d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): sandbox the claude-code harness and run the local ACP on loopback
VULN-3136. The three claude-code templates (and their tutorials) spawned
`claude -p` in the ACP's working directory, which under `agentex agents run`
is the project directory holding .env, with the ACP's full environment and
no tool policy, while `agentex agents run` served the unauthenticated ACP
on 0.0.0.0.
- Spawn the CLI in a per-task scratch directory under the temp dir (stable
across turns, so Temporal `-r <session_id>` resume still works), with only
ANTHROPIC_API_KEY, PATH, HOME and USER in its environment.
- Pass an explicit policy: read-only tools (--tools Read,Glob,Grep),
--permission-mode dontAsk, no setting sources, --strict-mcp-config.
- Pin @anthropic-ai/claude-code@2.1.142 in the template and tutorial
Dockerfiles, the version the tutorials CI installs.
- `agentex agents run` now listens on 127.0.0.1. Override with
--host 0.0.0.0 or AGENTEX_AGENT_HOST=0.0.0.0; the tutorials CI sets the
variable because its Docker server reaches agents through host-gateway.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments