An extensible auditor for CI/CD pipelines, identifying security weaknesses, misconfigurations, and best-practice deviations in your software supply chain. This tool aims to help organizations improve their SLSA posture and secure their build and deployment processes.
- Provide actionable insights into the security of CI/CD pipelines.
- Automate checks for common software supply chain vulnerabilities.
- Help teams align with frameworks like SLSA (Supply-chain Levels for Software Artifacts).
- (Future) Leverage AI for advanced anomaly detection and risk scoring.
- Pipeline Configuration Analysis: Parses pipeline definitions (e.g., GitHub Actions YAML, Jenkinsfile) for insecure patterns.
- Source Code Integrity Checks: Verifies branch protections, signed commits, etc.
- Dependency Security Audits: Integrates with SCA tools and checks dependency hygiene.
- Build Environment Scrutiny: Checks for secure runner configurations and secrets management.
- Artifact Integrity Verification: Looks for signed artifacts, image scan results.
- SLSA Compliance Reporting: Audits against specified SLSA levels.
- Extensible Plugin Architecture: Allows adding new checks and CI/CD platform support easily.
- Multiple CI/CD Platform Support: (Starting with GitHub Actions, then GitLab CI, Jenkins, etc.)
- Clear Reporting: HTML, JSON, and Markdown reports.
- Python 3.x
- Key Python Libraries:
requests,PyYAML,gitpython,click(for CLI), (AI:scikit-learn,tensorflow/pytorch- future) - (Potentially) OPA/Rego for policy definition.
(This section will be filled in as you build)
- Clone the repository:
git clone https://github.com/raghu-007/CI-CD-Supply-Chain-Auditor.git cd CI-CD-Supply-Chain-Auditor - Install dependencies:
pip install -r requirements.txt
- Configure (e.g., API tokens for CI/CD platforms):
cp config.example.yml config.yml # Edit config.yml - Run an audit:
python auditor_cli.py --platform github_actions --repo-url <your-repo-url>
(Briefly describe your planned folder structure here once decided)
Contributions are highly welcome! Please read CONTRIBUTING.md for guidelines. We're looking for help with:
- Adding checks for different supply chain security aspects.
- Integrating support for more CI/CD platforms.
- Improving reporting and documentation.
- Developing AI-driven analysis features.
This project is licensed under the Apache License 2.0. See the LICENSE file for the full license text.
This tool is for auditing and educational purposes. Always ensure you have authorization before scanning any systems or pipelines.