QA
Senior LevelWeb Security & Cyber Defense

What is a Software Bill of Materials (SBOM) and how do CycloneDX / SPDX enforce supply chain security?

❓ Interview Prompt: Explain Software Bill of Materials (SBOM), CycloneDX / SPDX formats, automated dependency graphs, and rapid zero-day triage.

A Software Bill of Materials (SBOM) is an official, machine-readable inventory of all third-party libraries, modules, components, and licenses that compose a software application:

Why SBOMs Are Critical:

When a zero-day vulnerability breaks globally (e.g. Log4j / Log4Shell):

•
Organizations with automated SBOM pipelines query their central SBOM repository (Dependency-Track) in seconds to identify EVERY affected microservice in production!
•
Standard Formats: CycloneDX (OWASP) and SPDX (Linux Foundation).

Code Implementation Example

bash
# Generate CycloneDX SBOM for Node.js project using cdxgen:
npx @cyclonedx/cdxgen -o sbom.json
💡Generating a CycloneDX Software Bill of Materials (SBOM) JSON inventory.
🎯 Interview Key Takeaway

Generate and track Software Bill of Materials (SBOMs) to triage zero-day supply chain vulnerabilities rapidly.

More Web Security & Cyber Defense Interview Questions

Beginner LevelSecurity & Web Security

Explain OWASP Top 10 vulnerabilities (XSS, CSRF, SQL Injection) and their defenses.

Beginner LevelSecurity & Web Security

What are the 3 types of XSS (Stored, Reflected, DOM-based) and how do they differ?

Beginner LevelSecurity & Web Security

How do Parameterized Queries (Prepared Statements) prevent SQL Injection attacks?