execute-codex-goal

Pass

Audited by Gen Agent Trust Hub on Sep 9, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The provided script scripts/core_harness.py executes a wide range of shell commands using subprocess.run, primarily for Git repository management. These include operations like git commit, git merge, and git worktree management. The script also includes functions that perform recursive directory deletion (shutil.rmtree) on paths determined by configuration files.
  • [DYNAMIC_EXECUTION]: The run_dynamic_baseline function in scripts/core_harness.py is designed to execute arbitrary command arguments (argv) extracted from a descriptor object. Although this function is not explicitly mapped to a CLI command in the script's entry point, it remains available in the runtime environment provided to the agent.
  • [INDIRECT_PROMPT_INJECTION]: The skill's workflow is heavily dependent on untrusted data ingested from the local repository, specifically files like contract.json, work.json, and .harness/project.yaml. 1. Ingestion points: The agent is instructed to read and verify these files (SKILL.md, steps 1, 6, and 8) to determine its tasks and authorized scope. 2. Boundary markers: The skill lacks explicit instructions to treat the content of these JSON/YAML files as untrusted or to ignore instructions embedded within data fields. 3. Capability inventory: The core_harness.py script provides the agent with the ability to modify the file system, commit changes to Git, and execute commands based on these ingested records. 4. Sanitization: While the script implements basic path validation to prevent repository escapes, it does not sanitize the semantic intent of the tasks or test criteria defined in the contracts.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 9, 2026, 12:12 PM