20 lines
361 B
JSON
20 lines
361 B
JSON
{
|
|
"name": "trust_required",
|
|
"presets": {
|
|
"processes": [
|
|
{
|
|
"name": "untrusted",
|
|
"argv": ["sh", "-lc", "echo should-not-run"]
|
|
}
|
|
]
|
|
},
|
|
"steps": [
|
|
{
|
|
"type": "assert_mcp",
|
|
"method": "spawn_process",
|
|
"params": { "kind": "command", "preset": "untrusted" },
|
|
"error_kind": "needs_trust"
|
|
}
|
|
]
|
|
}
|