This repository has been archived on 2026-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
anvillm/cfg
Levi Neely 0d847f96f3 execute_code: configurable sandbox, fix dangerous patterns
- Add sandbox parameter to execute_code (default: anvilmcp)
- Load sandbox config from ~/.config/anvillm/sandbox/<name>.yaml
- Fallback to ./cfg/sandbox/<name>.yaml for development
- Add cwd config option: 'temp' for isolated workspace, '{CWD}' for caller's dir
- Create cfg/sandbox/anvilmcp.yaml with restricted defaults
- Update cfg/sandbox/default.yaml with cwd: '{CWD}'

Dangerous pattern fixes (bash, not JS/Python):
- Remove curl/wget block (network controlled by landrun)
- Remove chmod 777, eval(), exec() (wrong syntax)
- Allow /etc/passwd (world-readable, needed for user lookups)
- Fix /dev/ write check to only block /dev/sd* (not /dev/null)
- Fix eval pattern for actual bash usage

Update skills with explicit sandbox specifications:
- anvilmcp sandbox for normal operations
- default sandbox for spawn_agent.sh (needs full permissions)
2026-03-06 09:53:41 +01:00
..
backends hotfix: claude backend cfg 2026-02-24 12:54:41 +01:00
estimation feat: Conductor orchestration with intelligent time estimation 2026-03-01 16:43:01 +01:00
sandbox execute_code: configurable sandbox, fix dangerous patterns 2026-03-06 09:53:41 +01:00
global.yaml Make skills command conditional: use agent-prompt/agent-skills if available 2026-02-19 15:30:56 +01:00