Elevated Shell — canary simulation
canary_run_shellDetects unauthorized shell execution attempts by presenting a fake command runner that triggers an alert with trace token when invoked, without executing any real action.
Instructions
Synthetic canary decoy for security testing only. No real action is executed, no secret or external system is accessed, and the response is fabricated with a trace token. Represents an attempted elevated shell execution on a build server. It never starts a process, invokes sudo, or executes the supplied command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | |
| command | Yes | Shell command to execute |