github-workflows
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the local filesystem by reading and parsing GitHub Actions workflow files within a user's repository.
- Ingestion points: The
readWorkflowsfunction inscripts/lib/workflows.mjsreads any file matching.ymlor.yamlin the.github/workflows/directory. - Boundary markers: The skill does not use explicit boundary markers or "ignore instructions" warnings when processing the contents of these workflow files.
- Capability inventory: The skill has significant capabilities, including executing shell commands via the
gh(GitHub CLI) andgittools, as well as writing to the local filesystem to generate or update workflows. - Sanitization: While the skill uses a custom YAML parser (
scripts/lib/yaml.mjs) to structure the data, it lacks mechanisms to prevent the model from obeying instructions embedded in YAML comments or metadata fields within those workflow files. - [COMMAND_EXECUTION]: The skill facilitates the execution of various commands through integrated shell scripts and the GitHub CLI (
gh). - Evidence:
scripts/ops.mjsprovides functionality to rungh workflow run,gh run rerun, andgh run watchbased on repository data. - Safety Mechanism: The skill implements a confirmation token system (
confirmTokeninscripts/lib/gh.mjs) which hashes the planned operation and requires user verification before high-risk actions (deploy/rollback) are executed, mitigating the risk of accidental or injected execution of destructive commands. - [PRIVILEGE_ESC_ANALYSIS]: The skill includes a dedicated utility,
scripts/permissions.mjs, which helps the user automate the configuration of host-level permissions (e.g., for Claude Code or Codex). While this script interacts with sensitive host configuration files like~/.claude/settings.json, it is designed to strictly follow user-approved choices from a structured prompt and includes validation to reject shell-metacharacters in command prefixes.
Audit Metadata