unlazy
Warn
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/gate_check.pyscript executes arbitrary shell commands usingsubprocess.runwithshell=True. These commands are parsed directly from theCHECK:fields of markdown files located in the project's.outline/directory. - [INDIRECT_PROMPT_INJECTION]: The skill's operational model relies on ingesting and executing instructions from files in the workspace. This presents an attack surface where a malicious repository could include a pre-configured
.outline/GATES.mdfile containing harmful commands. - Ingestion points: The script reads from
.outline/GATES.mdand any.mdfiles within.outline/gates/(referenced inscripts/gate_check.py). - Boundary markers: No delimiters or warnings are used to distinguish between user-intended and potentially malicious commands in the gate files.
- Capability inventory: The skill has the capability to execute shell commands (
subprocess.run) and write to the filesystem (updating the gate files with evidence). - Sanitization: The command strings are passed to the shell without any escaping, filtering, or validation.
- [DYNAMIC_EXECUTION]: The script dynamically evaluates and executes command strings defined in document metadata at runtime, facilitating a workflow where executable logic is stored in plain-text markdown files.
Audit Metadata