Files
Yash Shah c20fa9a25a fix(v0.8.1): soft egress honesty, fetch hooks, localhost SSRF
Do not claim network_isolated for soft allowlists; patch Node fetch/http; require explicit localhost allowlisting; merge PYTHONPATH/NODE_OPTIONS.
2026-09-19 00:10:09 +05:30

2.7 KiB
Raw Permalink Blame History

Changelog

[0.8.1] - 2026-09-19

  • Honest soft-allowlist isolation; Node fetch/http hooks; localhost SSRF guard

[0.8.0] - 2026-09-18

Added

  • Egress allowlists: AGENTBOX_EGRESS_ALLOWLIST=host[:port],... and per-request egress_allowlist
  • Empty allowlist + deny → Docker --network=none / Linux netns (unchanged)
  • Non-empty allowlist → soft userspace filter (Python sitecustomize / Node --require); response includes egress_allowlist
  • Request list must be a subset of the global allowlist when the global list is set

Notes

  • Soft allowlist is not a kernel firewall; determined code can bypass. Prefer Docker + short allowlists.

[0.7.0] - 2026-09-14

Added

  • Production-oriented Docker sandbox backend (AGENTBOX_SANDBOX_BACKEND=docker)
    • Ephemeral docker run --rm with workspace mounted at /work
    • --network=none by default; --memory from limits.memory_mb
    • Images: AGENTBOX_DOCKER_IMAGE (default python:3.12-slim), AGENTBOX_DOCKER_NODE_IMAGE (default node:20-slim)
    • Snapshots still work via host-side tar of the mounted workspace
  • Clear error when the docker CLI is missing
  • sandbox_backend values: subprocess (default) | docker | unrestricted

Notes

  • Subprocess remains the default for easy local tests; Docker is recommended for stronger isolation

[0.6.0] - 2026-09-14

Added

  • Real default-deny egress on Linux when possible: wrap runs with unshare --net (preferred) or bwrap --unshare-net
  • Run response includes network_isolated so callers know whether netns wrapping applied

Notes

  • macOS and hosts without unshare/bwrap still scrub credentials only (network_isolated: false)

[0.5.0] - 2026-09-14

Added

  • Run response includes limits_applied: {timeout_seconds, memory_mb} (values after defaults/clamping)
  • Run response includes oom_killed heuristic for memory-limit failures
  • AGENTBOX_MAX_MEMORY_MB clamps requested memory_mb (reports clamped value in limits_applied)

[0.4.0] - 2026-09-14

Added

  • limits.memory_mb on POST /v1/run — applies RLIMIT_AS in the child process (16–8192 MB)
  • Optional AGENTBOX_DEFAULT_MEMORY_MB and SDK memory_mb= passthrough

[0.3.0] - 2026-08-19

Added

  • Workspace snapshot/restore (snapshot: true / snapshot_id) so agents can keep files across runs

[0.2.0] - 2026-08-19

Added

  • JavaScript/Node runtime (language: javascript|node)
  • Per-request limits.timeout_seconds (408 on timeout)
  • TypeScript client at sdk/ts/client.ts
  • Credential stripping when backend is not unrestricted

Notes

  • Isolation is still subprocess, not gVisor

[0.1.0] - 2026-08-18

Added

  • FastAPI service with /health and /v1/run
  • Subprocess sandbox backend (MVP)
  • Python SDK client skeleton