Docker Sandboxing
Executing untrusted AI-generated scripts directly on your host machine introduces serious security and data-loss risks.
Security Guarantees
Nexum runs every shell command inside an isolated container with:
- No Network Access (
--network=none): Blocks data exfiltration and external malware downloads. - Resource Bounds: Caps memory (2 GB) and CPU cores to avoid resource starvation.
- Output Ceiling & Process Escalation: If command stdout/stderr exceeds 2 MiB, a
SIGKILLis issued immediately. - Volume Mounting: Only the target workspace directory is mounted into the container.