Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

agentic-actions-auditor

Skill by trailofbits

Audits GitHub Actions workflows that run AI coding agents for security risks. It flags ways attacker-controlled input can reach an agent's prompt, including env var intermediaries, expression injection, unsafe sandbox settings, and wildcard user allowlists.

  • Score 92
  • 8.7k stars
  • CC-BY-SA-4.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install agentic-actions-auditor

Built from the published package, never by AI.

git clone --depth 1 https://github.com/trailofbits/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/plugins/agentic-actions-auditor/skills/agentic-actions-auditor ~/.claude/skills/agentic-actions-auditor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agentic-actions-auditor in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is static security analysis guidance for GitHub Actions workflows that invoke AI coding agents. It finds workflow files in a local repository or a remote GitHub repository, identifies steps that use supported AI actions, and follows local composite actions and reusable workflows one level deep.

It captures security-relevant settings such as prompts, sandbox modes, tool permissions, user allowlists, and trigger events like pull_request_target and issue_comment. It then checks whether attacker-controlled input can reach an agent prompt and reports findings without modifying files. It is aimed at security reviewers and maintainers auditing CI/CD pipelines that use AI agents.

Written from the project's SKILL.md and checked against it.

What it can do

  • Workflow discoveryFinds workflow files in a local repository or a remote GitHub repository.
  • AI action detectionFlags steps that use Claude Code Action, Gemini CLI, OpenAI Codex, or GitHub AI Inference.
  • Cross-file resolutionFollows local composite actions and reusable workflows that may hide AI agents.
  • Env var intermediary checkTraces data from env blocks into AI agent prompts.
  • Expression injection checkDetects direct expression injection in prompts.
  • Sandbox reviewFlags dangerous sandbox settings such as danger-full-access and unsafe modes.
  • Allowlist reviewFlags wildcard user allowlists that let any user trigger an agent.
  • Trigger reviewFlags triggers like pull_request_target and issue_comment that expose input to outsiders.

What you need

  • GitHub CLI (gh) for remote repository analysis
  • GitHub authentication via gh auth login for private or remote repositories

Try asking

  • Audit the GitHub Actions workflows in this repo for AI agent risks
  • Check whether attacker input can reach the prompt of my Claude Code Action
  • Review owner/repo's workflows for dangerous sandbox or allowlist settings

Good to know

  • Static analysis only. It does not test prompt injection at runtime.
  • Does not modify or auto-fix workflow files.
  • Only covers GitHub Actions, not Jenkins, GitLab CI, or CircleCI.
  • Resolves cross-file references only one level deep.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/agentic-actions-auditor/skills/agentic-actions-auditor/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Grep Glob Bash

  • SKILL.md21 KB
  • agents/openai.yaml239 B
  • assets/trail-of-bits-mark.svg3 KB
  • references/action-profiles.md9 KB
  • references/cross-file-resolution.md12 KB
Show all 15 files
  • references/foundations.md7 KB
  • references/vector-a-env-var-intermediary.md4 KB
  • references/vector-b-direct-expression-injection.md5 KB
  • references/vector-c-cli-data-fetch.md5 KB
  • references/vector-d-pr-target-checkout.md5 KB
  • references/vector-e-error-log-injection.md5 KB
  • references/vector-f-subshell-expansion.md6 KB
  • references/vector-g-eval-of-ai-output.md5 KB
  • references/vector-h-dangerous-sandbox-configs.md6 KB
  • references/vector-i-wildcard-allowlists.md4 KB

Alternatives to agentic-actions-auditor

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

agentic-actions-auditor: common questions

Which AI agents does the agentic-actions-auditor skill check?

It checks workflows that use Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Other actions are not listed in the source.

Does it change my workflow files?

No. The source says the skill reports findings and does not modify files.

What is an env var intermediary pattern?

It is when data flows through an env block into an AI prompt, so the prompt has no visible expression even though the agent receives attacker-controlled input.

How do I install agentic-actions-auditor?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is agentic-actions-auditor free?

The code is published under the CC-BY-SA-4.0 licence. The service it connects to may have its own pricing.

Is agentic-actions-auditor safe to use?

It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to agentic-actions-auditor?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

agentic-actions-auditor Install

Add to stack

Loading.