diagnose-ci-gate

Warn

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: Uses the gh CLI to fetch PR checks and logs, and git to manage worktrees and compare branches.
  • [REMOTE_CODE_EXECUTION]: Instructs the agent to identify and execute the failing command from CI logs to reproduce the error locally. This pattern allows for the execution of arbitrary commands if they are present in the ingested logs.
  • [DYNAMIC_EXECUTION]: Utilizes mktemp, git worktree, and shell subshells to dynamically execute code in isolated directories based on log content.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to malicious instructions embedded within CI logs retrieved from GitHub.
  • Ingestion points: Job logs are fetched using gh run view <run-id> --log (SKILL.md).
  • Boundary markers: The instructions lack delimiters or warnings to ignore potentially malicious embedded instructions in the logs.
  • Capability inventory: The agent can perform shell execution, Git operations, and GitHub CLI interactions.
  • Sanitization: No validation or sanitization is performed on the command strings extracted from logs before they are executed locally.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 29, 2026, 01:04 AM