A VISTA InfoSec walkthrough shows how to attach CycloneDX SBOMs to GitHub releases and compare dependency versions with an advisory range using GitHub Actions.
Last updated
The walkthrough builds a demonstration workflow that attaches a CycloneDX software bill of materials to each GitHub release, then checks recorded dependency versions against an affected version range. The advisory used in the example is fictional.
In the example, release v1.2.0 contains is-number 6.0.0 and produces an affected-version match, while v1.3.0 contains is-number 7.0.0 and falls outside the affected range. The workflow downloads each release’s SBOM and writes the comparison results to the GitHub Actions job summary.
The guide also places the process in the context of the EU Cyber Resilience Act, saying its main requirements apply from 11 December 2027 and that Article 14 reporting duties began on 11 September 2026. It recommends generating SBOMs from distributed artifacts and storing them with the release tag and artifact digest.
A missing or unreadable SBOM causes the demonstration job to fail before it publishes a summary. The same workflow can be adapted by changing the release tags, npm package name and affected version range.