本文へ移動
cccskills
無料GitHub で公開

sbom-generate

Generate CycloneDX 1.7 and/or SPDX 2.3 SBOMs for the repo, optionally cosign-signed, optionally cross-validated against syft output. Use when producing an SBOM for compliance, attaching to a release artefact, integrating with an SBOM registry, or satisfying a customer attestation request.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md3.6 KB
  • evals/evals.json2.7 KB
  • evals/trigger-eval.json1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Vulnetix SBOM Generate Skill

Use when

  • Producing an SBOM for SOC 2 / supply-chain compliance.
  • Attaching an SBOM to a release artefact (GitHub release, container registry).
  • Submitting to an SBOM registry (e.g. NTIA, in-house).
  • Cosign signing for keyless OIDC supply-chain attestation.
  • Cross-validating Vulnetix output against syft for component-count drift.

Don't use for

  • Just the license list — use license-check.
  • Full compliance bundle (SBOM + VEX + SARIF) — use the compliance-bundler agent.
  • Container-image SBOM — use container-scan with syft composition.

Conventions

Follows skills/_lib/contract.md. In short: use the vulnetix_* MCP tools when the agent has them and the CLI otherwise — both shape their own output, so there is no jq step any more. Independent calls go out as concurrent Bash tool calls in one message. One trailing suggestion, not a playbook. See the contract for surface selection, output style and memory writes.

Step 1: Load capabilities

Read .vulnetix/capabilities.yaml. Use binaries.cosign to gate signing. If user asks for --sign without cosign, surface install hint and skip signing.

Step 2: Generate

OUT="${OUTPUT_DIR:-.vulnetix/sboms/$(date -u +%Y%m%dT%H%M%SZ)}"
mkdir -p "$OUT"

if [[ "$FORMAT" == "cyclonedx" ]] || [[ "$FORMAT" == "both" ]]; then
    vulnetix scan -o json-cyclonedx > "$OUT/sbom.cdx.json"
fi

if [[ "$FORMAT" == "spdx" ]] || [[ "$FORMAT" == "both" ]]; then
    vulnetix license -o json-spdx > "$OUT/sbom.spdx.json"
fi

Step 3: Optional sign

[[ "$SIGN" == "true" ]] && cosign sign-blob --yes "$OUT/sbom.cdx.json" --bundle "$OUT/sbom.cdx.json.sig.bundle"

Step 4: Compose with detected SBOM tools (conditional)

If binaries.syft: true, also produce a syft SBOM for cross-validation:

syft "$(pwd)" -o cyclonedx-json > "$OUT/sbom.syft.cdx.json"

Surface the diff (component count delta) so the user can spot gaps.

Step 5: Render

SBOM(s) generated:
- CycloneDX: <path>  (<N components>, <M deps>)
- SPDX: <path>
- Signature: <path|none>
- Cross-validated with: syft (delta: +3 components)

Suggest the compliance-bundler agent for a full compliance bundle, or vex-publish to attach VEX.

Edge cases & gotchas

  • vulnetix scan -o json-cyclonedx produces CycloneDX 1.7; vulnetix license -o json-spdx produces SPDX 2.3. The flags are not interchangeable.
  • Cosign signing requires keyless OIDC identity (Fulcio) or --key file:cosign.key. CI runners typically have OIDC; dev laptops may not.
  • Cross-validation with syft requires binaries.syft: true. The delta = Vulnetix components - syft components; non-zero delta usually means private packages.
  • CycloneDX 1.7 supports VEX-in-SBOM; pass --include-vex to embed the VEX block (otherwise it is a separate file).
  • Output directory .vulnetix/sboms/<ISO8601>/ is created on every invocation; never overwrites.
  • For repos with no manifest files, the SBOM contains only the application metadata (no components). Check components.length before publishing.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Dockerfile / Containerfile / compose analysis plus optional Trivy / Grype / Syft composition when those binaries are present. Use when reviewing a Dockerfile PR, gating `docker build`, building an image SBOM, evaluating base-image risk, or auditing a registry image for CVEs.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

dashboard

無料

Show what this repository has already decided about its vulnerabilities, read from the durable record rather than by scanning again — open versus resolved, the decision taken on each, and what is still waiting. Use when picking up triage after a break, auditing past decisions, onboarding to a repository with security history, or checking nothing high-severity is open before a release.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

Dependency-conflict resolution when a `fix` version bump fails — diagnose the peer-dep tree, find a compatible safe version set, propose package-manager overrides (`overrides`/`resolutions`/`replace`/`[patch]`), fall back to safe-harbour inline patching. Use when an upgrade is blocked by transitive constraints, a peer-dep conflict surfaces, or you need to override a vulnerable transitive without bumping the parent.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

Work through which package to add for a capability, and what each option costs — maintenance, licence, bundle weight, transitive risk, and whether the platform already does it. Use when someone needs a library for a job and has not picked one yet, when weighing two candidates, or when a package looks convenient but unmaintained.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

IDS/IPS detection content for a CVE — Snort/Suricata-compatible rules, YARA signatures, ProjectDiscovery Nuclei templates, traffic-filter rules. Capability-aware: skips families when the binary is not installed (no Snort = no Snort output). Use when deploying defences for a CVE without a patch, augmenting SAST with active detection, or feeding the SOC engineering pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

eol-check

無料

End-of-life detection for runtimes (Node, Python, Java, Go, .NET) and key packages — surfaces past-EOL items, items reaching EOL within 90 days, and EOL base images for containers. Use when planning a runtime upgrade, auditing for unsupported versions, gating a deploy against EOL deps, or producing a remediation roadmap.

日本語の概要は準備中です。原文の説明を表示しています。

Vulnetix/pix-ai-coding-assistant92026年9月28日 更新

Vulnetix のスキルをすべて見る

このスキルの問題を報告する