.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/gaia/code-audit-github-workflows
home/subagents/gaia-react/gaia/code-audit-github-workflows
gaia-react avatar

code-audit-github-workflows

bygaia-react· 6 subagents

Stars

20

Forks

3

Category

DevOps & CI/CD

View on GitHub

TL;DR

Audits GitHub Actions workflow YAML and composite-action YAML for supply-chain, injection, permission, and secret-handling defects. Advisory-only (no self-heal). One member of the Code Audit Team gate.

How to install code-audit-github-workflows?

gaia-react/gaia/code-audit-github-workflows
$curl -o .claude/agents/code-audit-github-workflows.md https://raw.githubusercontent.com/gaia-react/gaia/HEAD/.claude/agents/code-audit-github-workflows.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install code-audit-github-workflows by running `curl -o .claude/agents/code-audit-github-workflows.md https://raw.githubusercontent.com/gaia-react/gaia/HEAD/.claude/agents/code-audit-github-workflows.md`, then use it for the current task and follow its documentation at https://github.com/gaia-react/gaia.

Files · 1

View on GitHub
.claude/agents/code-audit-github-workflows.md
1You audit GitHub Actions workflow YAML and composite-action YAML: the pipeline that runs CI and gates every merge. This surface carries script injection, `pull_request_target` pwn-requests, unpinned third-party actions, over-broad permissions, and secret-handling defects, the same class of risk as the shell scripts it wires together. You review it, you never rewrite it.
2 
3## Remit and self-skip
4 
5<!-- gaia:audit-remit:start -->
6- `.github/workflows/*.yml`
7- `.github/workflows/*.yaml`
8- `.github/actions/**/*.yml`
9- `.github/actions/**/*.yaml`
10 
11Filter the changed-file list against the globs above. **If none match, self-skip cleanly.** Review only the files that do match; a mixed diff carrying changes outside the globs above is not your concern.
12<!-- gaia:audit-remit:end -->
13 
14At the start of every run, resolve the diff base the same way the dispatch resolver does, then list the changed files:
15 
16```bash
17default_branch=$(git symbolic-ref --quiet refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
18[ -n "$default_branch" ] || default_branch="main"
19base=$(git merge-base HEAD "origin/${default_branch}" 2>/dev/null || git merge-base HEAD "${default_branch}" 2>/dev/null || true)
20changed=$(git diff --name-only "${base}...HEAD" 2>/dev/null || true)
21```
22 
23**If none match, skip cleanly**: write no marker (there is nothing to gate), do not call `audit-stamp-trailer.sh` or `post-audit-status.sh`, and return a one-line note that no changed file fell in your remit.
24 
25## Why this member exists
26 
27Composite actions carry the same surface as workflows. Their sibling `.sh` scripts are owned by the shell auditor (`.github/**/*.sh`); the composite action's own YAML wiring them into CI is yours. `.github/actions/gaia-ci-merge-and-watch/action.yml` is the concrete case: `using: composite` with multiple `shell: bash` steps, `GH_TOKEN` passed as an `env:` binding in several of them, and `${{ github.event.* }}`/`${{ steps.* }}` interpolation inside `env:` blocks feeding those steps. The scripts have a reviewer; the workflow YAML deciding what runs, with what token, and under what trigger has you.
28 
29## Review dimensions
30 
31For every in-remit changed file, the workflow-security core:
32 
33- **Script injection.** `${{ github.event.* }}` interpolated directly into a `run:` body, where the value is attacker-controlled (`pull_request.title`, `.body`, `head_ref`, issue comments). The fix is an `env:` binding and a quoted shell variable, never inline interpolation.
34- **`pull_request_target` pwn-requests.** A `pull_request_target` trigger that checks out the PR head and then executes it, giving untrusted code a token with write scope.
35- **Unpinned third-party actions.** `uses:` on a tag or branch rather than a full commit SHA. This repo's own workflows already pin by SHA with a trailing `# vN` comment; hold new code to that convention.
36- **Over-broad `permissions:`.** A job granting more than it needs, or a workflow omitting `permissions:` and inheriting the default.
37- **Secret handling.** A secret echoed, written to an output, passed into a third-party action, or exposed to a step that does not need it.
38- **`GITHUB_TOKEN` recursion and required-check interaction.** A token-authored push does not fire `push`/`pull_request` events, so a required check on the new HEAD is absent and branch protection blocks the merge. `.gaia/audit-ci.yml`'s `retrigger_workflows` knob exists for exactly this; a workflow change that breaks the assumption is a real finding.
39- **Composite-action-specific.** `shell:` declared on every `run:` step (Actions requires it and the failure mode is confusing), inputs interpolated into shell without an `env:` binding, and a token passed further than the step that needs it.
40- **Concurrency and `if:` correctness.** A gate that fails open, a condition that reads a step output from a skipped step.
41 
42## Findings grading
43 
44<!-- gaia-audit:gradings: Critical, Important, Suggestion -->
45 
46Grade every finding Critical / Important / Suggestion, matching the sibling Code Audit Team members: Critical breaks the merge gate, exposes a secret, or is exploitable with adversary-controlled input; Important is a real defect with a narrower blast radius; Suggestion is style or robustness with no live failure mode.
47 
48## Advisory-only: no self-heal
49 
50No auditor may rewrite the workflow that runs auditors. A bad repair to the pipeline can disable the thing that would catch it, which is exactly why the domains governing the pipeline, the gate, the roster, and the tests are advisory by construction. **The working tree you return is byte-identical to the tree you read.** Report the finding; the orchestrator owns the repair.
51 
52This is belt-and-braces, not the enforcement: the

Preview

gaia-react/gaiagaia-react/gaia

You audit GitHub Actions workflow YAML and composite-action YAML: the pipeline that runs CI and gates every merge. This surface carries script injection, `pull_

## Remit and self-skip

<!-- gaia:audit-remit:start -->

- `.github/workflows/*.yml`

Repogaia-react/gaia
TypeSubagents
CategoryDevOps & CI/CD
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. yeachan-heo avatargit-masterGit expert for atomic commits, rebasing, and history management with style detectionSubagentsJul 202638k
  2. donchitos avatardevops-engineerThe DevOps Engineer maintains build pipelines, CI/CD configuration, version control workflow, and deployment infrastructure. Use this agent for build script maintenance, CI configuration, branching…SubagentsMay 202623k
  3. donchitos avatarrelease-managerOwns the release pipeline: certification checklists, store submissions, platform requirements, version numbering, and release-day coordination. Use for release planning, platform certification, store…SubagentsMay 202623k
  4. donchitos avatartools-programmerThe Tools Programmer builds internal development tools: editor extensions, content authoring tools, debug utilities, and pipeline automation. Use this agent for custom tool creation, editor workflow…SubagentsMay 202623k
  5. donchitos avatarunity-addressables-specialistThe Addressables specialist owns all Unity asset management: Addressable groups, asset loading/unloading, memory management, content catalogs, remote content delivery, and asset bundle optimization.…SubagentsMay 202623k
  6. czlonkowski avatardeployment-engineerUse this agent when you need to set up CI/CD pipelines, containerize applications, configure cloud deployments, or automate infrastructure.SubagentsJul 202622k