Agent skill · Security

agentic-actions-auditor

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

trailofbitsgithub.com/trailofbitsGitHub ↗
claude-codecan modify filesCC-BY-SA-4.0
Install
npx skills add trailofbits/skills --skill agentic-actions-auditor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 15
SKILL.md size: 21 KB
Bundled scripts: none
Allowed tools: ReadGrepGlobBash
Path: plugins/agentic-actions-auditor/skills/agentic-actions-auditor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 6,426
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Static security analysis guidance for GitHub Actions workflows that invoke AI coding agents. It teaches how to discover workflow files locally or from remote GitHub repositories, identify AI action steps, follow cross-file references to composite actions and reusable workflows that may contain hidden AI agents, capture security-relevant configuration, and detect attack vectors where attacker-controlled input reaches an AI agent running in a CI/CD pipeline.

How it works

  1. Detect analysis mode (local vs. remote) based on repository URL or identifier.
  2. Discover workflow files by globbing ".github/workflows/.yml" and ".github/workflows/.yaml" at the repository root.
  3. Read each discovered workflow file and identify steps with a uses: reference that matches known AI actions (anthropics/claude-code-action, google-github-actions/run-gemini-cli, google-gemini/gemini-cli-action, openai/codex-action, actions/ai-inference).
  4. Record per-matched step: workflow file path, job name, step name or id, full uses: value, and action type.
  5. If no AI action steps are found, report accordingly.
  6. For each AI action step, capture Step-Level Configuration specifics (prompt, claude_args, allowed_non_write_users, allowed_bots, settings, trigger_phrase for Claude; prompt, settings, gemini_model, extensions for Gemini CLI; prompt, prompt-file, sandbox, safety-strategy, allow-users, allow-bots, codex-args for Codex; prompt, model, token for AI Inference).
  7. Capture Workflow-Level Context (trigger events, env blocks, permissions).
  8. Produce a Summary Output listing counts of AI action instances by type.
  9. Analyze for attack vectors by consulting foundational references and applying detection heuristics to the captured security context.

When to use it

  • Auditing a repository's GitHub Actions workflows for AI agent security
  • Reviewing CI/CD configurations that invoke Claude Code Action, Gemini CLI, or OpenAI Codex
  • Checking whether attacker-controlled input can reach AI agent prompts
  • Evaluating agentic action configurations (sandbox settings, tool permissions, user allowlists)
  • Assessing trigger events that expose workflows to external input
  • Investigating data flow from GitHub event context through env blocks to AI prompt fields

What it can touch

  • Tools: Read, Grep, Glob, Bash
  • It analyzes workflow files locally in the repository and uses Glob to locate workflow files, then reads contents to identify AI action steps and their configurations.

Caveats

  • This is static analysis guidance and does not perform runtime testing or exploitation.
  • It reports findings but does not modify any workflow files.
  • It relies on the presence and correctness of workflow files and their uses: references to known AI actions; nested or cross-file references are resolved only one level deep.
From the SKILL.md

# Agentic Actions Auditor Static security analysis guidance for GitHub Actions workflows that invoke AI coding agents. This skill teaches you how to discover workflow files locally or from remote GitHub repositories, identify AI action steps, follow cross-file references to composite actions and reusable workflows that may contain hidden AI agents, capture security-relevant configuration, and detect attack vectors where attacker-controlled input reaches an AI agent running in a CI/CD pipeline. ## When to Use - Auditing a repository's GitHub Actions workflows for AI agent security - Reviewing CI/CD configurations that invoke Claude Code Action, Gemini CLI, or OpenAI Codex - Checking whether attacker-controlled input can reach AI agent prompts - Evaluating agentic action configurations (sandbox settings, tool permissions, user allowlists) - Assessing trigger events that expose workflows to external input (`pull_request_target`, `issue_comment`, etc.) - Investigating data flow from GitHub event context through `env:` blocks to AI prompt fields ## When NOT to Use - Analyzing workflows that do NOT use any AI agent actions (use general Actions security tools instead) - Reviewing standalo

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Rationalizations to Reject
  4. Audit Methodology
  5. Step 0: Determine Analysis Mode
  6. Step 1: Discover Workflow Files
  7. Step 2: Identify AI Action Steps
  8. Step 3: Capture Security Context
  9. Step 4: Analyze for Attack Vectors
  10. Step 5: Report Findings
  11. Detailed References
Ships with 14 files
  • agents/openai.yaml
  • assets/trail-of-bits-mark.svg
  • references/action-profiles.md
  • references/cross-file-resolution.md
  • references/foundations.md
  • references/vector-a-env-var-intermediary.md
  • references/vector-b-direct-expression-injection.md
  • references/vector-c-cli-data-fetch.md
  • references/vector-d-pr-target-checkout.md
  • references/vector-e-error-log-injection.md
  • references/vector-f-subshell-expansion.md
  • references/vector-g-eval-of-ai-output.md
  • references/vector-h-dangerous-sandbox-configs.md
  • references/vector-i-wildcard-allowlists.md
More from skills
All skills →
About this skill
What does the agentic-actions-auditor skill do?

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

How do I install it?

Run `npx skills add trailofbits/skills --skill agentic-actions-auditor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From trailofbits/skills, a repository with 6,426 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going