Securing the Software Supply Chain: Generating SBOMs & SLSA Provenance in GitLab CI/CD
A practical guide to generating Software Bill of Materials (SBOM) in CycloneDX format and SLSA Level 2+ build provenance attestations using native GitLab CI/CD.
🎯 Vulnerability: Remote Code Execution (RCE)
💡 Defense Fix: Avoid executing shell commands via system(). Use parameterized APIs and strict input sanitization.