An SBOM of your ESP-IDF build, and CVE checks that keep running

Espressif ships a tool that writes the SBOM of an ESP-IDF build and checks it against the NVD. Run once, it tells you about today. The firmware you shipped last year needs the same check tomorrow, and that is the part the Cyber Resilience Act cares about.

Write the SBOM

pip install esp-idf-sbom
idf.py build
idf.py sbom-create        # writes build/<project>.spdx (SPDX 2.2, tag-value)
idf.py sbom-check         # checks it against the NVD, once

The SBOM lists ESP-IDF itself, every component the build uses and the managed components from the registry, each with its version and, where one exists, the CPE identifier the NVD uses. Your own application appears as the top package.

Why one check is not enough

A CVE published next month for a library in ESP-IDF v5.3 affects every device still running a build made with it. sbom-check run in CI only sees the vulnerabilities known on the day of the build. The CRA asks you to handle vulnerabilities for the whole support period, so each shipped build needs checking again whenever the NVD changes.

Keep the SBOM of every release, checked daily

Attach the SBOM to the image it belongs to, from the Security tab in the dashboard or from CI:

curl -fsSL https://pinscope.dev/ci.sh | sh -s -- build/app.bin --sbom build/app.spdx

Pinscope then checks every build you uploaded against the NVD and the CISA list of actively exploited vulnerabilities each day, with the same matching rules as esp-idf-sbom check, including the CVEs Espressif marks as not applicable to ESP-IDF. It emails you when a new one appears, shows which devices still run an affected build, and keeps your decision on each one. One build is checked free.

For the versions most projects use, the known vulnerabilities of each ESP-IDF release are listed without an account.

Try it

Three devices are free, and no card is needed. Create an account, or read the guide for your platform: ESP32, Zephyr, Raspberry Pi Pico, Linux, ESP8266.

More