phase-contract-workflow
Fail
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/planctl.rbutility executes shell commands defined in theplan/manifest.yamlconfiguration file using theOpen3.popen2emethod. Since these commands are executed within a shell environment (sh -lc), there is a risk of arbitrary command execution if the AI agent is manipulated into inserting malicious commands into the manifest during the generation process. - [DYNAMIC_EXECUTION]: The primary workflow of the skill involves the AI agent dynamically generating executable check commands (e.g., build and test scripts) in the
plan/manifest.yamlfile, which are subsequently executed by theplanctlscript at runtime. - [DATA_EXFILTRATION]: The
planctl completecommand automatically stages all workspace changes usinggit add -Aand pushes them to the configured remote repository. This process can lead to the unintentional exfiltration of sensitive files, credentials, or environment variables to the remote server if they are not explicitly excluded by a.gitignorefile. - [INDIRECT_PROMPT_INJECTION]: The skill ingests project descriptions via the
argument-hintparameter and uses them to generate theplan/manifest.yamlconfiguration. The shell commands generated in this manifest are executed by theplanctlscript without sanitization or boundary markers, creating an attack surface where malicious input could influence the agent to generate and run unauthorized commands.
Recommendations
- AI detected serious security threats
Audit Metadata