Check Command & Path Safety
monaa_check_command_safetyEvaluates shell commands and file paths against MONAA security rules to block .env reads, destructive commands, symlink escapes, and self-protection tampering before execution.
Instructions
Evaluate a proposed shell command or file path against MONAA wire security rules (blocks .env reads, rm -rf, symlink escapes, and self-protection tampering in <50 us).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_name": "<tool_name>"
},
"name": "monaa_check_command_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file or directory path to evaluate. | |
| command | No | Optional shell command string to evaluate. | |
| tool_name | Yes | Tool name to check (e.g. bash, shell, read_file, write_file). |