gh-ticket

Fail

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands using the GitHub CLI (gh). In Phase 5, it specifically suggests using shell heredocs to pass ticket bodies to the CLI: gh issue create --body "$(cat <<'EOF' [content] EOF )". This pattern is highly susceptible to command injection if the content contains the delimiter.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from untrusted or external sources to populate tickets. This includes:
  • Ingestion points: Data is gathered from existing GitHub issues (gh issue view), user-provided notes, and local code investigations.
  • Boundary markers: There are no boundary markers or sanitization logic to prevent the content from interacting with the shell syntax.
  • Capability inventory: The skill has access to shell execution, network operations (via gh), and file system exploration (find, grep, git).
  • Sanitization: There is no evidence of escaping or validating the content before it is placed into a shell command.
  • [DATA_EXFILTRATION]: Because an attacker can break out of the heredoc via indirect prompt injection, they can execute commands to read and exfiltrate sensitive environment variables, configuration files (like .aws/credentials or .env), or private source code to an external server using tools like curl or gh.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 12, 2026, 11:37 PM