28 lines
799 B
JSON
28 lines
799 B
JSON
{
|
|
"sampleId": "sample:csharp:dead-code:001",
|
|
"version": "1.0.0",
|
|
"createdAt": "2025-12-13T12:00:00Z",
|
|
"language": "csharp",
|
|
"category": "negative",
|
|
"description": "C# app where vulnerable code exists but is never called - deprecated API replaced by safe implementation",
|
|
"source": {
|
|
"repository": "synthetic",
|
|
"commit": "synthetic-sample",
|
|
"buildToolchain": "dotnet:10.0"
|
|
},
|
|
"vulnerabilities": [
|
|
{
|
|
"vulnId": "CVE-2024-21907",
|
|
"purl": "pkg:nuget/Newtonsoft.Json@13.0.1",
|
|
"affectedSymbol": "Newtonsoft.Json.JsonConvert.DeserializeObject"
|
|
}
|
|
],
|
|
"artifacts": [
|
|
{
|
|
"path": "artifacts/app.dll",
|
|
"hash": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
|
|
"type": "application/x-msdownload"
|
|
}
|
|
]
|
|
}
|