delegate-work

Fail

Audited by Gen Agent Trust Hub on Oct 28, 2026

Risk Level: HIGHCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses a bash script at scripts/codex-exec.sh to invoke the codex command-line tool for task execution.
  • [PRIVILEGE_ESCALATION]: The skill implements a mechanism to bypass security controls. The scripts/codex-exec.sh script includes logic to append the --dangerously-bypass-approvals-and-sandbox flag to the execution command when a CODEX_BYPASS environment variable is set. This bypass is documented as being for tasks that require writing outside of the designated working directory.
  • [EXTERNAL_DOWNLOADS]: The skill logic involves running bun install within git worktrees to download and install project dependencies from external registries.
  • [DYNAMIC_EXECUTION]: The scripts/codex-exec.sh script dynamically builds command-line arguments for the codex binary based on model variants and reasoning effort levels specified in the skill orchestration logic.
  • [INDIRECT_PROMPT_INJECTION]: The skill architecture creates an attack surface for indirect prompt injection by processing output from external execution units. 1. Ingestion points: The orchestrator reads and evaluates report files generated by the codex tool (via the -o flag). 2. Boundary markers: No explicit delimiters or instructions to ignore embedded commands are documented for the processing of these reports. 3. Capability inventory: The skill can execute shell scripts, spawn agents, perform git operations, and run package managers. 4. Sanitization: No sanitization or validation of the ingested executor reports is identified in the skill scripts or documentation.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 28, 2026, 11:40 PM