# Golden Set: SYNTHETIC-TEST-001 # Synthetic test case for unit testing # # Sprint: SPRINT_20260110_012_010_TEST # Task: GTV-002 - Synthetic Test Cases # # This is a minimal synthetic golden set for testing the diff layer pipeline # without requiring real binary fixtures. id: "SYNTHETIC-TEST-001" version: "1.0.0" created: "2026-01-11T12:00:00Z" author: "test-automation" status: "approved" # Synthetic component component: name: "test-library" ecosystem: "synthetic" affectedVersions: - ">=1.0.0,<1.0.5" # Synthetic vulnerability vulnerability: cveId: "SYNTHETIC-TEST-001" severity: "HIGH" cvssScore: 7.5 description: "Synthetic vulnerability for testing fix verification pipeline" # Simple targets for testing targets: - function: "vulnerable_function" symbolPattern: "vulnerable_function" description: "Simple vulnerable function for testing" criticalEdges: - from: "entry" to: "sink_call" description: "Entry to dangerous sink" sinks: - "dangerous_sink" expectedPatchBehavior: "add_bounds_check" # Minimal witness witness: command: "./test-binary --trigger" inputs: - name: "trigger.bin" description: "Binary input that triggers the vulnerability" trigger: "overflow" # Simple verification verification: fixIndicators: - type: "bounds_check_added" location: "vulnerable_function" pattern: "if.*len.*<" expectedConfidence: fixed: 0.95 partial: 0.60 inconclusive: 0.30 # Test metadata metadata: reviewedBy: "test-automation" reviewedAt: "2026-01-11T12:00:00Z" approvedFor: "testing" synthetic: true tags: - "test" - "synthetic"