How to Generate SBOM for Node.js Projects

Can Özkan
Nov 27, 2023

--

In this blog post, I’ll discuss how to produce an SBOM by utilizing the cyclone-dx npm tool used to create SBOM files for node projects.

Node and npm Installation

Cyclone-dx npm Installation

Installing Project and its Dependencies

Navigate to the project folder, in my case, OWASP Juicy Shop.

Run npm install first.

Producing SBOM

You have just successfully produced/generated your SBOM file.

This work has been supported in part by the Energy Transition Fund of the FPS Economy of Belgium through the CYPRESS project, and in part by the VLAIO COOCK program through the IIoT-SBOM project.

Thanks for reading.

Can Özkan

--

--

Can Özkan

Security Researcher, Penetration Tester, and Reverse Engineer