Skip to content

Comments

add bubbleproc sandboxing#270

Draft
allen-munsch wants to merge 4 commits intodwash96:mainfrom
allen-munsch:add-bubbleproc
Draft

add bubbleproc sandboxing#270
allen-munsch wants to merge 4 commits intodwash96:mainfrom
allen-munsch:add-bubbleproc

Conversation

@allen-munsch
Copy link

@allen-munsch allen-munsch commented Dec 17, 2025

It seems to work, I need to add more testing scenarios:

07:44:22 (venv_3132) jm@pop-os aider-ce ±|main ✗|→ export OLLAMA_API_BASE=http://127.0.0.1:11434
07:44:28 (venv_3132) jm@pop-os aider-ce ±|main ✗|→ aider-ce --sandbox-verbose --model ollama_chat/qwen3-coder:30b
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Sandbox enabled:
   Project dir: /home/jm/projects/py/aider-ce
   Network: enabled
   RW paths: ['/home/jm/projects/py/aider-ce', '/tmp', '/home/jm/projects/py/aider-ce/venv_3132']

Which, theoretically would bring in sandbox protections like these for various agent toolings:

See here for a comprehensive list of tests it would attempt to sandbox out of the box:

https://github.com/allen-munsch/bubbleproc/blob/main/test_python_api.py

This references:

Signed-off-by: allen-munsch <james.a.munsch@gmail.com>
Signed-off-by: allen-munsch <james.a.munsch@gmail.com>
Signed-off-by: allen-munsch <james.a.munsch@gmail.com>
Signed-off-by: allen-munsch <james.a.munsch@gmail.com>
@dwash96
Copy link
Owner

dwash96 commented Dec 21, 2025

Hey, what are your thoughts on where this will go?

@allen-munsch
Copy link
Author

allen-munsch commented Dec 23, 2025

@dwash96 I think its fine for simple things like preventing accidental rm -rf type stuff, but something a bit more is actually needed, not just docker, but complete isolation via virtual machines, e.g. firecracker

experimentally sketched here:

or something that uses firecracker/vms under the hood is more in line with what is needed

just my 2 cents, i'm still learning about some of this stuff, trying to find the best tools, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants