A demonstration project showcasing Software Bill of Materials (SBOM) generation and GitHub Attestations for supply chain security.
This project demonstrates modern supply chain security practices including:
- SBOM Generation: Automated Software Bill of Materials creation
- GitHub Attestations: Cryptographic attestations for build integrity
- Container Security: Multi-stage Docker builds with security best practices
- Supply Chain Verification: End-to-end traceability from source to deployment
# Run with docker-compose
docker compose up --buildThe application will be available at http://localhost:5001 with docker compose up.
This project automatically generates SBOMs during the build process to provide complete dependency transparency.
Build artifacts are cryptographically attested using GitHub's attestation framework, ensuring:
- Build provenance verification
- Dependency integrity
- Reproducible builds
- Multi-stage builds to minimize attack surface
- Non-root user execution
- Minimal base images
- Dependency pinning
The project implements a complete supply chain security workflow:
- Source Control: Git-based version control with signed commits
- Build Verification: Automated SBOM generation and attestation
- Artifact Integrity: Cryptographic verification of build outputs
- Deployment Security: Secure container deployment practices
defense-up/
├── app/ # Application source code
├── Dockerfile # Multi-stage container build
├── docker-compose.yml # Local development setup
└── requirements.txt # Python dependenciesThis project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.