@blamejs/exceptd-skills 0.19.31 → 0.19.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +32 -23
- package/CHANGELOG.md +28 -0
- package/CONTEXT.md +19 -11
- package/README.md +99 -18
- package/SECURITY.md +65 -45
- package/data/_indexes/_meta.json +9 -9
- package/data/_indexes/activity-feed.json +8 -8
- package/data/_indexes/catalog-summaries.json +8 -8
- package/data/_indexes/chains.json +60118 -0
- package/data/attack-techniques.json +267 -7
- package/data/cve-catalog.json +11117 -446
- package/data/cwe-catalog.json +109 -2
- package/data/framework-control-gaps.json +578 -3
- package/data/zeroday-lessons.json +8331 -2
- package/lib/cve-batch.js +27 -57
- package/lib/cve-curation.js +26 -1
- package/lib/cve-enrich.js +18 -43
- package/lib/refresh-external.js +100 -1
- package/lib/scoring.js +158 -372
- package/lib/validate-cve-catalog.js +11 -0
- package/manifest.json +53 -53
- package/package.json +2 -2
- package/sbom.cdx.json +47 -47
- package/sources/validators/cve-validator.js +40 -15
package/sbom.cdx.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.6",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:318ef7fe-98ed-41ff-a57d-46e5023cb9ae",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2026-08-
|
|
7
|
+
"timestamp": "2026-08-23T00:00:00.000Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "blamejs",
|
|
11
11
|
"name": "scripts/refresh-sbom.js",
|
|
12
|
-
"version": "0.19.
|
|
12
|
+
"version": "0.19.33"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"component": {
|
|
16
|
-
"bom-ref": "pkg:npm/@blamejs/exceptd-skills@0.19.
|
|
16
|
+
"bom-ref": "pkg:npm/@blamejs/exceptd-skills@0.19.33",
|
|
17
17
|
"type": "application",
|
|
18
18
|
"name": "@blamejs/exceptd-skills",
|
|
19
|
-
"version": "0.19.
|
|
20
|
-
"description": "AI security skills grounded in mid-2026 threat reality, not stale framework documentation. 51 skills, 11 catalogs (
|
|
19
|
+
"version": "0.19.33",
|
|
20
|
+
"description": "AI security skills grounded in mid-2026 threat reality, not stale framework documentation. 51 skills, 11 catalogs (1417 CVEs / 236 CWEs / 794 ATT&CK + ICS / 174 ATLAS / 468 D3FEND / 8889 RFCs), 35 jurisdictions, 10-class catalog gap detector + budget gate, real XML parser + canonical-form diff + content-pattern regression detection, Ed25519-signed.",
|
|
21
21
|
"licenses": [
|
|
22
22
|
{
|
|
23
23
|
"license": {
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
|
-
"purl": "pkg:npm/%40blamejs/exceptd-skills@0.19.
|
|
28
|
+
"purl": "pkg:npm/%40blamejs/exceptd-skills@0.19.33",
|
|
29
29
|
"hashes": [
|
|
30
30
|
{
|
|
31
31
|
"alg": "SHA-256",
|
|
32
|
-
"content": "
|
|
32
|
+
"content": "6cc94a36014f7d433515435eb070ec27d14d002f3ba58976c6cb1cfa9ce096ef"
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
35
|
"externalReferences": [
|
|
36
36
|
{
|
|
37
37
|
"type": "distribution",
|
|
38
|
-
"url": "https://www.npmjs.com/package/@blamejs/exceptd-skills/v/0.19.
|
|
38
|
+
"url": "https://www.npmjs.com/package/@blamejs/exceptd-skills/v/0.19.33"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"type": "vcs",
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
"hashes": [
|
|
110
110
|
{
|
|
111
111
|
"alg": "SHA-256",
|
|
112
|
-
"content": "
|
|
112
|
+
"content": "6b33f55c65052b741f7c2c866a4f2ad6495bea18002d6ae72e3ad06153ae9b4d"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"alg": "SHA3-512",
|
|
116
|
-
"content": "
|
|
116
|
+
"content": "60e83e382bd7347f979248d6343c04550c3f660936e731249e44c0dbe34d71db085884128c96b77e23007d17cfe29eef8f4b1ebfa2e7884c6fd93ce2e416563c"
|
|
117
117
|
}
|
|
118
118
|
]
|
|
119
119
|
},
|
|
@@ -124,11 +124,11 @@
|
|
|
124
124
|
"hashes": [
|
|
125
125
|
{
|
|
126
126
|
"alg": "SHA-256",
|
|
127
|
-
"content": "
|
|
127
|
+
"content": "c343faf621d4ccef5364b1e5e1535a721b3ee39ca685005a7a02fb81f14d90d3"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"alg": "SHA3-512",
|
|
131
|
-
"content": "
|
|
131
|
+
"content": "cb9436e739323c30f7391d133b76e763454a9fae86e3c1a672529648e564ddfdc79ff8657cc32b1c9ef95964f251f47a4411ef9a42c884da4b934ea5c028344f"
|
|
132
132
|
}
|
|
133
133
|
]
|
|
134
134
|
},
|
|
@@ -139,11 +139,11 @@
|
|
|
139
139
|
"hashes": [
|
|
140
140
|
{
|
|
141
141
|
"alg": "SHA-256",
|
|
142
|
-
"content": "
|
|
142
|
+
"content": "a3101f95bf17dfaea69a55b97bc970e55c33aa88085eb619d6ec68142bd91a58"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"alg": "SHA3-512",
|
|
146
|
-
"content": "
|
|
146
|
+
"content": "6ba94019b2b38ac1f1526eb827292c525288993884d7a44d4f6daa28d68d2eaf0e9c2d6c867d51211b03b76550fddf9645cadb708ff117a56282b4e600fa5d41"
|
|
147
147
|
}
|
|
148
148
|
]
|
|
149
149
|
},
|
|
@@ -184,11 +184,11 @@
|
|
|
184
184
|
"hashes": [
|
|
185
185
|
{
|
|
186
186
|
"alg": "SHA-256",
|
|
187
|
-
"content": "
|
|
187
|
+
"content": "bc575c178c21e3d07f1491710e24b26cad3a3cee012c43641b6ea7e83468e64e"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"alg": "SHA3-512",
|
|
191
|
-
"content": "
|
|
191
|
+
"content": "0e20bc8014dc0bb9e2c4f9eb2a75e9751a76709107384a496022be6246991b7bc5ac37d7890fd627b30fab1c62709e922b98d08363aa8995fb31a6a3e92f2902"
|
|
192
192
|
}
|
|
193
193
|
]
|
|
194
194
|
},
|
|
@@ -199,11 +199,11 @@
|
|
|
199
199
|
"hashes": [
|
|
200
200
|
{
|
|
201
201
|
"alg": "SHA-256",
|
|
202
|
-
"content": "
|
|
202
|
+
"content": "e2b97c80696737212ba8b4cb351177f59ff865181dfcf02439bf5ed492c31297"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"alg": "SHA3-512",
|
|
206
|
-
"content": "
|
|
206
|
+
"content": "b5e8cda6e95315eec7d21e64d6f5cbef71cfd720f6ceded0e159e222b6366fb441607a8221f3ae721fa82ec205eb67390eac155d2d11d966efeea186d51cb776"
|
|
207
207
|
}
|
|
208
208
|
]
|
|
209
209
|
},
|
|
@@ -319,11 +319,11 @@
|
|
|
319
319
|
"hashes": [
|
|
320
320
|
{
|
|
321
321
|
"alg": "SHA-256",
|
|
322
|
-
"content": "
|
|
322
|
+
"content": "2179122ff8347bc691f245d5fd2601ca81fd1d6f790feae44abca86d3c08f865"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"alg": "SHA3-512",
|
|
326
|
-
"content": "
|
|
326
|
+
"content": "b5ae372818448c7e6b4bf2de562f32af1ecc0c3e83140fd8e4bc581fcb063869377639dbabf772d32ecf485bf55604bdb948076a236fbc0d3b51fa49b0d80dde"
|
|
327
327
|
}
|
|
328
328
|
]
|
|
329
329
|
},
|
|
@@ -334,11 +334,11 @@
|
|
|
334
334
|
"hashes": [
|
|
335
335
|
{
|
|
336
336
|
"alg": "SHA-256",
|
|
337
|
-
"content": "
|
|
337
|
+
"content": "cac36e318f4ab524f8c578180fcedf32d2cb9a12fa541be876162975806be7cf"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
340
|
"alg": "SHA3-512",
|
|
341
|
-
"content": "
|
|
341
|
+
"content": "c7581a7ce21515fdd4f1d95b1cd09e09bf0b9f70184c5a40d3b9ba9a53bec8eb7b7e2df2b9f59818bebce0cf067ed124b5a0eec1feba74c4f9a849be7decc7d7"
|
|
342
342
|
}
|
|
343
343
|
]
|
|
344
344
|
},
|
|
@@ -349,11 +349,11 @@
|
|
|
349
349
|
"hashes": [
|
|
350
350
|
{
|
|
351
351
|
"alg": "SHA-256",
|
|
352
|
-
"content": "
|
|
352
|
+
"content": "b1e0db672d1de7cb3d36cac05059f0302b3be4f88636e6beb47d57ec0d972928"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
"alg": "SHA3-512",
|
|
356
|
-
"content": "
|
|
356
|
+
"content": "e9c5cb9452301957fc170c8c9f8fe6ad7fd12eec6443edd8b538218485c6655d853de7f155ec85756be9f39401b6702cee5f112ea075091244ad5bc3fc7eb17b"
|
|
357
357
|
}
|
|
358
358
|
]
|
|
359
359
|
},
|
|
@@ -409,11 +409,11 @@
|
|
|
409
409
|
"hashes": [
|
|
410
410
|
{
|
|
411
411
|
"alg": "SHA-256",
|
|
412
|
-
"content": "
|
|
412
|
+
"content": "5d407cd31e4cdbc34fe37253c374488158d7c15f597158930b4ac9729e666bb3"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
"alg": "SHA3-512",
|
|
416
|
-
"content": "
|
|
416
|
+
"content": "e950beaf809417f63e786ed4c636168f9b1e64d0976d63095b58856d91e52c17a1e9cd98b04e66b7ffc30401ea7b163c78782a74b278d0bfb8594e88ffee26c2"
|
|
417
417
|
}
|
|
418
418
|
]
|
|
419
419
|
},
|
|
@@ -949,11 +949,11 @@
|
|
|
949
949
|
"hashes": [
|
|
950
950
|
{
|
|
951
951
|
"alg": "SHA-256",
|
|
952
|
-
"content": "
|
|
952
|
+
"content": "fbf03302ccf8f758f00541ce0e21b5ae6980eac8357564fe5825a09ddf0b4c18"
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
955
|
"alg": "SHA3-512",
|
|
956
|
-
"content": "
|
|
956
|
+
"content": "0c865422cc650ec4b1c35599013b9f3ddcd02db4e43205124c301b79ed9030682e25efccaed069ad5fb1f7cce4eaa5bc908c22229073267ceeb9d64d750a5779"
|
|
957
957
|
}
|
|
958
958
|
]
|
|
959
959
|
},
|
|
@@ -1309,11 +1309,11 @@
|
|
|
1309
1309
|
"hashes": [
|
|
1310
1310
|
{
|
|
1311
1311
|
"alg": "SHA-256",
|
|
1312
|
-
"content": "
|
|
1312
|
+
"content": "599f929ba000f1ce35c2b0dcc94cb7834b90dd64fac5216c1e24af884584b20c"
|
|
1313
1313
|
},
|
|
1314
1314
|
{
|
|
1315
1315
|
"alg": "SHA3-512",
|
|
1316
|
-
"content": "
|
|
1316
|
+
"content": "8f00027cc97dea5aade94343e61276258e0b76346c58ba9fb15b677ba332140727e64a8edbd59180c328cc41b3d0cd45705e19d71f565284726da8eda1b12381"
|
|
1317
1317
|
}
|
|
1318
1318
|
]
|
|
1319
1319
|
},
|
|
@@ -1339,11 +1339,11 @@
|
|
|
1339
1339
|
"hashes": [
|
|
1340
1340
|
{
|
|
1341
1341
|
"alg": "SHA-256",
|
|
1342
|
-
"content": "
|
|
1342
|
+
"content": "575596b17fcf8ddc99ed5b9e0668454c9d17b6e9a31fbce42eecb0362039e904"
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
1345
|
"alg": "SHA3-512",
|
|
1346
|
-
"content": "
|
|
1346
|
+
"content": "7d3f4182305a097f3f8ce2bfbf5d094943c0ca19858d4a9d8b824a88b6f8a67be25e4720de0584fd6adc647aa111ddde68f3d7be40421ec56ed91529473726e8"
|
|
1347
1347
|
}
|
|
1348
1348
|
]
|
|
1349
1349
|
},
|
|
@@ -1354,11 +1354,11 @@
|
|
|
1354
1354
|
"hashes": [
|
|
1355
1355
|
{
|
|
1356
1356
|
"alg": "SHA-256",
|
|
1357
|
-
"content": "
|
|
1357
|
+
"content": "7f079a7ba23ddb3ff74f255dd2b72413352f5f0b7ca9396ae54ed2cc630a086e"
|
|
1358
1358
|
},
|
|
1359
1359
|
{
|
|
1360
1360
|
"alg": "SHA3-512",
|
|
1361
|
-
"content": "
|
|
1361
|
+
"content": "4ff32bc413ffcaa17b39196514bb94d25386302f159502776cee8a7c136e98fc20a11b68d45a9dc92c1c5af89672bf5761f6397bfe27cf115a9bfa11fba97c6e"
|
|
1362
1362
|
}
|
|
1363
1363
|
]
|
|
1364
1364
|
},
|
|
@@ -1549,11 +1549,11 @@
|
|
|
1549
1549
|
"hashes": [
|
|
1550
1550
|
{
|
|
1551
1551
|
"alg": "SHA-256",
|
|
1552
|
-
"content": "
|
|
1552
|
+
"content": "c1424db316d49bddb973da0623dba0e0df941c31d58af0e3ad0338b035e697c7"
|
|
1553
1553
|
},
|
|
1554
1554
|
{
|
|
1555
1555
|
"alg": "SHA3-512",
|
|
1556
|
-
"content": "
|
|
1556
|
+
"content": "5bfe5587882078758fe876bc9f976d0eb7797fe119fb955a01313d799a83aaf6863a4b4ea57cfeb263fd7649c7e99aad4300091c625db4185bb61a56188064c0"
|
|
1557
1557
|
}
|
|
1558
1558
|
]
|
|
1559
1559
|
},
|
|
@@ -1654,11 +1654,11 @@
|
|
|
1654
1654
|
"hashes": [
|
|
1655
1655
|
{
|
|
1656
1656
|
"alg": "SHA-256",
|
|
1657
|
-
"content": "
|
|
1657
|
+
"content": "d275045d6231d6c2d4ec367ea9360b8935efe1f4df838c6f0602c78c3f056a3f"
|
|
1658
1658
|
},
|
|
1659
1659
|
{
|
|
1660
1660
|
"alg": "SHA3-512",
|
|
1661
|
-
"content": "
|
|
1661
|
+
"content": "73d854959ef17147d6d03b9edc7c86dbf0fa6c09ec028f7758ff75214349d341f11951a571f59329be3e473b8a5f631e6061d0c3fa0a35953269857a56cbd7cb"
|
|
1662
1662
|
}
|
|
1663
1663
|
]
|
|
1664
1664
|
},
|
|
@@ -1789,11 +1789,11 @@
|
|
|
1789
1789
|
"hashes": [
|
|
1790
1790
|
{
|
|
1791
1791
|
"alg": "SHA-256",
|
|
1792
|
-
"content": "
|
|
1792
|
+
"content": "99884b86b7a84aa2305500dae3cce14704246d884f630dabf982c7d36bbdae52"
|
|
1793
1793
|
},
|
|
1794
1794
|
{
|
|
1795
1795
|
"alg": "SHA3-512",
|
|
1796
|
-
"content": "
|
|
1796
|
+
"content": "332321088110500e0982daefbc32ff3530f6321bac0604f3367e0b356300a3f88a7add701e54f7dd29bc5e4b232b5068cb5eba99cd3553f9a6eeb90cded9b2af"
|
|
1797
1797
|
}
|
|
1798
1798
|
]
|
|
1799
1799
|
},
|
|
@@ -1954,11 +1954,11 @@
|
|
|
1954
1954
|
"hashes": [
|
|
1955
1955
|
{
|
|
1956
1956
|
"alg": "SHA-256",
|
|
1957
|
-
"content": "
|
|
1957
|
+
"content": "ab7c042636d0c7d610957171d74bd4e0973d8f5718315c90488333a824444a77"
|
|
1958
1958
|
},
|
|
1959
1959
|
{
|
|
1960
1960
|
"alg": "SHA3-512",
|
|
1961
|
-
"content": "
|
|
1961
|
+
"content": "2788f7f57a9e8a088b23f5266b2d8b31241e3aa80a569fb8578419038b2a979512071f5a06fea9e6afb415d524963ffb07722b95c3e1f665e1503f8c4911e154"
|
|
1962
1962
|
}
|
|
1963
1963
|
]
|
|
1964
1964
|
},
|
|
@@ -2074,11 +2074,11 @@
|
|
|
2074
2074
|
"hashes": [
|
|
2075
2075
|
{
|
|
2076
2076
|
"alg": "SHA-256",
|
|
2077
|
-
"content": "
|
|
2077
|
+
"content": "9d6d66f85aa575a3ba25a5292632ee027813ec6bebfc6de69463d0908a97ca24"
|
|
2078
2078
|
},
|
|
2079
2079
|
{
|
|
2080
2080
|
"alg": "SHA3-512",
|
|
2081
|
-
"content": "
|
|
2081
|
+
"content": "b6fe9e064bce05a13674b693a7f4f8314c7ea24b2dc1a8e2df7ecbe7cb11a57e4f1929c7bc62dde7f67aa86ac91748ec8e9c2f1f4a8093802c8a3df7fdd9657c"
|
|
2082
2082
|
}
|
|
2083
2083
|
]
|
|
2084
2084
|
},
|
|
@@ -3679,11 +3679,11 @@
|
|
|
3679
3679
|
"hashes": [
|
|
3680
3680
|
{
|
|
3681
3681
|
"alg": "SHA-256",
|
|
3682
|
-
"content": "
|
|
3682
|
+
"content": "0f31baced98d16315e546a964c45ad24afcc3317818e1568c1ee84597c9f7dd1"
|
|
3683
3683
|
},
|
|
3684
3684
|
{
|
|
3685
3685
|
"alg": "SHA3-512",
|
|
3686
|
-
"content": "
|
|
3686
|
+
"content": "059509c3bf4b9367049d338bf8a9350c14f069dee02ead03ce59bd36c9ebb503a41e0f5203652ec513afe8a86f11c077292526350808956cd2fe41f702f2cf46"
|
|
3687
3687
|
}
|
|
3688
3688
|
]
|
|
3689
3689
|
},
|
|
@@ -171,6 +171,9 @@ async function validateCve(cveId, localEntry) {
|
|
|
171
171
|
cvss_vector: localEntry?.cvss_vector ?? null,
|
|
172
172
|
cisa_kev: localEntry?.cisa_kev ?? null,
|
|
173
173
|
cisa_kev_date: localEntry?.cisa_kev_date ?? null,
|
|
174
|
+
cisa_kev_due_date: localEntry?.cisa_kev_due_date ?? null,
|
|
175
|
+
known_ransomware_use: typeof localEntry?.known_ransomware_use === 'boolean'
|
|
176
|
+
? localEntry.known_ransomware_use : null,
|
|
174
177
|
epss_score: localEntry?.epss_score ?? null,
|
|
175
178
|
epss_percentile: localEntry?.epss_percentile ?? null,
|
|
176
179
|
epss_date: localEntry?.epss_date ?? null,
|
|
@@ -235,6 +238,14 @@ async function validateCve(cveId, localEntry) {
|
|
|
235
238
|
const hit = kevMap.get(cveId);
|
|
236
239
|
fetched.in_kev = !!hit;
|
|
237
240
|
fetched.kev_date = hit?.dateAdded || null;
|
|
241
|
+
fetched.kev_due_date = hit?.dueDate || null;
|
|
242
|
+
// Recorded only for a value this code understands. An absent or
|
|
243
|
+
// unrecognised knownRansomwareCampaignUse must not read as "Unknown", which
|
|
244
|
+
// would propose clearing a curated designation on the strength of a field
|
|
245
|
+
// the feed never carried.
|
|
246
|
+
const ransomRaw = typeof hit?.knownRansomwareCampaignUse === 'string'
|
|
247
|
+
? hit.knownRansomwareCampaignUse.trim().toLowerCase() : null;
|
|
248
|
+
fetched.kev_ransomware = ransomRaw === 'known' ? true : ransomRaw === 'unknown' ? false : null;
|
|
238
249
|
fetched.sources.kev = { reachable: true, total_entries: kevMap.size };
|
|
239
250
|
}
|
|
240
251
|
|
|
@@ -253,6 +264,35 @@ async function validateCve(cveId, localEntry) {
|
|
|
253
264
|
fetched.sources.epss = { reachable: false, error: epssResult.error };
|
|
254
265
|
}
|
|
255
266
|
|
|
267
|
+
// --- Compare KEV (only if KEV reachable) ---
|
|
268
|
+
// Ahead of the status decision on purpose. A CVE CISA has just listed is
|
|
269
|
+
// routinely not yet indexed by NVD, and returning 'missing' before this ran
|
|
270
|
+
// meant the entry upstream cares about most got no KEV diff at all.
|
|
271
|
+
if (kevMap !== null) {
|
|
272
|
+
if (typeof local.cisa_kev === 'boolean' && local.cisa_kev !== fetched.in_kev) {
|
|
273
|
+
pushDiscrepancy(discrepancies, 'cisa_kev', local.cisa_kev, fetched.in_kev, 'high');
|
|
274
|
+
}
|
|
275
|
+
// Emit whenever upstream carries a listing date the local entry lacks or
|
|
276
|
+
// contradicts — a first listing arrives as cisa_kev_date:null locally, and
|
|
277
|
+
// requiring a truthy local date here meant the flag flipped without its
|
|
278
|
+
// date, which the strict catalog validator rejects (KEV-listed entries
|
|
279
|
+
// must carry their listing date).
|
|
280
|
+
if (fetched.kev_date && local.cisa_kev_date !== fetched.kev_date) {
|
|
281
|
+
pushDiscrepancy(discrepancies, 'cisa_kev_date', local.cisa_kev_date, fetched.kev_date, 'low');
|
|
282
|
+
}
|
|
283
|
+
// CISA edits a listing after publishing it, and the remediation deadline and
|
|
284
|
+
// the ransomware designation both move that way. Only entries upstream still
|
|
285
|
+
// lists are compared; a de-listing clears both through the cisa_kev branch.
|
|
286
|
+
if (fetched.in_kev) {
|
|
287
|
+
if (fetched.kev_due_date && local.cisa_kev_due_date !== fetched.kev_due_date) {
|
|
288
|
+
pushDiscrepancy(discrepancies, 'cisa_kev_due_date', local.cisa_kev_due_date, fetched.kev_due_date, 'medium');
|
|
289
|
+
}
|
|
290
|
+
if (fetched.kev_ransomware !== null && local.known_ransomware_use !== fetched.kev_ransomware) {
|
|
291
|
+
pushDiscrepancy(discrepancies, 'known_ransomware_use', local.known_ransomware_use, fetched.kev_ransomware, 'medium');
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
256
296
|
// --- Status decision ---
|
|
257
297
|
// Only declare 'unreachable' if every source failed. EPSS being down alone
|
|
258
298
|
// should not block NVD/KEV drift detection.
|
|
@@ -316,21 +356,6 @@ async function validateCve(cveId, localEntry) {
|
|
|
316
356
|
}
|
|
317
357
|
}
|
|
318
358
|
|
|
319
|
-
// --- Compare KEV (only if KEV reachable) ---
|
|
320
|
-
if (kevMap !== null) {
|
|
321
|
-
if (typeof local.cisa_kev === 'boolean' && local.cisa_kev !== fetched.in_kev) {
|
|
322
|
-
pushDiscrepancy(discrepancies, 'cisa_kev', local.cisa_kev, fetched.in_kev, 'high');
|
|
323
|
-
}
|
|
324
|
-
// Emit whenever upstream carries a listing date the local entry lacks or
|
|
325
|
-
// contradicts — a first listing arrives as cisa_kev_date:null locally, and
|
|
326
|
-
// requiring a truthy local date here meant the flag flipped without its
|
|
327
|
-
// date, which the strict catalog validator rejects (KEV-listed entries
|
|
328
|
-
// must carry their listing date).
|
|
329
|
-
if (fetched.kev_date && local.cisa_kev_date !== fetched.kev_date) {
|
|
330
|
-
pushDiscrepancy(discrepancies, 'cisa_kev_date', local.cisa_kev_date, fetched.kev_date, 'low');
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
359
|
// --- Compare EPSS (only if EPSS reachable + both sides have data) ---
|
|
335
360
|
if (epssReachable && fetched.epss) {
|
|
336
361
|
const fScore = fetched.epss.score;
|