This was generated by AI during triage.
Goal
Fold the custom Kali Docker sandbox behavior into preferred/supported Mastra sandboxing, while retaining ExploitHunter’s Kali image and isolation requirements.
Scope
- Replace, retire, or reduce
src/mastra/config/docker-sandbox.ts in favor of the supported Mastra sandbox/provider path.
- Support
.env sandbox-provider configuration using meaningful values (provider, image/template, network mode/profile, resources, endpoint/region), without adding custom boolean flags.
- Preserve thread workspace semantics, approved execution, resource limits, offline default, and error visibility.
- Reuse the project-lab hardening/containment seam instead of maintaining a second Docker command builder.
Acceptance criteria
- Docker/custom sandbox behavior no longer bypasses the project lab hardening defaults.
- Provider selection and errors are deterministic and test-covered.
- Existing local development configuration remains explicit and safe by default.
Notes
This issue is being implemented in parallel; reconcile the delivered work and update the ticket with the resulting approach.
Goal
Fold the custom Kali Docker sandbox behavior into preferred/supported Mastra sandboxing, while retaining ExploitHunter’s Kali image and isolation requirements.
Scope
src/mastra/config/docker-sandbox.tsin favor of the supported Mastra sandbox/provider path..envsandbox-provider configuration using meaningful values (provider, image/template, network mode/profile, resources, endpoint/region), without adding custom boolean flags.Acceptance criteria
Notes
This issue is being implemented in parallel; reconcile the delivered work and update the ticket with the resulting approach.