Repository navigation
Closed
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablesscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/featureType feature: a new function
Milestone
Description
Problem Statement
Workload sandboxes currently support limited network mode strings (bridge and none), lacking declarative, fine-grained networking isolation options required for safe execution of untrusted workloads, multi-container sandboxes, and hybrid environments.
Proposed Changes
SandboxNetworkMode&SandboxNetworkConfig:isolated: Isolated pod / container with zero external and zero local network access (loopback only, equivalent tonone/ zero-ingress-egress NetworkPolicy).sandbox_namespace: Restricted to intra-sandbox communication within a dedicated internal bridge / Kubernetes sandbox namespace (devops-sandbox-net/sandbox), without public internet gateway or host access.public_whitelist: Public internet access permitted strictly to explicitly whitelisted domains and public CIDRs/IPs; private RFC 1918 IPs, link-local, and cloud metadata (169.254.169.254) are rejected.local_whitelist: Access permitted strictly to explicitly whitelisted local/private URLs, hostnames, or IPs (e.g.http://localhost:11434,http://192.168.1.50:8000); arbitrary local port scanning or unlisted internal hosts are blocked.
- Kubernetes & Docker Network Policy Enforcement:
- Generate Kubernetes
NetworkPolicyspecifications enforcing the selected networking mode. - Support Docker network creation/attachment and
--add-host/ routing flags inWorkloadSandboxEngineandWorkloadSandboxRunner.
- Generate Kubernetes
- CLI & FastMCP Integration:
- Add
--network-mode,--public-whitelist,--local-whitelistoptions todevops sandbox deploy,devops docker sandbox, anddevops test sandbox. - Update FastMCP
sandbox_deployanddocker_sandboxtools.
- Add
- Comprehensive Test Suite:
- Unit tests validating all 4 modes, whitelist boundaries, validation errors, and NetworkPolicy generation.
Acceptance Criteria
- Full support for all 4 networking options across
devops sandboxanddevops docker sandbox. - 100% test pass and zero regressions in
devops ci.
Metadata
Metadata
Assignees
Labels
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablesscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/featureType feature: a new function
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(sandbox): remediate egress containment, dns resolution, and outpu…
fix(security): stream sandbox container output directly to sys stream…
feat(sandbox): multi-tier networking options and decommission task.md…
fix(sandbox): remediate egress containment, dns resolution, and outpu…
fix(security): stream sandbox container output directly to sys stream…
feat(sandbox): multi-tier networking options and decommission task.md (…
feat(release): v0.2.18 (#202)