[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2EHVF8PWJJH9Q4F375EH7":3,"skill-same:01M6C2EHVF8PWJJH9Q4F375EH7":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":68,"ownerHtmlUrl":69,"ownerBlogUrl":70,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6C2EHVF8PWJJH9Q4F375EH7","ci-workflow-audit",null,"Audit CI workflow files for supply-chain risk — unpinned actions, unpinned container images, pull_request-triggered jobs with secret access, curl-pipe-shell installers, and bare :latest tags. Produces a structured markdown report with file:line refs.","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fci-workflow-audit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"workflow audit","workflow","ci workflow audit","audit","ci","line","container","images","files","pipe","me","markdown","chain","release readiness","request","bare","audit ci","curl","access","Safety","risk","pipeline","supply-chain","start","actions","file","pull","release","help","container images","deployment","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: ci-workflow-audit\nplatforms: [all]\ndescription: Audit CI workflow files for supply-chain risk — unpinned actions, unpinned container images, pull_request-triggered jobs with secret access, curl-pipe-shell installers, and bare :latest tags. Produces a structured markdown report with file:line refs.\ntriggers:\n  - \"help with CI builds or deployment\"\n  - \"help me make the build or deployment path safer\"\n  - \"start with pipeline safety or release readiness\"\n  - \"pipeline safety ci\"\n---\n\n# ci-workflow-audit\n\nUse this skill when a user wants a one-shot scan of their CI workflows\nfor the supply-chain attack surface that the [ci-action-pinning rule](..\u002F..\u002Frules\u002Fci-action-pinning.md)\ndefines as forbidden. The rule is the gate (blocks new violations\npost-deployment); this skill is the discovery tool (surfaces existing\nviolations in a user repo).\n\nPairs with `npm-supply-chain-audit` (npm-ecosystem audit) — together\nthey cover most of the user-side risk surface that AIWG's own\nsupply-chain hardening (`v2026.5.3`) addresses on the AIWG side.\n\n## Triggers\n\n- \"audit workflow pinning\"\n- \"ci workflow audit\"\n- \"are my actions pinned\"\n- \"check container image pins\"\n- \"scan workflows for secrets\"\n- \"supply chain risk in CI\"\n\n## Scope\n\nAudits the following workflow file locations (all supported in parallel):\n\n| Platform | Path |\n|---|---|\n| GitHub Actions | `.github\u002Fworkflows\u002F*.yml`, `.github\u002Fworkflows\u002F*.yaml` |\n| Gitea Actions | `.gitea\u002Fworkflows\u002F*.yml`, `.gitea\u002Fworkflows\u002F*.yaml` |\n| GitLab CI | `.gitlab-ci.yml`, `.gitlab\u002F*.yml` (where applicable) |\n| Reusable workflows | `uses: .\u002F.github\u002Fworkflows\u002F*` references (transitive) |\n\nRead-only. No mutations.\n\n## Audit sequence\n\n### 1. Inventory workflow files\n\n```bash\nfind .github\u002Fworkflows .gitea\u002Fworkflows -type f \\( -name \"*.yml\" -o -name \"*.yaml\" \\) 2>\u002Fdev\u002Fnull\ntest -f .gitlab-ci.yml && echo \".gitlab-ci.yml\"\n```\n\nRecord the count. Each subsequent check iterates over this set.\n\n### 2. Action-pin audit — fail on tag-pinned `uses:`\n\n```bash\n# Detect floating tags (semver tags, branches, latest)\ngrep -rnHE '^\\s*-\\s*uses:\\s*[a-zA-Z0-9._-]+\u002F[a-zA-Z0-9._-]+@(v?[0-9]+(\\.[0-9]+)*|main|master|latest)\\s*(#.*)?$' \\\n  .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach match is a finding. Severity: **HIGH** (workflow runs arbitrary\nthird-party code with workflow's secret access).\n\nAcceptable exception: `uses: .\u002F` references (local reusable workflows\nin the same repo) — these pin to the calling commit. Flag separately\nas INFO and recurse into them to check their `uses:` references too.\n\n### 3. Container-image-pin audit — fail on tag-pinned `container:`\u002F`image:`\n\n```bash\ngrep -rnHE '^\\s*(container|image):\\s*[a-zA-Z0-9._\u002F-]+:[a-zA-Z0-9._-]+\\s*(#.*)?$' \\\n  .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull \\\n  | grep -v 'sha256:'\n```\n\nEach match without `@sha256:` is a finding. Severity: **HIGH** (same\nattack surface as actions; container provides the execution\nenvironment for every step).\n\n### 4. Bare `:latest` audit\n\n```bash\ngrep -rnHE ':latest\\b' .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach match is a finding. Severity: **CRITICAL** (`:latest` is the\ncanonical anti-pattern — captures both digest absence AND the most\nvolatile possible tag).\n\n### 5. PR-secret-exposure audit\n\nFor each workflow file, check whether any job triggered by\n`pull_request` references `secrets.*`:\n\n```bash\n# Identify pull_request-triggered jobs\nfor f in $(find .github\u002Fworkflows .gitea\u002Fworkflows -name \"*.yml\" -o -name \"*.yaml\" 2>\u002Fdev\u002Fnull); do\n  # Extract jobs that run on pull_request and check for secret references\n  awk '\u002F^on:\u002F,\u002F^[a-z]\u002F { print }' \"$f\" | grep -q 'pull_request' || continue\n  if grep -nE '\\${{\\s*secrets\\.' \"$f\" >\u002Fdev\u002Fnull 2>&1; then\n    echo \"POTENTIAL SECRET EXPOSURE in $f\"\n    grep -nE '\\${{\\s*secrets\\.' \"$f\"\n  fi\ndone\n```\n\nEach match is a finding. Severity: **CRITICAL** (a contributor PR\nfrom a fork can read repo secrets via the workflow's environment;\nclassic supply-chain attack vector documented in the Shai-Hulud\ncampaign).\n\nAcceptable exception: jobs gated with `if: github.event.pull_request.head.repo.full_name == github.repository`\n(only trusted maintainer PRs). Flag as INFO and verify the guard.\n\n### 6. Curl-pipe-shell installer audit\n\n```bash\ngrep -rnHE 'curl[^|]+\\|\\s*(bash|sh)' .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach `curl | sh` pattern is a finding. Severity: **MEDIUM** unless\nthe surrounding context includes a content-hash check (look for\n`sha256sum`, `OBSERVED_SHA`, `EXPECTED_INSTALL_SHA`) — if no hash\ncheck is present, severity is **HIGH**.\n\nThe recommended fix pattern (strict-mode opt-in) is documented in the\n[`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md) section\n\"Standalone tools pinned by version + checksum\".\n\n### 7. Pin-manifest presence audit\n\n```bash\ntest -f ci\u002Fdigests.txt || test -f .ci\u002Fdigests.txt || test -f docs\u002Fci\u002Fdigests.txt\n```\n\nIf no pin manifest exists, finding: **MEDIUM** (without a manifest,\ndiffs that change pinned references are not auditable).\n\n## Output format\n\nProduce a markdown report at `.aiwg\u002Fsecurity\u002Fworking\u002Fci-workflow-audit.md`\nwith the structure below. If the working directory doesn't exist,\ncreate it.\n\n```markdown\n# CI Workflow Audit\n\n**Generated**: \u003CISO timestamp>\n**Repo**: \u003Crepo path or URL>\n**Workflow files scanned**: \u003Ccount>\n\n## Findings\n\n### CRITICAL — Bare :latest tags\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n\n### CRITICAL — PR-triggered jobs reference secrets\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Mitigation: Gate the job with `if: github.event.pull_request.head.repo.full_name == github.repository`\n  OR move the secret-using step to a separate `workflow_run`-triggered workflow.\n\n### HIGH — Unpinned actions (tag-pinned uses:)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Resolve the pin: `git ls-remote https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo> refs\u002Ftags\u002F\u003Ctag>`\n  Replace `@\u003Ctag>` with `@\u003C40-char-sha>` and add a trailing `# \u003Cversion>` comment.\n\n### HIGH — Unpinned container images\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Resolve the digest: `docker pull \u003Cimage>:\u003Ctag>` then `docker inspect \u003Cimage>:\u003Ctag> --format='{{.Id}}'`\n  Replace with `\u003Cimage>:\u003Ctag>@sha256:\u003Cdigest>`.\n\n### HIGH — curl|sh without hash check\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Add observed-SHA logging and strict-mode opt-in per ci-action-pinning rule §\n  \"Standalone tools pinned by version + checksum\".\n\n### MEDIUM — curl|sh with hash check (acceptable, audit annually)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n\n### MEDIUM — No pin manifest\n\n- No `ci\u002Fdigests.txt` (or equivalent) found. Create one before applying any pinning fixes\n  — the manifest is the source of truth for diff review of future pin bumps.\n\n### INFO — Local reusable workflows (transitive check)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Recursive check result: \u003Cclean | findings nested below>\n\n### INFO — PR jobs guarded against fork access\n\n- `\u003Cfile>:\u003Cline>` — guard present: `\u003Cthe if: expression>`\n\n## Clean Checks\n\n- All workflow files have at least one signed-tag verification step (or none required).\n- No unpinned references found in `\u003Cfile>` family.\n- ...\n\n## Remediation Plan\n\nSuggested order:\n\n1. Resolve and apply digest pins for CRITICAL findings first (largest blast radius).\n2. Establish or update `ci\u002Fdigests.txt` to reflect the resolved pins.\n3. Move PR-secret-exposure findings out of `pull_request`-triggered workflows.\n4. Add observed-SHA logging to all `curl|sh` installers (HIGH → MEDIUM).\n5. Re-run this audit. Iterate until clean.\n\n## Follow-up Issues\n\nIf findings exceed a one-PR fix scope, file follow-ups for each finding category:\n\n- `ci-pin-actions` — bulk-pin all `uses:` references\n- `ci-pin-containers` — bulk-pin all container images\n- `ci-pr-secret-isolation` — restructure PR-triggered workflows that reference secrets\n- `ci-installer-hardening` — add content-hash checks to all `curl|sh` installers\n\n## References\n\n- [`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md) — the enforcement gate\n- AIWG's own [`ci\u002Fdigests.txt`](https:\u002F\u002Fgit.integrolabs.net\u002Froctinam\u002Faiwg\u002Fsrc\u002Fbranch\u002Fmain\u002Fci\u002Fdigests.txt) — pin-manifest reference\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md) — npm-ecosystem complement\n```\n\n## Incident-response trigger\n\nIf the audit surfaces a `pull_request`-triggered job with `secrets.*`\nreferences that has been merged to the default branch within the past\n90 days, treat it as an incident-response candidate:\n\n1. Check the workflow run history for that file via `gh run list --workflow=\u003Cfile>` (GitHub) or `mcp__git-gitea__actions_run_read` (Gitea)\n2. Inventory any external contributor PRs that triggered the workflow during the exposure window\n3. Rotate any secrets the workflow could have read\n\nThe other audit findings are configuration-hardening, not active\nincidents — fix and move on.\n\n## Completion criteria\n\nThe skill is \"done\" when:\n\n- All seven audit checks have produced findings (or a `Clean Check` note)\n- A markdown report is written to `.aiwg\u002Fsecurity\u002Fworking\u002Fci-workflow-audit.md`\n- The report's Remediation Plan section lists every finding in suggested fix order\n- If any CRITICAL finding is present, the user has been explicitly notified before the skill exits\n\n## See Also\n\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md)\n- [`supply-chain-hardening-quickstart` skill](..\u002Fsupply-chain-hardening-quickstart\u002FSKILL.md)\n- [`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md)\n- [`supply-chain-trust` skill](..\u002Fsupply-chain-trust\u002FSKILL.md) — broader trust-chain design\n\n## References\n\n- AIWG supply-chain hardening post-mortem 2026-05 (Shai-Hulud campaign response)\n- GitHub Actions documentation: pinning third-party actions to commit SHAs\n- npm trusted publishers documentation\n- Sigstore \u002F cosign documentation\n","# ci-workflow-audit\n\nUse this skill when a user wants a one-shot scan of their CI workflows\nfor the supply-chain attack surface that the [ci-action-pinning rule](..\u002F..\u002Frules\u002Fci-action-pinning.md)\ndefines as forbidden. The rule is the gate (blocks new violations\npost-deployment); this skill is the discovery tool (surfaces existing\nviolations in a user repo).\n\nPairs with `npm-supply-chain-audit` (npm-ecosystem audit) — together\nthey cover most of the user-side risk surface that AIWG's own\nsupply-chain hardening (`v2026.5.3`) addresses on the AIWG side.\n\n## Triggers\n\n- \"audit workflow pinning\"\n- \"ci workflow audit\"\n- \"are my actions pinned\"\n- \"check container image pins\"\n- \"scan workflows for secrets\"\n- \"supply chain risk in CI\"\n\n## Scope\n\nAudits the following workflow file locations (all supported in parallel):\n\n| Platform | Path |\n|---|---|\n| GitHub Actions | `.github\u002Fworkflows\u002F*.yml`, `.github\u002Fworkflows\u002F*.yaml` |\n| Gitea Actions | `.gitea\u002Fworkflows\u002F*.yml`, `.gitea\u002Fworkflows\u002F*.yaml` |\n| GitLab CI | `.gitlab-ci.yml`, `.gitlab\u002F*.yml` (where applicable) |\n| Reusable workflows | `uses: .\u002F.github\u002Fworkflows\u002F*` references (transitive) |\n\nRead-only. No mutations.\n\n## Audit sequence\n\n### 1. Inventory workflow files\n\n```bash\nfind .github\u002Fworkflows .gitea\u002Fworkflows -type f \\( -name \"*.yml\" -o -name \"*.yaml\" \\) 2>\u002Fdev\u002Fnull\ntest -f .gitlab-ci.yml && echo \".gitlab-ci.yml\"\n```\n\nRecord the count. Each subsequent check iterates over this set.\n\n### 2. Action-pin audit — fail on tag-pinned `uses:`\n\n```bash\n# Detect floating tags (semver tags, branches, latest)\ngrep -rnHE '^\\s*-\\s*uses:\\s*[a-zA-Z0-9._-]+\u002F[a-zA-Z0-9._-]+@(v?[0-9]+(\\.[0-9]+)*|main|master|latest)\\s*(#.*)?$' \\\n  .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach match is a finding. Severity: **HIGH** (workflow runs arbitrary\nthird-party code with workflow's secret access).\n\nAcceptable exception: `uses: .\u002F` references (local reusable workflows\nin the same repo) — these pin to the calling commit. Flag separately\nas INFO and recurse into them to check their `uses:` references too.\n\n### 3. Container-image-pin audit — fail on tag-pinned `container:`\u002F`image:`\n\n```bash\ngrep -rnHE '^\\s*(container|image):\\s*[a-zA-Z0-9._\u002F-]+:[a-zA-Z0-9._-]+\\s*(#.*)?$' \\\n  .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull \\\n  | grep -v 'sha256:'\n```\n\nEach match without `@sha256:` is a finding. Severity: **HIGH** (same\nattack surface as actions; container provides the execution\nenvironment for every step).\n\n### 4. Bare `:latest` audit\n\n```bash\ngrep -rnHE ':latest\\b' .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach match is a finding. Severity: **CRITICAL** (`:latest` is the\ncanonical anti-pattern — captures both digest absence AND the most\nvolatile possible tag).\n\n### 5. PR-secret-exposure audit\n\nFor each workflow file, check whether any job triggered by\n`pull_request` references `secrets.*`:\n\n```bash\n# Identify pull_request-triggered jobs\nfor f in $(find .github\u002Fworkflows .gitea\u002Fworkflows -name \"*.yml\" -o -name \"*.yaml\" 2>\u002Fdev\u002Fnull); do\n  # Extract jobs that run on pull_request and check for secret references\n  awk '\u002F^on:\u002F,\u002F^[a-z]\u002F { print }' \"$f\" | grep -q 'pull_request' || continue\n  if grep -nE '\\${{\\s*secrets\\.' \"$f\" >\u002Fdev\u002Fnull 2>&1; then\n    echo \"POTENTIAL SECRET EXPOSURE in $f\"\n    grep -nE '\\${{\\s*secrets\\.' \"$f\"\n  fi\ndone\n```\n\nEach match is a finding. Severity: **CRITICAL** (a contributor PR\nfrom a fork can read repo secrets via the workflow's environment;\nclassic supply-chain attack vector documented in the Shai-Hulud\ncampaign).\n\nAcceptable exception: jobs gated with `if: github.event.pull_request.head.repo.full_name == github.repository`\n(only trusted maintainer PRs). Flag as INFO and verify the guard.\n\n### 6. Curl-pipe-shell installer audit\n\n```bash\ngrep -rnHE 'curl[^|]+\\|\\s*(bash|sh)' .github\u002Fworkflows\u002F .gitea\u002Fworkflows\u002F 2>\u002Fdev\u002Fnull\n```\n\nEach `curl | sh` pattern is a finding. Severity: **MEDIUM** unless\nthe surrounding context includes a content-hash check (look for\n`sha256sum`, `OBSERVED_SHA`, `EXPECTED_INSTALL_SHA`) — if no hash\ncheck is present, severity is **HIGH**.\n\nThe recommended fix pattern (strict-mode opt-in) is documented in the\n[`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md) section\n\"Standalone tools pinned by version + checksum\".\n\n### 7. Pin-manifest presence audit\n\n```bash\ntest -f ci\u002Fdigests.txt || test -f .ci\u002Fdigests.txt || test -f docs\u002Fci\u002Fdigests.txt\n```\n\nIf no pin manifest exists, finding: **MEDIUM** (without a manifest,\ndiffs that change pinned references are not auditable).\n\n## Output format\n\nProduce a markdown report at `.aiwg\u002Fsecurity\u002Fworking\u002Fci-workflow-audit.md`\nwith the structure below. If the working directory doesn't exist,\ncreate it.\n\n```markdown\n# CI Workflow Audit\n\n**Generated**: \u003CISO timestamp>\n**Repo**: \u003Crepo path or URL>\n**Workflow files scanned**: \u003Ccount>\n\n## Findings\n\n### CRITICAL — Bare :latest tags\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n\n### CRITICAL — PR-triggered jobs reference secrets\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Mitigation: Gate the job with `if: github.event.pull_request.head.repo.full_name == github.repository`\n  OR move the secret-using step to a separate `workflow_run`-triggered workflow.\n\n### HIGH — Unpinned actions (tag-pinned uses:)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Resolve the pin: `git ls-remote https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo> refs\u002Ftags\u002F\u003Ctag>`\n  Replace `@\u003Ctag>` with `@\u003C40-char-sha>` and add a trailing `# \u003Cversion>` comment.\n\n### HIGH — Unpinned container images\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Resolve the digest: `docker pull \u003Cimage>:\u003Ctag>` then `docker inspect \u003Cimage>:\u003Ctag> --format='{{.Id}}'`\n  Replace with `\u003Cimage>:\u003Ctag>@sha256:\u003Cdigest>`.\n\n### HIGH — curl|sh without hash check\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Add observed-SHA logging and strict-mode opt-in per ci-action-pinning rule §\n  \"Standalone tools pinned by version + checksum\".\n\n### MEDIUM — curl|sh with hash check (acceptable, audit annually)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n\n### MEDIUM — No pin manifest\n\n- No `ci\u002Fdigests.txt` (or equivalent) found. Create one before applying any pinning fixes\n  — the manifest is the source of truth for diff review of future pin bumps.\n\n### INFO — Local reusable workflows (transitive check)\n\n- `\u003Cfile>:\u003Cline>` — `\u003Cmatching line>`\n  Recursive check result: \u003Cclean | findings nested below>\n\n### INFO — PR jobs guarded against fork access\n\n- `\u003Cfile>:\u003Cline>` — guard present: `\u003Cthe if: expression>`\n\n## Clean Checks\n\n- All workflow files have at least one signed-tag verification step (or none required).\n- No unpinned references found in `\u003Cfile>` family.\n- ...\n\n## Remediation Plan\n\nSuggested order:\n\n1. Resolve and apply digest pins for CRITICAL findings first (largest blast radius).\n2. Establish or update `ci\u002Fdigests.txt` to reflect the resolved pins.\n3. Move PR-secret-exposure findings out of `pull_request`-triggered workflows.\n4. Add observed-SHA logging to all `curl|sh` installers (HIGH → MEDIUM).\n5. Re-run this audit. Iterate until clean.\n\n## Follow-up Issues\n\nIf findings exceed a one-PR fix scope, file follow-ups for each finding category:\n\n- `ci-pin-actions` — bulk-pin all `uses:` references\n- `ci-pin-containers` — bulk-pin all container images\n- `ci-pr-secret-isolation` — restructure PR-triggered workflows that reference secrets\n- `ci-installer-hardening` — add content-hash checks to all `curl|sh` installers\n\n## References\n\n- [`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md) — the enforcement gate\n- AIWG's own [`ci\u002Fdigests.txt`](https:\u002F\u002Fgit.integrolabs.net\u002Froctinam\u002Faiwg\u002Fsrc\u002Fbranch\u002Fmain\u002Fci\u002Fdigests.txt) — pin-manifest reference\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md) — npm-ecosystem complement\n```\n\n## Incident-response trigger\n\nIf the audit surfaces a `pull_request`-triggered job with `secrets.*`\nreferences that has been merged to the default branch within the past\n90 days, treat it as an incident-response candidate:\n\n1. Check the workflow run history for that file via `gh run list --workflow=\u003Cfile>` (GitHub) or `mcp__git-gitea__actions_run_read` (Gitea)\n2. Inventory any external contributor PRs that triggered the workflow during the exposure window\n3. Rotate any secrets the workflow could have read\n\nThe other audit findings are configuration-hardening, not active\nincidents — fix and move on.\n\n## Completion criteria\n\nThe skill is \"done\" when:\n\n- All seven audit checks have produced findings (or a `Clean Check` note)\n- A markdown report is written to `.aiwg\u002Fsecurity\u002Fworking\u002Fci-workflow-audit.md`\n- The report's Remediation Plan section lists every finding in suggested fix order\n- If any CRITICAL finding is present, the user has been explicitly notified before the skill exits\n\n## See Also\n\n- [`npm-supply-chain-audit` skill](..\u002Fnpm-supply-chain-audit\u002FSKILL.md)\n- [`supply-chain-hardening-quickstart` skill](..\u002Fsupply-chain-hardening-quickstart\u002FSKILL.md)\n- [`ci-action-pinning` rule](..\u002F..\u002Frules\u002Fci-action-pinning.md)\n- [`supply-chain-trust` skill](..\u002Fsupply-chain-trust\u002FSKILL.md) — broader trust-chain design\n\n## References\n\n- AIWG supply-chain hardening post-mortem 2026-05 (Shai-Hulud campaign response)\n- GitHub Actions documentation: pinning third-party actions to commit SHAs\n- npm trusted publishers documentation\n- Sigstore \u002F cosign documentation\n",{"name":5,"triggers":55,"namespace":60,"platforms":61,"description":7},[56,57,58,59],"help with CI builds or deployment","help me make the build or deployment path safer","start with pipeline safety or release readiness","pipeline safety ci","aiwg",[62],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fci-workflow-audit",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add jmagly\u002Faiwg --skill ci-workflow-audit",{"tool":79,"command":80},"bunx","bunx skills add jmagly\u002Faiwg --skill ci-workflow-audit",{"tool":82,"command":83},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill ci-workflow-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fci-workflow-audit\u002FSKILL.md",true,[87],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002F02-review-report-template.md","REFERENCE","参考文档",271,"https:\u002F\u002Fgithub.com\u002FNharu\u002Fcc-cmds\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Flint-team-model-tier-pins\u002FT-TIER-FAIL-3\u002Freview\u002Freferences\u002F02-review-report-template.md",[94,102,107,131,151,156],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":103,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":101},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":50},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[114,115,116,117,118,119,33,120,121,22,122,123,124,125,37,126,127,128,129,130],"hardening","host","host hardening","verification","secrets","read","remediation","recommendations","plan","port","bind","Bash","only","retention","re","never","firewall",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":50},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[138,139,140,141,142,143,119,144,123,129,125,145,115,146,126,147,148,130,149,150],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":152,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":50},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[114,115,116,128,129,130,124,127,121,118,119,33,120,22,122,123,117,125,37,126],{"skillNo":157,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":50},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[138,139,150,149,142,148,147,126,141,143,119,144,123,140,125,145,115,130,129,146]]