3 Commits
Author SHA1 Message Date
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
Yash Shah d1c349e59f feat(v0.8): egress allowlists for sandboxed runs
Support AGENTBOX_EGRESS_ALLOWLIST and per-request egress_allowlist.
Empty list keeps deny-all (Docker --network=none / Linux netns); a
non-empty list applies a soft Python/Node userspace filter and returns
the effective hosts on the run response.
2026-09-18 21:06:01 +05:30
Yash Shah a9d1c6554b feat(v0.7): Docker sandbox backend for real isolation
Context:
- Subprocess + netns probes are not enough for production agent code execution.
- Ephemeral docker run --rm with --network=none and optional --memory is the
  essential isolation path for agentbox-backed products like agentforge.

Test Plan:
- docker compose run --rm test
- ruff check src tests
- pytest tests/test_docker.py (mocks CLI; live skip without docker)

Additional Notes:
- Default remains subprocess for local/CI unit tests.
- Set AGENTBOX_SANDBOX_BACKEND=docker (plus Docker CLI/daemon) for production.
2026-09-14 23:49:33 +05:30