Command Palette

Search for a command to run...

Назад к скиллам
скилл № 74854

supply-chain-audit

Auditing software supply chain security across CI/CD pipelines, container images, and language ecosystems. Detects mutable dependency references, insecure CI…

БесплатноЗапускает вложенные скрипты
rysweetот rysweet★ 77 звёзд на GitHub

Установить supply-chain-audit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Supply Chain Audit Skill

Auditing software supply chain security across CI/CD pipelines, container images, and language package ecosystems. Produces structured findings with severity ratings, file:line references, and actionable fix templates.

When to Use This Skill

  • CI/CD security review: Unpin action refs, excessive permissions, secret leakage
  • Dependency pinning: Lock files missing, hash verification absent, mutable semver refs
  • Container supply chain: Mutable base image tags, non-root execution, SBOM generation
  • Credential hygiene: OIDC migration from long-lived secrets, subject constraint gaps
  • Compliance mapping: SLSA L1-L4 readiness assessment, SBOM generation guidance
  • Pre-merge gate: Block PRs that introduce High/Critical supply chain regressions

Prerequisites — External Tool Check

Before running the audit, check for missing external tools and offer to install them:

from supply_chain_audit.external_tools import check_missing_tools, install_tool

missing = check_missing_tools()
if missing:
    # Show the user what's missing and what each tool does
    for tool in missing:
        print(f"Missing: {tool['name']} — {tool['description']}")
        for opt in tool['install_options']:
            print(f"  Install: {opt}")

    # Ask the user if they want to install
    # If yes, install each one:
    for tool in missing:
        success, msg = install_tool(tool['name'])
        print(f"  {tool['name']}: {msg}")

The audit runs without these tools (offline/degraded mode) but produces fewer findings:

Tool What's lost without it
gh Cannot resolve action tags to SHAs via GitHub API
crane Cannot resolve container image digests
syft Cannot generate SBOMs (SPDX/CycloneDX)
grype Cannot scan for known CVEs
cosign Cannot verify image signatures or attestations

Ecosystem Detection

Detect which dimensions apply before running checks:

Signal Ecosystem Dimensions Triggered
.github/workflows/*.yml GitHub Actions 1, 2, 3, 4
Dockerfile / docker-compose.yml Containers 5, 12
.github/workflows/ with secrets.* Credentials 6
*.csproj / NuGet.Config .NET / NuGet 7
requirements*.txt / pyproject.toml / setup.cfg Python 8
Cargo.toml / Cargo.lock Rust 9
package.json / package-lock.json / yarn.lock Node.js 10
go.mod / go.sum Go 11

Run all triggered dimensions. Report skipped dimensions explicitly.


12 Audit Dimensions

Dimensions 1-4: GitHub Actions

See reference/actions.md

# Name What to Check
1 Action SHA pinning uses: refs must be @<40-char-SHA> # vX.Y.Z
2 Workflow permissions Top-level permissions: read-all; job-level minimal grants
3 Secret exposure No secrets in run: echo/env; ACTIONS_STEP_DEBUG guard
4 Cache poisoning actions/cache key collision; restore-keys breadth

Dimensions 5 & 12: Containers

See reference/containers.md

# Name What to Check
5 Base image pinning FROM image@sha256:<digest> not :latest or semver tag
12 Docker build chain Multi-stage scratch/distroless final stage; non-root USER

Dimension 6: Credentials

See reference/credentials.md

# Name What to Check
6 OIDC vs long-lived secrets Prefer id-token: write OIDC; verify subject constraints

Dimension 7: .NET / NuGet

See reference/dotnet.md

# Name What to Check
7 NuGet lock & audit `RestoreLockedM
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • README.md
  • reference/actions.md
  • reference/containers.md
  • reference/contracts.md
  • reference/credentials.md
  • reference/dotnet.md
  • reference/eval-scenarios.md
  • reference/go.md
  • reference/node.md
  • reference/python.md
  • reference/rust.md
  • reference/sbom-slsa.md
  • supply_chain_audit/__init__.py
  • supply_chain_audit/audit.py
  • supply_chain_audit/checkers/__init__.py
  • supply_chain_audit/checkers/_utils.py
  • supply_chain_audit/checkers/actions.py
  • supply_chain_audit/checkers/containers.py
  • supply_chain_audit/checkers/credentials.py
  • supply_chain_audit/checkers/dotnet.py
  • supply_chain_audit/checkers/go.py
  • supply_chain_audit/checkers/node.py
  • supply_chain_audit/checkers/python.py
  • supply_chain_audit/checkers/rust.py
  • supply_chain_audit/detector.py
  • supply_chain_audit/errors.py
  • supply_chain_audit/external_tools.py
  • supply_chain_audit/report.py
  • supply_chain_audit/schema.py

FAQ

Что делает скилл supply-chain-audit?

Auditing software supply chain security across CI/CD pipelines, container images, and language ecosystems. Detects mutable dependency references, insecure CI patterns, credential exposure risks, and missing SBOM/SLSA controls. Use when performing a supply chain audit, checking action pinning, auditing dependencies, scanning for CI security issues, reviewing container security, or assessing dependency security. Covers GitHub Actions, containers, Python, Node, Go, Rust, .NET, and more.

Как установить скилл supply-chain-audit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл supply-chain-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить supply-chain-audit с