Found on 2026-09-21. I scanned zephyrproject-rtos/example-application (firmware_rtos) with the staging image and with #307's runtime; both gave the same 12 entries, so the image is not the cause:
toolchain:zephyr-sdk@: empty version.
west.yml names Zephyr (and imports modules), but neither Zephyr nor any module appears as a component.
unknown:/tmp/compliance-scanner/repos/dev/zephyr-example/.github/workflows/build.yml@unknown (plus dco.yml and docs.yml): the workflow files show up as packages, with absolute clone paths. This comes from Syft's GitHub Actions cataloger and affects any repo with workflows.
Expected: Zephyr at the pinned revision, its west modules, the SDK version when it is pinned, and no file-path pseudo-packages.
Acceptance: the firmware fixture baseline has these components; the nightly asserts them.
Part of #309.
Found on 2026-09-21. I scanned `zephyrproject-rtos/example-application` (`firmware_rtos`) with the staging image and with #307's runtime; both gave the same 12 entries, so the image is not the cause:
- `toolchain:zephyr-sdk@`: **empty version**.
- `west.yml` names Zephyr (and imports modules), but **neither Zephyr nor any module appears** as a component.
- `unknown:/tmp/compliance-scanner/repos/dev/zephyr-example/.github/workflows/build.yml@unknown` (plus `dco.yml` and `docs.yml`): the workflow **files** show up as packages, with absolute clone paths. This comes from Syft's GitHub Actions cataloger and affects any repo with workflows.
**Expected:** Zephyr at the pinned revision, its west modules, the SDK version when it is pinned, and no file-path pseudo-packages.
**Acceptance:** the firmware fixture baseline has these components; the nightly asserts them.
sharang
added this to the Production MVP milestone 2026-09-21 17:08:45 +00:00
sharang
added the bug label 2026-09-21 17:08:45 +00:00
The #313 firmware fixtures show this isn't specific to Zephyr. It affects every provider on the analysis-only path, which is the only one in shared deployments because the reproducible build is off (#257).
Firmware SBOM per fixture (fixtures/nightly/firmware/, baselines in fixtures/nightly/baselines/fw-*.json):
nothing (a skipped firmware_sbom stage with the reason)
freertos-cmake
FetchContent FreeRTOS-Kernel V11.1.0
toolchain:arm-none-eabi-gcc@
freertos-lostbuild
FreeRTOS + STM32F4 headers, no build system
toolchain:arm-none-eabi-gcc@
cargo-embedded
rust-toolchain.toml channel 1.82.0, cortex-m 0.7
toolchain:rustc@
make, cmake, arduino
toolchain only
toolchain with an empty version
Causes (Firmwerk v0.4.2 plus our adapter):
Firmwerk's providers don't read dependency manifests. None of west.yml projects/imports, idf_component.yml, PlatformIO lib_deps/platform or CMake FetchContent_Declare becomes a BuildInput. Only source archaeology emits InputKind::Library inputs.
Our side drops the libraries archaeology does find.firmwerk_repro::lock::libraries_from_inputs keeps only inputs with origin == "fetched", and without a build nothing is fetched.
Toolchains never carry a version. Providers set toolchain.id only. Zephyr records it as a plan gap ("zephyr-sdk toolchain version not pinned"), but a pinned rust-toolchain.toml isn't read either. The plan's gaps are not surfaced on the scan run.
Suggested split:
Firmwerk: parse the manifests above into Library inputs with name, revision and origin declared, and read toolchain pins.
Here:
Map declared and fingerprinted Library inputs to SBOM entries with purls (e.g. pkg:github/zephyrproject-rtos/zephyr@v3.6.0, pkg:platformio/bblanchon/ArduinoJson@7.0.4), not just fetched ones.
Record the plan's gaps on the scan run.
Re-bless the fw-* baselines.
The #313 firmware fixtures show this isn't specific to Zephyr. It affects **every provider** on the analysis-only path, which is the only one in shared deployments because the reproducible build is off (#257).
Firmware SBOM per fixture (`fixtures/nightly/firmware/`, baselines in `fixtures/nightly/baselines/fw-*.json`):
| Fixture | What it declares | Firmware SBOM today |
|---|---|---|
| zephyr-pinned, zephyr example-application | `west.yml`: zephyr v3.6.0 + cmsis, hal_nordic, mbedtls | `toolchain:zephyr-sdk@` |
| espidf | `main/idf_component.yml`: led_strip ==2.5.3, mdns ^1.2.0, idf >=5.1.2 | `toolchain:esp-idf-toolchain@` |
| platformio | espressif32@6.5.0, lib_deps ArduinoJson@7.0.4, PubSubClient@2.8 | nothing (a skipped `firmware_sbom` stage with the reason) |
| freertos-cmake | `FetchContent` FreeRTOS-Kernel V11.1.0 | `toolchain:arm-none-eabi-gcc@` |
| freertos-lostbuild | FreeRTOS + STM32F4 headers, no build system | `toolchain:arm-none-eabi-gcc@` |
| cargo-embedded | `rust-toolchain.toml` channel 1.82.0, cortex-m 0.7 | `toolchain:rustc@` |
| make, cmake, arduino | toolchain only | toolchain with an empty version |
**Causes (Firmwerk v0.4.2 plus our adapter):**
1. **Firmwerk's providers don't read dependency manifests.** None of `west.yml` projects/imports, `idf_component.yml`, PlatformIO `lib_deps`/`platform` or CMake `FetchContent_Declare` becomes a `BuildInput`. Only source archaeology emits `InputKind::Library` inputs.
2. **Our side drops the libraries archaeology does find.** `firmwerk_repro::lock::libraries_from_inputs` keeps only inputs with `origin == "fetched"`, and without a build nothing is fetched.
3. **Toolchains never carry a version.** Providers set `toolchain.id` only. Zephyr records it as a plan gap ("zephyr-sdk toolchain version not pinned"), but a pinned `rust-toolchain.toml` isn't read either. The plan's `gaps` are not surfaced on the scan run.
**Suggested split:**
- **Firmwerk:** parse the manifests above into Library inputs with name, revision and origin `declared`, and read toolchain pins.
- **Here:**
- Map declared and fingerprinted Library inputs to SBOM entries with purls (e.g. `pkg:github/zephyrproject-rtos/zephyr@v3.6.0`, `pkg:platformio/bblanchon/ArduinoJson@7.0.4`), not just fetched ones.
- Record the plan's `gaps` on the scan run.
- Re-bless the `fw-*` baselines.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #309.
Found on 2026-09-21. I scanned
zephyrproject-rtos/example-application(firmware_rtos) with the staging image and with #307's runtime; both gave the same 12 entries, so the image is not the cause:toolchain:zephyr-sdk@: empty version.west.ymlnames Zephyr (and imports modules), but neither Zephyr nor any module appears as a component.unknown:/tmp/compliance-scanner/repos/dev/zephyr-example/.github/workflows/build.yml@unknown(plusdco.ymlanddocs.yml): the workflow files show up as packages, with absolute clone paths. This comes from Syft's GitHub Actions cataloger and affects any repo with workflows.Expected: Zephyr at the pinned revision, its west modules, the SDK version when it is pinned, and no file-path pseudo-packages.
Acceptance: the firmware fixture baseline has these components; the nightly asserts them.
The #313 firmware fixtures show this isn't specific to Zephyr. It affects every provider on the analysis-only path, which is the only one in shared deployments because the reproducible build is off (#257).
Firmware SBOM per fixture (
fixtures/nightly/firmware/, baselines infixtures/nightly/baselines/fw-*.json):west.yml: zephyr v3.6.0 + cmsis, hal_nordic, mbedtlstoolchain:zephyr-sdk@main/idf_component.yml: led_strip ==2.5.3, mdns ^1.2.0, idf >=5.1.2toolchain:esp-idf-toolchain@firmware_sbomstage with the reason)FetchContentFreeRTOS-Kernel V11.1.0toolchain:arm-none-eabi-gcc@toolchain:arm-none-eabi-gcc@rust-toolchain.tomlchannel 1.82.0, cortex-m 0.7toolchain:rustc@Causes (Firmwerk v0.4.2 plus our adapter):
west.ymlprojects/imports,idf_component.yml, PlatformIOlib_deps/platformor CMakeFetchContent_Declarebecomes aBuildInput. Only source archaeology emitsInputKind::Libraryinputs.firmwerk_repro::lock::libraries_from_inputskeeps only inputs withorigin == "fetched", and without a build nothing is fetched.toolchain.idonly. Zephyr records it as a plan gap ("zephyr-sdk toolchain version not pinned"), but a pinnedrust-toolchain.tomlisn't read either. The plan'sgapsare not surfaced on the scan run.Suggested split:
declared, and read toolchain pins.pkg:github/zephyrproject-rtos/zephyr@v3.6.0,pkg:platformio/bblanchon/ArduinoJson@7.0.4), not just fetched ones.gapson the scan run.fw-*baselines.