
Agentic Actions Auditor
SkillTrail of Bits 出品的技能:审计接入 AI 编码 agent(Claude Code Action、Codex、Gemini CLI 等)的 GitHub Actions 工作流,检测提示注入、env 变量中转、危险沙箱配置与通配符 allowlist 等越权风险。
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
相關資源

zizmor
CLICI/CD 配置的安全静态分析工具:找出 GitHub Actions 工作流中的模板注入、凭据泄露、权限过大等问题,也覆盖 Dependabot 与 pre-commit 配置,部分问题可自动修复。
zizmorcore/zizmor6.7k
Supply Chain Risk Auditor
SkillTrail of Bits 出品的技能:审计 npm、PyPI、Go 依赖的供应链风险——直接依赖与整棵锁文件树的已知漏洞公告、已弃用或归档的上游、npm 发布者集中度、安装期脚本执行。需要 uv,建议配置已登录的 gh。
trailofbits/skills7.6k
Static Analysis
SkillTrail of Bits 出品的静态分析技能组:用 CodeQL 做跨过程污点追踪与数据流分析,用 Semgrep 做规则扫描,并解析、去重 SARIF 结果。需本机安装 CodeQL 或 Semgrep。
trailofbits/skills7.6k
TruffleHog
CLI在 Git、GitHub、S3、文件系统等来源中查找泄露的凭据,可识别 800 多种密钥类型,并登录对应服务验证密钥是否仍然有效,减少误报。
trufflesecurity/trufflehog28.5k
Grype
CLI扫描容器镜像、文件系统目录与 SBOM 中的已知漏洞,覆盖主流 Linux 发行版软件包和多种语言依赖,支持按 EPSS、KEV 排序风险,也支持用 OpenVEX 过滤结果,适合在 CI 中做漏洞门禁。由 Anchore 官方维护。
anchore/grype13k
Differential Review
SkillTrail of Bits 出品,从安全视角审查 PR、提交或 diff:结合 git blame 追溯历史、按调用方数量估算改动影响范围、检查测试覆盖缺口,输出 Markdown 审查报告。
trailofbits/skills7.6k