Skip to content

feature - sandboxing mcp tooling via zypi, and/or docker, and/or bubblewrap #265

@allen-munsch

Description

@allen-munsch

I wanted to stop by to add that if we begin using the MCP tools enabled in this branch, we should really consider adding sandboxing of some kind, gemini cli has some limited form of this, including tool exclusions

so you can exclude ShellCommand(rm -rf) from running for example, and add a "sandbox": true, which then runs the tool within a docker container.

I've been experimenting a bit with this using firecracker VMs, with openapi spec mcp generations

Its hard to believe how fast the tools have come in the last year, well maybe not considering how incredible aider was just 9 months ago, seems antiquated already.

This issue I believe also brings up a good example using cgroups via bubblewrap.

All very serious concerns, considering agent systems can dangerously make mistakes, intended or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions