ce-optimize
Warn
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes arbitrary shell commands defined in the optimization specification's
measurement.commandfield. This is handled byscripts/measure.sh, which usesbash -cto run the command. This allows for unrestricted command execution within the environment whenever the optimization loop runs. - [DATA_EXFILTRATION]: The
scripts/experiment-worktree.shscript automatically discovers and copies all.env*files from the repository root into every experiment worktree created during the optimization process. This increases the exposure of sensitive credentials and environment variables by duplicating them across multiple local directories. - [PROMPT_INJECTION]: The skill possesses a significant surface for indirect prompt injection. It ingests untrusted data from the repository (the code being optimized) and uses it to generate new code variants and judge results. This could allow malicious instructions embedded in the codebase to influence the agent's behavior, subvert the optimization logic, or manipulate the scoring rubric.
- [COMMAND_EXECUTION]: The skill performs automated Git management, including branch creation and the use of
git worktree. It also modifies files within thescope.mutabledefined in the user's specification. This automated manipulation of the repository structure and content requires high privileges and should be monitored.
Audit Metadata