@shieldaai/security-watch 0.0.0-stage → 1.0.0

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.
Files changed (110) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/CONTRIBUTING.md +92 -0
  3. package/LICENSE +202 -0
  4. package/README.md +394 -2
  5. package/SECURITY.md +62 -0
  6. package/dist/assessment.d.ts +16 -0
  7. package/dist/assessment.js +569 -0
  8. package/dist/cli.d.ts +2 -0
  9. package/dist/cli.js +1105 -0
  10. package/dist/config.d.ts +302 -0
  11. package/dist/config.js +381 -0
  12. package/dist/coverage.d.ts +4 -0
  13. package/dist/coverage.js +11 -0
  14. package/dist/cve-now.d.ts +35 -0
  15. package/dist/cve-now.js +1002 -0
  16. package/dist/cvss4.d.ts +3 -0
  17. package/dist/cvss4.js +39 -0
  18. package/dist/delivery.d.ts +58 -0
  19. package/dist/delivery.js +687 -0
  20. package/dist/ecosystems.d.ts +48 -0
  21. package/dist/ecosystems.js +332 -0
  22. package/dist/engine.d.ts +80 -0
  23. package/dist/engine.js +388 -0
  24. package/dist/everyday-words.d.ts +11 -0
  25. package/dist/everyday-words.js +256 -0
  26. package/dist/health.d.ts +24 -0
  27. package/dist/health.js +122 -0
  28. package/dist/heartbeat.d.ts +13 -0
  29. package/dist/heartbeat.js +74 -0
  30. package/dist/http.d.ts +15 -0
  31. package/dist/http.js +280 -0
  32. package/dist/index.d.ts +36 -0
  33. package/dist/index.js +23 -0
  34. package/dist/inventory-evidence.d.ts +10 -0
  35. package/dist/inventory-evidence.js +206 -0
  36. package/dist/inventory.d.ts +276 -0
  37. package/dist/inventory.js +336 -0
  38. package/dist/lock.d.ts +3 -0
  39. package/dist/lock.js +112 -0
  40. package/dist/maintenance.d.ts +48 -0
  41. package/dist/maintenance.js +295 -0
  42. package/dist/matching.d.ts +29 -0
  43. package/dist/matching.js +537 -0
  44. package/dist/models.d.ts +33 -0
  45. package/dist/models.js +932 -0
  46. package/dist/operations.d.ts +17 -0
  47. package/dist/operations.js +117 -0
  48. package/dist/pilot-cases.d.ts +171 -0
  49. package/dist/pilot-cases.js +330 -0
  50. package/dist/pilot-input.d.ts +16 -0
  51. package/dist/pilot-input.js +125 -0
  52. package/dist/pilot-recall.d.ts +166 -0
  53. package/dist/pilot-recall.js +231 -0
  54. package/dist/pilot-report.d.ts +113 -0
  55. package/dist/pilot-report.js +279 -0
  56. package/dist/pilot-responses.d.ts +111 -0
  57. package/dist/pilot-responses.js +159 -0
  58. package/dist/providers.d.ts +209 -0
  59. package/dist/providers.js +459 -0
  60. package/dist/python-version.d.ts +3 -0
  61. package/dist/python-version.js +30 -0
  62. package/dist/rehearsal.d.ts +440 -0
  63. package/dist/rehearsal.js +372 -0
  64. package/dist/sbom.d.ts +13 -0
  65. package/dist/sbom.js +193 -0
  66. package/dist/setup.d.ts +113 -0
  67. package/dist/setup.js +100 -0
  68. package/dist/source-error.d.ts +38 -0
  69. package/dist/source-error.js +71 -0
  70. package/dist/sources.d.ts +3 -0
  71. package/dist/sources.js +1725 -0
  72. package/dist/store.d.ts +96 -0
  73. package/dist/store.js +953 -0
  74. package/dist/types.d.ts +404 -0
  75. package/dist/types.js +1 -0
  76. package/dist/util.d.ts +29 -0
  77. package/dist/util.js +94 -0
  78. package/dist/vendor/cvss4-reference.d.ts +2 -0
  79. package/dist/vendor/cvss4-reference.js +789 -0
  80. package/dist/vendor-sources.d.ts +24 -0
  81. package/dist/vendor-sources.js +56 -0
  82. package/dist/word-filter.d.ts +3 -0
  83. package/dist/word-filter.js +3291 -0
  84. package/docs/alert-outcome-evaluation.md +150 -0
  85. package/docs/compatibility.md +35 -0
  86. package/docs/configuration.md +666 -0
  87. package/docs/cvss-v4-support.md +41 -0
  88. package/docs/offline-advisory-preview.md +114 -0
  89. package/docs/offline-rehearsal.md +44 -0
  90. package/docs/pilot-cases.md +58 -0
  91. package/docs/pilot-recall.md +124 -0
  92. package/docs/pilot-report.md +52 -0
  93. package/docs/validation/alert-outcome-evaluation-2026-11-05.json +2935 -0
  94. package/docs/validation/cvss-v4-reference-parity-2026-11-05.json +93 -0
  95. package/docs/validation/rehearsal-accepted-2026-11-05.json +175 -0
  96. package/docs/validation/rehearsal-unknown-2026-11-05.json +175 -0
  97. package/docs/vendor/cvss-v4-LICENSE.txt +22 -0
  98. package/docs/vendor/cvss-v4-provenance.json +38 -0
  99. package/examples/advisories.json +17 -0
  100. package/examples/agent-advisories-2026.json +145 -0
  101. package/examples/agent-advisory-cases-2026.json +397 -0
  102. package/examples/common-systems.yaml +243 -0
  103. package/examples/libraries.example.txt +18 -0
  104. package/examples/libraries.example.yaml +40 -0
  105. package/examples/library-watch.example.yaml +27 -0
  106. package/examples/offline-advisory-preview.mjs +42 -0
  107. package/examples/rehearsal.json +75 -0
  108. package/examples/security-watch.example.yaml +86 -0
  109. package/examples/systems.example.yaml +35 -0
  110. package/package.json +85 -4
