
Agentic Actions Auditor
SkillTrail of Bits skill that audits GitHub Actions workflows wired to AI coding agents (Claude Code Action, Codex, Gemini CLI and others) for prompt injection, env-variable relays, dangerous sandbox settings, wildcard allowlists and other privilege risks.
agentic-actions-auditor
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations. Detects misconfigurations and attack vectors specific to Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference when used in CI/CD pipelines.
What It Does
This plugin provides a security audit skill that analyzes GitHub Actions workflow YAML files for vulnerabilities arising from AI agent integrations. It focuses on scenarios where attacker-controlled input (pull request titles, branch names, issue bodies, comments, commit messages, file contents, environment variables) can reach an AI agent running with elevated permissions in CI.
Attack Vectors Detected
The skill checks for nine categories of security issues:
- A. Env Var Intermediary -- Attacker data flows through
env:blocks to AI prompt fields with no visible${{ }}expressions - B. Direct Expression Injection --
${{ github.event.* }}expressions embedded directly in AI prompt fields - C. CLI Data Fetch --
ghCLI commands in prompts fetch attacker-controlled content at runtime - D. PR Target + Checkout --
pull_request_targettrigger combined with checkout of PR head code - E. Error Log Injection -- CI error output or build logs fed to AI prompts carry attacker payloads
- F. Subshell Expansion -- Restricted tools like
echoallow subshell expansion (echo $(env)) bypass - G. Eval of AI Output -- AI response flows to
eval,exec, or unquoted$()in subsequent steps - H. Dangerous Sandbox Configs --
danger-full-access,Bash(*),--yolodisable safety protections - I. Wildcard Allowlists --
allowed_non_write_users: "*"orallow-users: "*"permit any user to trigger
Supported AI Actions
| Action | Repository | Notes |
|---|---|---|
| Claude Code Action | anthropics/claude-code-action | |
| Gemini CLI | google-github-actions/run-gemini-cli | Primary |
| Gemini CLI (legacy) | google-gemini/gemini-cli-action | Archived |
| OpenAI Codex | openai/codex-action | |
| GitHub AI Inference | actions/ai-inference |
Installation
From a project with the Trail of Bits internal marketplace configured:
/plugin menu
Select agentic-actions-auditor from the Security Tooling section.
Skills Included
| Skill | Description |
|---|---|
| agentic-actions-auditor | Audits GitHub Actions workflow files for AI agent security vulnerabilities |
Target Audience
- Security auditors reviewing repositories that use AI agents in CI/CD
- Developers configuring Claude Code Action, Gemini CLI, OpenAI Codex, or GitHub AI Inference in their workflows
- DevSecOps engineers establishing secure defaults for AI-assisted code review pipelines
Usage
Once installed, the skill activates automatically when Claude detects GitHub Actions workflow files (.github/workflows/*.yml) containing AI agent action references. You can also invoke it directly:
Audit the GitHub Actions workflows in this repository for AI agent security issues.
The skill produces a structured findings report covering each applicable attack vector with severity ratings and remediation guidance.
License
Ähnliche Ressourcen

zizmor
CLIStatic security analysis for CI/CD config: finds template injection, credential leaks, excessive permissions and more in GitHub Actions workflows, also covers Dependabot and pre-commit configs, and auto-fixes some findings.
zizmorcore/zizmor6.7k
Supply Chain Risk Auditor
SkillTrail of Bits skill that audits npm, PyPI and Go supply-chain risk: known advisories across direct deps and the whole lockfile tree, deprecated or archived upstreams, npm publisher concentration and install-time scripts. Needs uv; a logged-in gh is recommended.
trailofbits/skills7.6k
Static Analysis
SkillTrail of Bits static analysis skills: CodeQL for interprocedural taint tracking and data-flow analysis, Semgrep for rule-based scanning, plus parsing and deduplicating SARIF results. Requires CodeQL or Semgrep installed locally.
trailofbits/skills7.6k
TruffleHog
CLIFinds leaked credentials in Git, GitHub, S3, filesystems and more, recognizing 800+ secret types and checking with each service whether a key is still live to cut false positives.
trufflesecurity/trufflehog28.5k
Grype
CLIScans container images, filesystem directories and SBOMs for known vulnerabilities across major Linux distro packages and many language ecosystems, ranks risk by EPSS and KEV, and filters results with OpenVEX. Good for vulnerability gates in CI. Maintained by Anchore.
anchore/grype13k
Differential Review
SkillFrom Trail of Bits: reviews PRs, commits or diffs from a security angle, tracing history with git blame, estimating blast radius by caller count and checking test coverage gaps, then writes a Markdown review report.
trailofbits/skills7.6k