agentic-actions-auditor — Claude Code skill: setup and audit
Inspects GitHub Actions workflows for prompt injection risks and insecure AI agent setups. Catches attacker inputs leaking into prompts via event contexts or environment variables.
npx skills add trailofbits/skills --skill agentic-actions-auditor -a claude-codeWhat agentic-actions-auditor does
This skill provides static inspection rules for GitHub Actions workflows that run Claude Code Action or Gemini CLI. It checks whether untrusted input reaches agent prompts directly or passes into prompt parameters through env: definitions. Dangerous triggers like pull_request_target and issue_comment receive special attention because external contributors can invoke them without maintainer rights.
The audit runs against local workflow YAML files or remote repositories via gh api. It inspects sandbox flags and wildcard tool permissions without executing remote code or mutating workflows. It handles static discovery rather than runtime prompt injection fuzzing.
What it helps with
- detect untrusted input reaching AI prompts via environment variables
- identify risky pull_request_target triggers in agentic pipelines
- spot disabled sandbox flags in workflow steps
- audit remote GitHub repositories for AI action vulnerabilities
Example prompts for the agent
- Audit our GitHub Actions workflows for AI prompt injection risks
- Analyze repository owner/repo for vulnerable agentic CI configurations
How to install agentic-actions-auditor
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill agentic-actions-auditor -a claude-code2Manually: put the files in place
~/.claude/skills/agentic-actions-auditor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agentic-actions-auditor/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill agentic-actions-auditor -a codex2Manually: put the files in place
.agents/skills/agentic-actions-auditor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill agentic-actions-auditor -a cursor2Manually: put the files in place
.cursor/skills/agentic-actions-auditor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install trailofbits/skills agentic-actions-auditor2Manually: put the files in place
.github/skills/agentic-actions-auditor/SKILL.md1Skills CLI (Vercel)
npx skills add trailofbits/skills --skill agentic-actions-auditor -a gemini-cli2Platform CLI
gemini skills install https://github.com/trailofbits/skills --path plugins/agentic-actions-auditor/skills/agentic-actions-auditorManually: put the files in place
.devin/skills/agentic-actions-auditor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add trailofbits/skills --skill agentic-actions-auditor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set35
The whole set →Similar
Questions about agentic-actions-auditor
How do I install agentic-actions-auditor in Claude Code?
Run npx skills add trailofbits/skills --skill agentic-actions-auditor -a claude-code.
What does agentic-actions-auditor do?
It audits GitHub Actions workflow files to locate attack paths where untrusted external data reaches AI coding agents.
Does the skill automatically modify or fix vulnerable workflow files?
No, it strictly reports security findings and leaves file modifications to the developer.