@@ -0,0 +1,93 @@
1
+ {
2
+ "version": 1,
3
+ "checked_at": "2026-11-04T23:48:13.610Z",
4
+ "node": "v26.12.0",
5
+ "reference_commit": "c5b0d409ae9f57c44264c6ce5f27d89298e1d32a",
6
+ "reference_files_sha256": {
7
+ "cvss_lookup.js": "d533fe625d95e15b7b488a4bf93dab5f7df16b7e38b0c8ee01281d7b31a8165e",
8
+ "max_composed.js": "be707cc82c17993a04a84e47b1a8aaa1d0d212b56852254659ce77fd7d959f63",
9
+ "max_severity.js": "f838ecb41bfd5114456e7fa7df8a8449ca2735c176867886fa34bd011dee0b24",
10
+ "metrics.js": "99ee2643587071bf744cd090c4bb2db58d523ed0276efd809871b00a12985a4c",
11
+ "cvss_score.js": "453ce6767b5c3939b51d1f21315f2649e47b5abeca674be287e94b524472a1bc",
12
+ "LICENSE": "5d672639189da9bda914dd8c847069cc6959135000b17c45262bb742e5d3b392"
13
+ },
14
+ "adapted_source_sha256": "20f996042386c0e86a90b6f070c01a2825563cf74a96eea19370bb4826233356",
15
+ "wrapper_source_sha256": "835dc1600f9f6995b3997540fdd905d3804b1c73c1b27697cf0bd7018d3d1f48",
16
+ "executed_files_sha256": {
17
+ "dist/cvss4.js": "a0f0550944a7aca27a720ad2387d1afe9cdba6bbe83194f161c2f0b024cdd9f0",
18
+ "dist/vendor/cvss4-reference.js": "d4bc0489aa482a48e974056a6bada5b07ddc941e78b678c95cc14665d75b698e"
19
+ },
20
+ "compared_base_vectors": 104976,
21
+ "matched_base_vectors": 104976,
22
+ "mismatches": 0,
23
+ "score_distribution": {
24
+ "0": 144,
25
+ "1": 3213,
26
+ "2": 3582,
27
+ "4": 216,
28
+ "5": 432,
29
+ "6": 2898,
30
+ "7": 7855,
31
+ "9": 441,
32
+ "10": 9,
33
+ "9.4": 114,
34
+ "8.6": 922,
35
+ "9.5": 90,
36
+ "8.9": 162,
37
+ "7.3": 951,
38
+ "9.3": 700,
39
+ "8.8": 617,
40
+ "8.7": 927,
41
+ "8.5": 1223,
42
+ "7.2": 3125,
43
+ "9.2": 699,
44
+ "7.4": 207,
45
+ "6.1": 1365,
46
+ "8.4": 2487,
47
+ "7.1": 6012,
48
+ "9.1": 456,
49
+ "8.3": 2700,
50
+ "7.9": 32,
51
+ "6.5": 24,
52
+ "6.4": 264,
53
+ "4.7": 352,
54
+ "5.8": 6552,
55
+ "5.5": 144,
56
+ "2.4": 1479,
57
+ "6.3": 885,
58
+ "5.2": 1640,
59
+ "6.2": 744,
60
+ "4.9": 288,
61
+ "5.9": 5895,
62
+ "4.5": 1704,
63
+ "5.6": 2241,
64
+ "5.3": 2141,
65
+ "2.3": 1791,
66
+ "9.9": 48,
67
+ "6.9": 6499,
68
+ "8.2": 1254,
69
+ "7.8": 96,
70
+ "4.4": 2856,
71
+ "5.1": 2082,
72
+ "2.1": 3582,
73
+ "4.8": 2106,
74
+ "6.8": 3028,
75
+ "5.7": 4761,
76
+ "8.1": 180,
77
+ "4.2": 816,
78
+ "4.3": 3312,
79
+ "6.7": 837,
80
+ "7.7": 96,
81
+ "4.1": 1632,
82
+ "4.6": 1437,
83
+ "1.8": 1791,
84
+ "7.5": 288,
85
+ "5.4": 408,
86
+ "7.6": 144
87
+ },
88
+ "limits": [
89
+ "Adaptation parity with the pinned upstream implementation; not independent proof of CVSS correctness.",
90
+ "Fourteen published FIRST example scores are asserted separately in test/cvss4.test.mjs.",
91
+ "No contextual threat/environment scores or production alert accuracy are measured."
92
+ ]
93
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "version": 1,
3
+ "mode": "offline_rehearsal",
4
+ "sink": "accepted",
5
+ "safety": {
6
+ "models_disabled": true,
7
+ "sources_disabled": true,
8
+ "network_requests": 0,
9
+ "external_deliveries": 0,
10
+ "live_database_opened": false,
11
+ "credentials_loaded": false
12
+ },
13
+ "frames": [
14
+ {
15
+ "index": 0,
16
+ "ingest": {
17
+ "kind": "fixture",
18
+ "ref": "3d8913615f4a6fccd3d7aa43661d49a35cca7cf27808f300575be5f157e40758",
19
+ "evidence_refs": ["8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0"]
20
+ },
21
+ "scan_ms": 20,
22
+ "degraded": false,
23
+ "evidence": [
24
+ {
25
+ "ref": "8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0",
26
+ "kind": "advisory",
27
+ "retained": true,
28
+ "fetched_age_ms": 0,
29
+ "modified_age_ms": 0
30
+ }
31
+ ],
32
+ "findings": [
33
+ {
34
+ "ref": "bbcfd59bc592948a08865c42def2781845bae93535d687ec6a91c2201cf95c66",
35
+ "revision": 1,
36
+ "active": true,
37
+ "category": "library",
38
+ "applicability": "affected",
39
+ "source_severity": "critical",
40
+ "priority": "critical",
41
+ "evidence_refs": ["8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0"],
42
+ "decision": "notify",
43
+ "channels": ["slack"]
44
+ }
45
+ ],
46
+ "deliveries": [
47
+ {
48
+ "ref": "a4e7fe71bf914c0d09f7e011adafe50f3ae281b916164021ef1b58204ce77cc8",
49
+ "finding_ref": "bbcfd59bc592948a08865c42def2781845bae93535d687ec6a91c2201cf95c66",
50
+ "revision": 1,
51
+ "channel": "slack",
52
+ "status": "accepted",
53
+ "attempts": 1,
54
+ "scheduled_in_ms": 0
55
+ }
56
+ ],
57
+ "counters": {
58
+ "findings": 1,
59
+ "active_findings": 1,
60
+ "decisions": {
61
+ "record": 0,
62
+ "digest": 0,
63
+ "notify": 1
64
+ },
65
+ "delivery_states": {
66
+ "pending": 0,
67
+ "sending": 0,
68
+ "accepted": 1,
69
+ "failed": 0,
70
+ "unknown": 0
71
+ }
72
+ },
73
+ "review_backlog": 0,
74
+ "oldest_review_age_ms": null
75
+ },
76
+ {
77
+ "index": 1,
78
+ "ingest": {
79
+ "kind": "fixture",
80
+ "ref": "c84477334f2bbe2366008adc493394e3973bf91a907da6fda1a1acf5e486de95",
81
+ "evidence_refs": ["8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0"]
82
+ },
83
+ "scan_ms": 2,
84
+ "degraded": false,
85
+ "evidence": [
86
+ {
87
+ "ref": "8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0",
88
+ "kind": "advisory",
89
+ "retained": true,
90
+ "fetched_age_ms": 60000,
91
+ "modified_age_ms": 60000
92
+ }
93
+ ],
94
+ "findings": [
95
+ {
96
+ "ref": "bbcfd59bc592948a08865c42def2781845bae93535d687ec6a91c2201cf95c66",
97
+ "revision": 1,
98
+ "active": true,
99
+ "category": "library",
100
+ "applicability": "affected",
101
+ "source_severity": "critical",
102
+ "priority": "critical",
103
+ "evidence_refs": ["8fb8a6e21b8f3e83be220b54883614d0c7a6e8ba7056c6a2e4b6285fdf589ac0"],
104
+ "decision": "notify",
105
+ "channels": ["slack"]
106
+ }
107
+ ],
108
+ "deliveries": [
109
+ {
110
+ "ref": "a4e7fe71bf914c0d09f7e011adafe50f3ae281b916164021ef1b58204ce77cc8",
111
+ "finding_ref": "bbcfd59bc592948a08865c42def2781845bae93535d687ec6a91c2201cf95c66",
112
+ "revision": 1,
113
+ "channel": "slack",
114
+ "status": "accepted",
115
+ "attempts": 1,
116
+ "scheduled_in_ms": 0
117
+ }
118
+ ],
119
+ "counters": {
120
+ "findings": 1,
121
+ "active_findings": 1,
122
+ "decisions": {
123
+ "record": 0,
124
+ "digest": 0,
125
+ "notify": 1
126
+ },
127
+ "delivery_states": {
128
+ "pending": 0,
129
+ "sending": 0,
130
+ "accepted": 1,
131
+ "failed": 0,
132
+ "unknown": 0
133
+ }
134
+ },
135
+ "review_backlog": 0,
136
+ "oldest_review_age_ms": null
137
+ }
138
+ ],
139
+ "summary": {
140
+ "findings": 1,
141
+ "active_findings": 1,
142
+ "decisions": {
143
+ "record": 0,
144
+ "digest": 0,
145
+ "notify": 1
146
+ },
147
+ "delivery_states": {
148
+ "pending": 0,
149
+ "sending": 0,
150
+ "accepted": 1,
151
+ "failed": 0,
152
+ "unknown": 0
153
+ },
154
+ "sink_calls": 1,
155
+ "model_requests": 0,
156
+ "model_usd": 0
157
+ },
158
+ "recovery": {
159
+ "reopened": true,
160
+ "backup_verified": true,
161
+ "restored": true,
162
+ "receipts_preserved": true,
163
+ "automatically_dispatched": 0,
164
+ "dispatcher_probe": "passed",
165
+ "terminal_receipts_not_retried": true,
166
+ "probe_sink_calls": 0
167
+ },
168
+ "unmeasured": {
169
+ "source_coverage": null,
170
+ "ai_shadow": null,
171
+ "urgent_recall": null,
172
+ "false_alert_rate": null,
173
+ "analyst_latency_ms": null
174
+ }
175
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "version": 1,
3
+ "mode": "offline_rehearsal",
4
+ "sink": "unknown",
5
+ "safety": {
6
+ "models_disabled": true,
7
+ "sources_disabled": true,
8
+ "network_requests": 0,
9
+ "external_deliveries": 0,
10
+ "live_database_opened": false,
11
+ "credentials_loaded": false
12
+ },
13
+ "frames": [
14
+ {
15
+ "index": 0,
16
+ "ingest": {
17
+ "kind": "fixture",
18
+ "ref": "9d9e61bbc7b3fc0b9c0d7ee6e41de22da3798147576aa56ed2ebb24558386773",
19
+ "evidence_refs": ["e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47"]
20
+ },
21
+ "scan_ms": 15,
22
+ "degraded": false,
23
+ "evidence": [
24
+ {
25
+ "ref": "e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47",
26
+ "kind": "advisory",
27
+ "retained": true,
28
+ "fetched_age_ms": 0,
29
+ "modified_age_ms": 0
30
+ }
31
+ ],
32
+ "findings": [
33
+ {
34
+ "ref": "ceaf82d3958929b9b05dc234069aeb921de82429a0fd5f9a212e7696f9ce3df0",
35
+ "revision": 1,
36
+ "active": true,
37
+ "category": "library",
38
+ "applicability": "affected",
39
+ "source_severity": "critical",
40
+ "priority": "critical",
41
+ "evidence_refs": ["e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47"],
42
+ "decision": "notify",
43
+ "channels": ["slack"]
44
+ }
45
+ ],
46
+ "deliveries": [
47
+ {
48
+ "ref": "d6420c9e5abb9acac405e1bd1fa091654c6c06e180a2256d828baaf0c3b1fc35",
49
+ "finding_ref": "ceaf82d3958929b9b05dc234069aeb921de82429a0fd5f9a212e7696f9ce3df0",
50
+ "revision": 1,
51
+ "channel": "slack",
52
+ "status": "unknown",
53
+ "attempts": 1,
54
+ "scheduled_in_ms": 0
55
+ }
56
+ ],
57
+ "counters": {
58
+ "findings": 1,
59
+ "active_findings": 1,
60
+ "decisions": {
61
+ "record": 0,
62
+ "digest": 0,
63
+ "notify": 1
64
+ },
65
+ "delivery_states": {
66
+ "pending": 0,
67
+ "sending": 0,
68
+ "accepted": 0,
69
+ "failed": 0,
70
+ "unknown": 1
71
+ }
72
+ },
73
+ "review_backlog": 0,
74
+ "oldest_review_age_ms": null
75
+ },
76
+ {
77
+ "index": 1,
78
+ "ingest": {
79
+ "kind": "fixture",
80
+ "ref": "efe95d988abd280ca8f4547cf3a120acd8a4ea2ab9872966858aaa52e3eccbd9",
81
+ "evidence_refs": ["e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47"]
82
+ },
83
+ "scan_ms": 2,
84
+ "degraded": false,
85
+ "evidence": [
86
+ {
87
+ "ref": "e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47",
88
+ "kind": "advisory",
89
+ "retained": true,
90
+ "fetched_age_ms": 60000,
91
+ "modified_age_ms": 60000
92
+ }
93
+ ],
94
+ "findings": [
95
+ {
96
+ "ref": "ceaf82d3958929b9b05dc234069aeb921de82429a0fd5f9a212e7696f9ce3df0",
97
+ "revision": 1,
98
+ "active": true,
99
+ "category": "library",
100
+ "applicability": "affected",
101
+ "source_severity": "critical",
102
+ "priority": "critical",
103
+ "evidence_refs": ["e76275566bb1f4805f16c1b2f1e0dfe0ecdd4956dbc1bc0bd4fa35d5882abb47"],
104
+ "decision": "notify",
105
+ "channels": ["slack"]
106
+ }
107
+ ],
108
+ "deliveries": [
109
+ {
110
+ "ref": "d6420c9e5abb9acac405e1bd1fa091654c6c06e180a2256d828baaf0c3b1fc35",
111
+ "finding_ref": "ceaf82d3958929b9b05dc234069aeb921de82429a0fd5f9a212e7696f9ce3df0",
112
+ "revision": 1,
113
+ "channel": "slack",
114
+ "status": "unknown",
115
+ "attempts": 1,
116
+ "scheduled_in_ms": 0
117
+ }
118
+ ],
119
+ "counters": {
120
+ "findings": 1,
121
+ "active_findings": 1,
122
+ "decisions": {
123
+ "record": 0,
124
+ "digest": 0,
125
+ "notify": 1
126
+ },
127
+ "delivery_states": {
128
+ "pending": 0,
129
+ "sending": 0,
130
+ "accepted": 0,
131
+ "failed": 0,
132
+ "unknown": 1
133
+ }
134
+ },
135
+ "review_backlog": 0,
136
+ "oldest_review_age_ms": null
137
+ }
138
+ ],
139
+ "summary": {
140
+ "findings": 1,
141
+ "active_findings": 1,
142
+ "decisions": {
143
+ "record": 0,
144
+ "digest": 0,
145
+ "notify": 1
146
+ },
147
+ "delivery_states": {
148
+ "pending": 0,
149
+ "sending": 0,
150
+ "accepted": 0,
151
+ "failed": 0,
152
+ "unknown": 1
153
+ },
154
+ "sink_calls": 1,
155
+ "model_requests": 0,
156
+ "model_usd": 0
157
+ },
158
+ "recovery": {
159
+ "reopened": true,
160
+ "backup_verified": true,
161
+ "restored": true,
162
+ "receipts_preserved": true,
163
+ "automatically_dispatched": 0,
164
+ "dispatcher_probe": "passed",
165
+ "terminal_receipts_not_retried": true,
166
+ "probe_sink_calls": 0
167
+ },
168
+ "unmeasured": {
169
+ "source_coverage": null,
170
+ "ai_shadow": null,
171
+ "urgent_recall": null,
172
+ "false_alert_rate": null,
173
+ "analyst_latency_ms": null
174
+ }
175
+ }
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2023 FIRST.ORG, Inc., Red Hat, and contributors
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are met:
5
+
6
+ 1. Redistributions of source code must retain the above copyright notice, this
7
+ list of conditions and the following disclaimer.
8
+
9
+ 2. Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
17
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,38 @@
1
+ {
2
+ "version": 1,
3
+ "repository": "https://github.com/FIRSTdotorg/cvss-v4-calculator",
4
+ "commit": "c5b0d409ae9f57c44264c6ce5f27d89298e1d32a",
5
+ "license": "BSD-2-Clause",
6
+ "files": {
7
+ "cvss_lookup.js": {
8
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/cvss_lookup.js",
9
+ "sha256": "d533fe625d95e15b7b488a4bf93dab5f7df16b7e38b0c8ee01281d7b31a8165e"
10
+ },
11
+ "max_composed.js": {
12
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/max_composed.js",
13
+ "sha256": "be707cc82c17993a04a84e47b1a8aaa1d0d212b56852254659ce77fd7d959f63"
14
+ },
15
+ "max_severity.js": {
16
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/max_severity.js",
17
+ "sha256": "f838ecb41bfd5114456e7fa7df8a8449ca2735c176867886fa34bd011dee0b24"
18
+ },
19
+ "metrics.js": {
20
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/metrics.js",
21
+ "sha256": "99ee2643587071bf744cd090c4bb2db58d523ed0276efd809871b00a12985a4c"
22
+ },
23
+ "cvss_score.js": {
24
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/cvss_score.js",
25
+ "sha256": "453ce6767b5c3939b51d1f21315f2649e47b5abeca674be287e94b524472a1bc"
26
+ },
27
+ "LICENSE": {
28
+ "url": "https://raw.githubusercontent.com/FIRSTdotorg/cvss-v4-calculator/c5b0d409ae9f57c44264c6ce5f27d89298e1d32a/LICENSE",
29
+ "sha256": "5d672639189da9bda914dd8c847069cc6959135000b17c45262bb742e5d3b392"
30
+ }
31
+ },
32
+ "adaptations": [
33
+ "Concatenate the five core/data files; no UI or runtime retrieval.",
34
+ "Declare every upstream assignment-only browser global inside its original function; data assignments become module constants.",
35
+ "Add typed module exports and freeze the metric validation table.",
36
+ "Apply repository formatting; arithmetic and lookup data are unchanged."
37
+ ]
38
+ }
@@ -0,0 +1,17 @@
1
+ [
2
+ {
3
+ "id": "DEMO-NOT-A-REAL-ADVISORY",
4
+ "source": "fixture",
5
+ "kind": "advisory",
6
+ "title": "Fictional example-parser vulnerability for the offline demonstration",
7
+ "url": "https://example.com/security/demo",
8
+ "description": "This is synthetic test data, not a report about a real package or vulnerability. Example versions below 1.3.0 match this demonstration advisory.",
9
+ "aliases": [],
10
+ "severity": "critical",
11
+ "modified_at": "2026-10-23T00:00:00Z",
12
+ "fetched_at": "2026-10-23T00:00:00Z",
13
+ "packages": [
14
+ { "ecosystem": "npm", "name": "example-parser", "range": ">=1.0.0 <1.3.0", "fixed": "1.3.0" }
15
+ ]
16
+ }
17
+ ]
@@ -0,0 +1,145 @@
1
+ [
2
+ {
3
+ "id": "GHSA-cf6m-vc3m-7cgm",
4
+ "source": "fixture:github-reviewed",
5
+ "kind": "advisory",
6
+ "title": "Langflow webhook authentication bypass (source-derived regression fixture)",
7
+ "url": "https://github.com/langflow-ai/langflow/security/advisories/GHSA-cf6m-vc3m-7cgm",
8
+ "description": "An unauthenticated caller can invoke flows when webhook authentication is disabled. The fix changes the default in 1.9.1; explicitly disabling LANGFLOW_WEBHOOK_AUTH_ENABLE still requires deployment review. This fixture lists one affected example version, not the complete affected range.",
9
+ "aliases": ["CVE-2026-8505"],
10
+ "severity": "critical",
11
+ "modified_at": "2026-10-05T00:00:00Z",
12
+ "fetched_at": "2026-10-28T12:00:00Z",
13
+ "published_at": "2026-08-12T00:00:00Z",
14
+ "packages": [
15
+ {
16
+ "ecosystem": "PyPI",
17
+ "name": "langflow",
18
+ "versions": ["1.9.0"],
19
+ "fixed": "1.9.1"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "id": "GHSA-47pj-3jcm-6whg",
25
+ "source": "fixture:github-reviewed",
26
+ "kind": "advisory",
27
+ "title": "LangGraph namespace prefix matching can cross tenant boundaries (source-derived regression fixture)",
28
+ "url": "https://github.com/langchain-ai/langgraph/security/advisories/GHSA-47pj-3jcm-6whg",
29
+ "description": "Prefix matching in checkpoint stores can read sibling namespaces. Deployments using namespaces as tenant boundaries need cross-tenant negative tests in addition to upgrading. This fixture lists an affected example version, not the complete affected range.",
30
+ "aliases": ["CVE-2026-71433"],
31
+ "severity": "medium",
32
+ "modified_at": "2026-08-11T00:00:00Z",
33
+ "fetched_at": "2026-10-28T12:00:00Z",
34
+ "published_at": "2026-07-30T00:00:00Z",
35
+ "packages": [
36
+ {
37
+ "ecosystem": "PyPI",
38
+ "name": "langgraph-checkpoint-sqlite",
39
+ "versions": ["3.1.0"],
40
+ "fixed": "3.1.1"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "id": "GHSA-w4fh-qvv9-3v23",
46
+ "source": "fixture:github-advisory-database",
47
+ "kind": "advisory",
48
+ "title": "MCP Python token audience enforcement requires explicit deployment configuration (source-derived regression fixture)",
49
+ "url": "https://github.com/advisories/GHSA-w4fh-qvv9-3v23",
50
+ "description": "The mcp HTTP server can accept tokens intended for another service when audience validation is absent. Patched releases add opt-in checking; upgrade alone does not enable it. Exact example versions are selected from the published ranges.",
51
+ "aliases": ["CVE-2026-116684"],
52
+ "severity": "medium",
53
+ "modified_at": "2026-10-27T21:07:01Z",
54
+ "fetched_at": "2026-10-28T16:44:48Z",
55
+ "published_at": "2026-10-27T21:06:59Z",
56
+ "packages": [
57
+ {
58
+ "ecosystem": "PyPI",
59
+ "name": "mcp",
60
+ "range": ">= 1.10.0, < 1.30.0",
61
+ "versions": ["1.29.1"],
62
+ "fixed": "1.30.0"
63
+ },
64
+ {
65
+ "ecosystem": "PyPI",
66
+ "name": "mcp",
67
+ "range": ">= 2.0.0, < 2.2.0",
68
+ "versions": ["2.1.1"],
69
+ "fixed": "2.2.0"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "id": "GHSA-5h93-6whr-6q8j",
75
+ "source": "fixture:github-advisory-database",
76
+ "kind": "advisory",
77
+ "title": "MCP Python HTTP redirects can expose custom credentials and request bodies (source-derived regression fixture)",
78
+ "url": "https://github.com/advisories/GHSA-5h93-6whr-6q8j",
79
+ "description": "Affected HTTP clients can forward custom headers and, on 307/308 redirects, bodies to another origin. A lone Authorization header was already removed. Server-only and stdio use are outside this issue. Exact example versions are selected from the published ranges.",
80
+ "aliases": ["CVE-2026-116685"],
81
+ "severity": "medium",
82
+ "modified_at": "2026-10-27T21:05:36Z",
83
+ "fetched_at": "2026-10-28T16:44:48Z",
84
+ "published_at": "2026-10-27T21:05:34Z",
85
+ "packages": [
86
+ {
87
+ "ecosystem": "PyPI",
88
+ "name": "mcp",
89
+ "range": ">= 1.8.0, < 1.30.0",
90
+ "versions": ["1.29.1"],
91
+ "fixed": "1.30.0"
92
+ },
93
+ {
94
+ "ecosystem": "PyPI",
95
+ "name": "mcp",
96
+ "range": ">= 2.0.0, < 2.2.0",
97
+ "versions": ["2.1.1"],
98
+ "fixed": "2.2.0"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "id": "GHSA-rwrf-2pqf-9j8j",
104
+ "source": "fixture:github-advisory-database",
105
+ "kind": "advisory",
106
+ "title": "MCP Python tool schema references can trigger external access and stalls (source-derived regression fixture)",
107
+ "url": "https://github.com/advisories/GHSA-rwrf-2pqf-9j8j",
108
+ "description": "A client validating tool results can resolve remote or local-file schema references supplied by a server, including blocking synchronous retrieval. The fix limits resolution to the supplied document and standard metaschemas. Exact example versions are selected from the published ranges.",
109
+ "aliases": ["CVE-2026-116686"],
110
+ "severity": "medium",
111
+ "modified_at": "2026-10-27T21:05:30Z",
112
+ "fetched_at": "2026-10-28T16:44:48Z",
113
+ "published_at": "2026-10-27T21:05:29Z",
114
+ "packages": [
115
+ {
116
+ "ecosystem": "PyPI",
117
+ "name": "mcp",
118
+ "range": ">= 1.10.0, < 1.30.0",
119
+ "versions": ["1.29.1"],
120
+ "fixed": "1.30.0"
121
+ },
122
+ {
123
+ "ecosystem": "PyPI",
124
+ "name": "mcp",
125
+ "range": ">= 2.0.0, < 2.2.0",
126
+ "versions": ["2.1.1"],
127
+ "fixed": "2.2.0"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "id": "CVE-2026-112346",
133
+ "source": "fixture:vulncheck-cna",
134
+ "kind": "advisory",
135
+ "title": "OpenHands Software Agent SDK sandbox port exposure (source-derived regression fixture)",
136
+ "url": "https://www.vulncheck.com/advisories/openhands-software-agent-sdk-unauthenticated-sandbox-agent-server-rce",
137
+ "description": "OpenHands Software Agent SDK releases before 1.52.0 can expose DockerWorkspace or Apptainer sandbox servers without session authentication. Reachable published ports permit sandbox command execution and access to mounted data and secrets. This is product evidence; no registry package identity or deployment applicability is inferred.",
138
+ "aliases": ["GHSA-rp7h-crm7-h5qj"],
139
+ "severity": "critical",
140
+ "published_at": "2026-10-26T15:34:30.749Z",
141
+ "modified_at": "2026-10-26T15:34:30.749Z",
142
+ "fetched_at": "2026-10-28T16:44:48Z",
143
+ "packages": []
144
+ }
145
+ ]