Skip to content

feat: bash sandbox phase 2 — run commands in throwaway Docker container #26

Description

@AhmadHammad21

What

Run bash tool commands inside a throwaway Docker container instead of a host subprocess with an allowlist.

Why

On roadmap. The current allowlist is a software-only control. Docker gives OS-level isolation — a compromised or malformed command cannot affect the host.

How

  • Spin up amazon/aws-cli container per command with injected AWS credentials
  • Kill container after 30s timeout regardless of exit code
  • Drop the subprocess allowlist (Docker boundary replaces it)

Files

  • src/tools/bash_tool.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions