platform-runtime
Pass
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto executegitcommands and calls the local project executor (.plan/execute-script.py) for state management operations. These calls use the absolute path to the Python interpreter (sys.executable) and execute lists of arguments rather than shell strings, preventing typical command injection vulnerabilities.- [PROMPT_INJECTION]: Thesubagent_dispatchoperation (inscripts/_claude_runtime_impl.pyandscripts/opencode_runtime.py) interpolates context data into subagent prompts, creating a surface for indirect prompt injection. - Ingestion points: The
contextdictionary argument in thesubagent_dispatchmethods. - Boundary markers: Minimal; uses a
## Contextheader but lacks explicit delimiters or instructions to ignore embedded commands. - Capability inventory: The parameters are used to invoke the platform's native subagent tools (
Taskortask). - Sanitization: Values are converted to strings and joined without escaping.
- [SAFE]: The skill implements a security-enhancing
PreToolUseenforcement hook (scripts/claude_pretooluse_hook.py) that monitors and blocks dangerous behaviors such as shell loops, command substitution, and unauthorized edits to the project executor.
Audit Metadata