Document custom sandbox configurations via YAML

This commit is contained in:
Levi Neely 2026-03-18 23:50:41 +01:00
parent 1a87b1ae7e
commit 20e574ac26
2 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,8 @@ By default (when the `sandbox` argument is not specified), `execute_code` uses t
For higher-risk scenarios (e.g., running untrusted scripts, processing sensitive data), the `anvilmcp` sandbox should be explicitly specified to ensure the tighter restrictions are enforced — it uses a temporary workspace, minimal filesystem access, and a restricted set of environment variables. For higher-risk scenarios (e.g., running untrusted scripts, processing sensitive data), the `anvilmcp` sandbox should be explicitly specified to ensure the tighter restrictions are enforced — it uses a temporary workspace, minimal filesystem access, and a restricted set of environment variables.
Custom sandbox configurations can be created by adding a YAML file to the `sandbox/` subdirectory in the anvillm config directory (`~/.config/anvillm/sandbox/`). These can be as permissive or restricted as desired.
### Adjusting Timeout ### Adjusting Timeout
Default: 30 seconds Default: 30 seconds

View File

@ -320,6 +320,8 @@ By default (when the `sandbox` argument is not specified), `execute_code` uses t
For higher-risk scenarios (e.g., running untrusted scripts, processing sensitive data), the `anvilmcp` sandbox should be explicitly specified to ensure the tighter restrictions are enforced — it uses a temporary workspace, minimal filesystem access, and a restricted set of environment variables. For higher-risk scenarios (e.g., running untrusted scripts, processing sensitive data), the `anvilmcp` sandbox should be explicitly specified to ensure the tighter restrictions are enforced — it uses a temporary workspace, minimal filesystem access, and a restricted set of environment variables.
Custom sandbox configurations can be created by adding a YAML file to the `sandbox/` subdirectory in the anvillm config directory (`~/.config/anvillm/sandbox/`). These can be as permissive or restricted as desired.
### bash Permissions ### bash Permissions
```bash ```bash