Skip to content

security: add SPDX SBOM and Trivy vulnerability scanning#3

Merged
InfinityHack3r merged 2 commits intomainfrom
security/sbom
Mar 3, 2026
Merged

security: add SPDX SBOM and Trivy vulnerability scanning#3
InfinityHack3r merged 2 commits intomainfrom
security/sbom

Conversation

@InfinityHack3r
Copy link
Owner

Summary

Adds a hand-maintained SPDX 2.3 SBOM and Trivy-based vulnerability scanning to the CI pipeline.

Changes

  • sbom.spdx.json — SPDX 2.3 SBOM documenting the project and its 2 CDN font dependencies (Share Tech Mono, Rajdhani via Google Fonts)
  • .github/workflows/package.yml — new steps in the test job:
    • Generate SBOM report — reads sbom.spdx.json, outputs sbom-report.md
    • Install Trivy — via official install script (no action dependency)
    • Scan SBOM — fails build on CRITICAL findings
    • Save JSON results — full CRITICAL/HIGH/MEDIUM/LOW scan
    • Generate vulnerability report — outputs vuln-report.md
    • Upload artifactsbom-report artifact with all 4 files, retained 90 days
    • sbom.spdx.json bundled in release zip and attached as standalone release asset

Testing

All steps verified locally via act — job succeeded with 0 vulnerabilities found.

@InfinityHack3r InfinityHack3r merged commit d038670 into main Mar 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant