Repository navigation
Expand file tree
/
Copy pathschema.json
More file actions
291 lines (291 loc) · 8.79 KB
/
Copy pathschema.json
File metadata and controls
291 lines (291 loc) · 8.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GenAI Security Crosswalk Entry",
"description": "Schema for mapping OWASP GenAI vulnerabilities to security frameworks",
"type": "object",
"required": [
"id",
"name",
"source_list",
"severity",
"mappings"
],
"properties": {
"id": {
"type": "string",
"description": "Vulnerability identifier e.g. LLM01, ASI03, DSGAI07, AST01",
"pattern": "^(LLM\\d{2}|ASI\\d{2}|DSGAI\\d{2}|AST\\d{2})$"
},
"name": {
"type": "string",
"description": "Short human-readable name e.g. Prompt Injection"
},
"source_list": {
"type": "string",
"enum": [
"LLM-Top10-2026",
"Agentic-Top10-2026",
"DSGAI-2026",
"AST-Top10-2026"
],
"description": "Which OWASP list this entry belongs to"
},
"version": {
"type": "string",
"description": "Mapping version e.g. 2026-Q1"
},
"severity": {
"type": "string",
"enum": [
"Critical",
"High",
"Medium",
"Low"
],
"description": "Standardised severity aligned to AIVSS"
},
"aivss_score": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 10,
"description": "OWASP AIVSS score where available"
},
"audience": {
"type": "array",
"items": {
"type": "string",
"enum": [
"developer",
"security-engineer",
"auditor",
"ciso",
"red-teamer",
"data-engineer",
"ml-engineer",
"ot-engineer",
"compliance"
]
}
},
"mappings": {
"type": "array",
"description": "One entry per framework control",
"items": {
"type": "object",
"required": [
"framework",
"control_id",
"control_name",
"tier",
"scope"
],
"properties": {
"framework": {
"type": "string",
"description": "Framework identifier e.g. MITRE-ATLAS, ISO-42001, AIUC-1"
},
"control_id": {
"type": "string",
"description": "Control or clause ID within the framework"
},
"control_name": {
"type": "string",
"description": "Human-readable control name"
},
"url": {
"type": "string",
"format": "uri",
"description": "Direct link to the control"
},
"tier": {
"type": "string",
"enum": [
"Foundational",
"Hardening",
"Advanced"
],
"description": "Implementation maturity tier"
},
"scope": {
"type": "string",
"enum": [
"Buy",
"Build",
"Both"
],
"description": "Whether this is addressed by vendor capability, internal engineering, or both"
},
"notes": {
"type": "string",
"description": "Optional implementation notes"
},
"relationship": {
"type": "string",
"enum": [
"equal",
"subset-of",
"superset-of",
"intersects-with",
"not-related-to"
],
"description": "OLIR Relationship: the logical comparison asserted between this control (Reference Document Element) and the risk entry (Focal Document Element). Hyphenated form of the spec vocabulary \"equal, subset of, superset of, intersects with, not related to\" (NIST IR 8278A Rev. 1 §3.1)."
},
"rationale_type": {
"type": "string",
"enum": [
"syntactic",
"semantic",
"functional"
],
"description": "OLIR Rationale: the KIND of reasoning behind the relationship. This is an enum in the OLIR spec, not free text — the prose justification lives in `rationale`, which exports to the OLIR Comments field."
},
"rationale": {
"type": "string",
"description": "Prose justification citing the specific framework clause. Exports to the OLIR Comments field, not to OLIR Rationale (which is `rationale_type`)."
},
"broad_applicability": {
"type": "boolean",
"description": "Set true to assert that this control genuinely applies across most of the list — an ISMS clause or a risk-management article, say. Requires a `rationale`. Without it, a control mapped to more than 40% of entries is flagged by scripts/density-report.js as discriminating nothing."
},
"confidence": {
"type": "string",
"enum": [
"high",
"medium",
"low",
"unreviewed"
],
"description": "How strongly the relationship is asserted; maps to the optional OLIR \"Strength of Relationship\". Rows predating schema v2 carry `unreviewed`, which is an honest label rather than a quality claim."
},
"framework_version": {
"type": "string",
"description": "The framework release this row was authored against, e.g. \"ISO 27001:2022\". Pinning it is what makes version rot detectable instead of silent."
},
"reviewed_by": {
"type": "array",
"items": {
"type": "string"
},
"description": "Named human reviewers who confirmed this row. Empty means unreviewed; an agent never adds itself here."
},
"review_date": {
"type": "string",
"format": "date",
"description": "Date of the most recent human review."
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"description": "GENERATED by scripts/generate.js from data/incidents.json — do not author. Number of distinct incidents that exemplify this entry and record a CONFIRMED control_failures[] item for this framework + control_id. Drafted failures are never counted. Present only on rows with at least one linked failure; absent means no incident evidence. Method: docs/EVIDENCE_METHODOLOGY.md."
},
"evidence": {
"type": "object",
"description": "GENERATED — the incident ids behind evidence_count. `confirmed` are counted; `drafted` await human confirmation and are not.",
"additionalProperties": false,
"required": ["confirmed", "drafted"],
"properties": {
"confirmed": { "type": "array", "items": { "type": "string", "pattern": "^INC-\\d{3}$" } },
"drafted": { "type": "array", "items": { "type": "string", "pattern": "^INC-\\d{3}$" } }
}
}
}
}
},
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"enum": [
"open-source",
"commercial",
"both"
]
}
}
}
},
"incidents": {
"type": "array",
"description": "Known real-world incidents referencing this vulnerability",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"year": {
"type": "integer"
}
}
}
},
"crossrefs": {
"type": "object",
"description": "Links to related entries in other OWASP lists",
"properties": {
"llm_top10": {
"type": "array",
"items": {
"type": "string"
}
},
"agentic_top10": {
"type": "array",
"items": {
"type": "string"
}
},
"dsgai_2026": {
"type": "array",
"items": {
"type": "string"
}
},
"ast_top10": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"changelog": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date"
},
"version": {
"type": "string"
},
"change": {
"type": "string"
},
"author": {
"type": "string"
}
}
}
}
}
}