SBOM Signal

Guide · GitHub Actions

Generate an SBOM in GitHub Actions

One GitHub Actions configuration: on every release it builds a CycloneDX SBOM of your project with Syft, the open-source SBOM generator, and optionally sends it to SBOM Signal, which watches it for actively exploited vulnerabilities.

1. The configuration

File: .github/workflows/sbom.yml

name: SBOM
on:
  release:
    types: [published]
jobs:
  sbom:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: anchore/sbom-action@v0
        with:
          format: cyclonedx-json
          output-file: sbom.cdx.json
          upload-artifact: false
          upload-release-assets: false
      # Optional: send it to SBOM Signal for continuous monitoring
      - name: Send the SBOM to SBOM Signal
        env:
          SBOM_SIGNAL_KEY: ${{ secrets.SBOM_SIGNAL_KEY }}
        run: |
          curl --fail-with-body -sS -X POST \
            "https://jkinmuggshmnsuwahnfj.supabase.co/functions/v1/sbom-intake?version=${GITHUB_REF_NAME}&released_on=$(date -u +%F)" \
            -H "x-upload-key: ${SBOM_SIGNAL_KEY}" \
            -H "Content-Type: application/json" \
            --data-binary @sbom.cdx.json
  • anchore/sbom-action is Anchore's official action (Apache-2.0). It runs Syft on the repository. Set upload-release-assets: true if you want the SBOM attached to the GitHub release as well.
  • The workflow runs when you publish a release; GITHUB_REF_NAME is the release tag, used as the version.

2. The upload key (only for sending to SBOM Signal)

Create an upload key in the SBOM Signal panel (Connect). The key can only send SBOMs for one product and cannot read anything. Store it as a secret: In your repository: Settings, Secrets and variables, Actions, New repository secret. Name it SBOM_SIGNAL_KEY.

Without the optional step you still get a CycloneDX SBOM for every release, which is what the CRA documentation will need.

3. Electron or other apps that ship devDependencies

Syft leaves out npm devDependencies by default. If your product ships a package declared there, such as electron, add the environment variable SYFT_JAVASCRIPT_INCLUDE_DEV_DEPENDENCIES=true to the step that runs Syft. See the Electron guide.

Why an SBOM matters for CRA Article 14

Since 11 September 2026, a manufacturer that becomes aware of an actively exploited vulnerability in its product must send an early warning to ENISA within 24 hours and a notification within 72 hours (Regulation (EU) 2024/2847, Art. 14). You can only react in time if you know which components and versions each release contains. That list is the SBOM. From 11 December 2027 an SBOM is also part of the required documentation (Annex I, Part II).

More: the reporting deadlines · what an SBOM is · does the CRA apply to you?

Next

  • Check it now: drop the SBOM into the free exploited check to see if anything in it is being attacked today.
  • Keep watching every release: SBOM Signal checks every supported version around the clock and alerts you with the deadlines and ENISA drafts ready. See the panel · Free pilot

Not legal advice. Commands checked with Syft 1.57.2 on 28 November 2026.