audit-ci
Skill2 starsChanged 15 days agoMITView on GitHub
Hardening review of CI workflow files
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NVIDIA/elementstheir own version, first seen Sep 18, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- NVIDIA/elements★ 122same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-testsSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-from-designSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-retroSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-descriptionSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Run actionlint on the target workflows.
- Distinctive: line 31
Read each workflow and check:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/audit-ci
Hardening review of CI workflows.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
Checking permissions, triggers, run: steps, secrets, or runners, step 2 | reference/workflow-hardening.md |
Run
Resolve a linked ticket or doc as skills/investigate step 0 describes, then dispatch the auditor agent (subagent_type: kit:auditor, foreground) with this file's procedure and the resolved arguments. It writes the report. Then run the report-format skill's Runtime checks yourself, and reply per skills/kit-rules/reference/output.md section 3.
Prerequisites
- No
.github/workflowsdirectory: stop and say so.
Procedure
- Run
actionlinton the target workflows. Each error is a finding. With noactionlint, skip this step and say so under "Needs a runtime check". - Read each workflow and check:
- Pinning: a
uses:of an action outside the repo pinned to a branch (@main) is awarning. - Permissions: a top-level or per-job
permissions:block granting only what the jobs use. None at all means the token's default scope, awarning. - Untrusted triggers:
pull_request_targetorworkflow_runthat checks out or runs the PR's code is afailure. - Injection:
${{ github.event.* }},${{ github.head_ref }}, or another attacker-set value interpolated intorun:is afailure. The fix passes it throughenv:. - Secrets: a secret echoed, written to a file or artifact, or passed to a step that runs PR code.
- Self-hosted runners on a workflow that public PRs can trigger.
- Pinning: a
- Infra files the jobs deploy are
/audit-infra's job.
Not a finding
- An event value interpolated into
run:that an attacker can't shape: a SHA, a number, or a boolean, such asgithub.event.pull_request.base.sha. Passing it throughenv:is still cleaner, asinfo. - A local action (
uses: ./...), which the repo itself pins. - An action pinned to a version tag (
@v4).
Output per finding
- The workflow and job, with
file:line - Evidence: the actionlint line, or the quoted YAML
- Severity: per the report-format skill's rubric, or as step 2 sets it
- Fix: the replacement YAML
Output file
Load the report-format skill and use its format. Write to the path kit scratch-dir ci <target-slug> prints.
Arguments: $ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

