process-runner
Pass
Audited by Gen Agent Trust Hub on May 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides capabilities to execute and manage system subprocesses safely.
- Evidence: The
runandrun_backgroundcapabilities inSKILL.mdutilize Python'ssubprocessmodule to execute shell commands. - Security Controls: Implements a mandatory
intentrequirement for every execution to ensure auditability and human-readable logs. - Security Controls: Prevents system damage via a blocklist (
BLOCKED_PATTERNS) that explicitly prohibits destructive commands such as recursive deletion (rm -rf /), partition formatting (mkfs), and fork bombs (:(){ :|:& };:). - Security Controls: Enforces execution limits with a default 60-second timeout (max 1 hour) to prevent denial-of-service via resource exhaustion.
- Security Controls: Documentation explicitly forbids running commands as root/sudo without explicit approval and provides guidance against piping untrusted input.
- Mitigation: Employs
shlex.splitfor safe argument parsing when not running in shell mode. - [PROMPT_INJECTION]: The skill manages the risk of indirect prompt injection as it executes commands originating from other agents or task contexts.
- Ingestion points: The
commandparameter inSKILL.mdandschema.yamlserves as the entry point for external instructions. - Boundary markers: Utilizes a regex-based blocklist and mandatory timeouts as boundaries to contain process execution.
- Capability inventory: Core capabilities include arbitrary subprocess execution (
subprocess.run,subprocess.Popen) and process termination (os.kill). - Sanitization: Implements strict validation of input commands against the
BLOCKED_PATTERNSregex and provides pre-validation through theis_blockedcapability.
Audit Metadata