2.3 KiB
2.3 KiB
Cross-Distro Golden Set for Backport Validation
Module
BinaryIndex
Status
IMPLEMENTED
Description
Golden set infrastructure exists in BinaryIndex with analysis pipeline and API. The advisory's detailed curated test cases (OpenSSL Heartbleed, sudo Baron Samedit, etc.) and specific database schema may not be fully populated yet.
What's Implemented
- Golden Set Infrastructure:
src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.GoldenSet/- full authoring, validation, storage, serializationGoldenSetExtractor,NvdGoldenSetExtractor- extraction from NVD dataGoldenSetEnrichmentService- enriches golden sets with function hintsGoldenSetValidator,ICveValidator- validation pipelinePostgresGoldenSetStore- PostgreSQL storageGoldenSetYamlSerializer- YAML serialization
- Analysis Pipeline:
GoldenSetAnalysisPipeline(src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.Analysis/) - runs analysis against golden set definitions - API Controller:
GoldenSetController(src/BinaryIndex/StellaOps.BinaryIndex.WebService/Controllers/) - CRUD and listing endpoints - Corpus Connectors: Alpine (
AlpineCorpusConnector), Debian (DebianCorpusConnector), RPM (RpmCorpusConnector) for cross-distro support - Validation Harness:
ValidationHarnessandValidationHarnessServicefor running golden set tests
What's Missing
- Curated cross-distro test cases for high-impact CVEs (OpenSSL Heartbleed CVE-2014-0160, sudo Baron Samedit CVE-2021-3156, etc.) may not be fully populated in the golden set database
- Cross-distro coverage matrix (Alpine vs Debian vs RHEL backport variations for same CVE) may need population
- Automated golden set population pipeline from NVD for new CVEs
Implementation Plan
- Populate golden set database with curated cross-distro test cases for high-impact CVEs
- Validate backport detection accuracy across Alpine, Debian, and RHEL for each curated CVE
- Build automated pipeline to generate cross-distro golden set entries from NVD advisories
- Add cross-distro regression test suite using existing
ValidationHarnessinfrastructure
Related Documentation
- Golden set schema:
src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.GoldenSet/Models/GoldenSetDefinition.cs - Authoring workflow:
src/BinaryIndex/__Libraries/StellaOps.BinaryIndex.GoldenSet/Authoring/