-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtrace-claim.json
More file actions
486 lines (486 loc) · 17.1 KB
/
Copy pathtrace-claim.json
File metadata and controls
486 lines (486 loc) · 17.1 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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agentrust-io.com/schema/trace-v0.2.json",
"title": "TRACE Trust Record",
"description": "A TRACE v0.2 Trust Record — hardware-attested governance evidence for an AI agent execution.",
"type": "object",
"required": [
"eat_profile",
"iat",
"subject",
"model",
"runtime",
"policy",
"data_class",
"build_provenance",
"appraisal",
"cnf"
],
"properties": {
"eat_profile": {
"type": "string",
"const": "tag:agentrust-io.com,2026:trace-v0.2",
"description": "EAT profile URI identifying this as a TRACE v0.2 Trust Record."
},
"iat": {
"type": "integer",
"description": "Issued-at time as Unix epoch seconds.",
"minimum": 1700000000
},
"subject": {
"type": "string",
"description": "Workload identity as a SPIFFE SVID URI or DID URI.",
"pattern": "^(spiffe://|did:)"
},
"model": {
"type": "object",
"description": "Model identity and provenance.",
"required": [
"provider",
"model_id"
],
"properties": {
"provider": {
"type": "string",
"description": "Model provider (e.g. 'anthropic', 'openai', 'meta')."
},
"model_id": {
"type": "string",
"description": "Model identifier as used by the provider."
},
"version": {
"type": "string",
"description": "Model version or snapshot identifier."
},
"weights_digest": {
"type": "string",
"description": "SHA-256 or SHA-384 digest of the model weights. Required for local/confidential-inference deployments.",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"aibom_uri": {
"type": "string",
"format": "uri",
"description": "URI to SPDX 3.0 AI Profile or CycloneDX 1.7 ML-BOM for this model."
}
},
"additionalProperties": false
},
"runtime": {
"type": "object",
"description": "TEE measurement chain binding the workload to hardware.",
"required": [
"platform",
"measurement"
],
"properties": {
"platform": {
"type": "string",
"enum": [
"intel-tdx",
"amd-sev-snp",
"azure-cvm-sev-snp",
"nvidia-h100",
"nvidia-blackwell",
"aws-nitro",
"arm-cca",
"google-confidential-space",
"tpm2",
"software-only"
],
"description": "Hardware platform providing the root of trust. software-only marks development-mode records with no hardware backing; they must never be treated as attested evidence."
},
"measurement": {
"type": "string",
"description": "Hardware measurement of the workload (e.g. TDX MRTD, SEV measurement, TPM PCR composite).",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"rim_uri": {
"type": "string",
"format": "uri",
"description": "URI to the vendor-published Reference Integrity Manifest for this measurement."
},
"nonce": {
"type": "string",
"description": "Freshness nonce binding the attestation report to this record (base64url, no padding)."
},
"firmware_version": {
"type": "string",
"description": "Firmware or microcode version included in the measurement."
}
},
"additionalProperties": false
},
"policy": {
"type": "object",
"description": "Policy bundle sealed to the TEE measurement.",
"required": [
"bundle_hash",
"enforcement_mode"
],
"properties": {
"bundle_hash": {
"type": "string",
"description": "SHA-256 or SHA-384 digest of the policy bundle in force at execution time.",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"enforcement_mode": {
"type": "string",
"enum": [
"enforce",
"advisory",
"silent",
"declared"
],
"default": "enforce",
"description": "How the policy named by bundle_hash related to this execution. enforce: evaluated and blocked on deny. advisory: evaluated, logged, allowed. silent: evaluated and enforced with operational logs suppressed; the audit chain still records every would-have-denied decision. declared: the policy is named and bound into the signed record and NOTHING evaluated it, which is the honest value for a producer with no policy engine, such as an agent framework. Gateways MUST default to enforce. A deployment MUST explicitly configure silent. declared is never a default, a producer that evaluates policy MUST NOT use it, and a consumer MUST NOT read it as evidence that any rule was checked."
},
"version": {
"type": "string",
"description": "Policy bundle version (semantic versioning recommended)."
},
"policy_uri": {
"type": "string",
"format": "uri",
"description": "URI to the policy bundle for verification."
}
},
"additionalProperties": false
},
"data_class": {
"type": "string",
"description": "Highest-sensitivity data classification of inputs and outputs processed during this execution.",
"examples": [
"public",
"internal",
"confidential",
"restricted",
"top-secret"
]
},
"tool_transcript": {
"type": "object",
"description": "Bound hash of the MCP/A2A tool-call transcript. OPTIONAL for Phase 1 records; REQUIRED for Phase 2+.",
"required": [
"hash"
],
"properties": {
"hash": {
"type": "string",
"description": "SHA-256 or SHA-384 digest of the full tool-call transcript, bound into the EAT envelope.",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"call_count": {
"type": "integer",
"minimum": 0,
"description": "Total number of tool calls in this session."
},
"transcript_uri": {
"type": "string",
"format": "uri",
"description": "URI to the full transcript on the transparency log."
}
},
"additionalProperties": false
},
"delegation": {
"type": "object",
"description": "A2A profile: links this record to the delegating hop's Trust Record. Present when this execution acted on delegated authority; absent on a root (non-delegated) execution. A chain of these forms an offline-verifiable delegation DAG.",
"required": [
"parent_record_hash",
"credential_id"
],
"properties": {
"parent_record_hash": {
"type": "string",
"description": "SHA-256 or SHA-384 digest of the parent hop's Trust Record.",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"credential_id": {
"type": "string",
"minLength": 1,
"description": "Identifier of the delegation credential this hop acted under."
}
},
"additionalProperties": false
},
"origin": {
"type": "object",
"description": "Where the evidence in this record came from, when that is not this runtime. Absent means the runtime produced its own record, which is what a consumer assumes and what every hardware profile is. Present means something else assembled the record from evidence it did not measure. A non-self kind cannot carry a hardware runtime.platform.",
"required": [
"kind",
"producer"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"self",
"third-party-control-plane",
"log-import"
],
"description": "self: the runtime produced its own record. third-party-control-plane: assembled from another vendor's runtime governance output, asserted by the system that produced it with no root outside that system. log-import: assembled from a log or export whose producer is not a control plane."
},
"producer": {
"type": "string",
"minLength": 1,
"description": "Identifier of the system that produced the source evidence."
},
"source_event_id": {
"type": "string",
"minLength": 1,
"description": "Identifier of the source event in the producing system, so a record can be traced back to it."
},
"ingested_at": {
"type": "integer",
"minimum": 1700000000,
"description": "Unix time at which the source evidence was ingested. Distinct from iat, which is when this record was issued."
}
},
"additionalProperties": false
},
"build_provenance": {
"type": "object",
"description": "SLSA provenance for the workload (agent code + container image).",
"required": [
"slsa_level",
"digest"
],
"properties": {
"slsa_level": {
"type": "integer",
"minimum": 0,
"maximum": 3,
"description": "SLSA Build Level achieved. Level 0 = software-only (development/staging); Level 2 minimum for TRACE conformance; Level 3 for production mark."
},
"builder": {
"type": "string",
"description": "SLSA builder URI."
},
"digest": {
"type": "string",
"description": "SHA-256 or SHA-384 digest of the container image or workload binary.",
"pattern": "^sha(256:[0-9a-f]{64}|384:[0-9a-f]{96})$"
},
"provenance_uri": {
"type": "string",
"format": "uri",
"description": "URI to the SLSA provenance attestation on a Sigstore/Rekor or compatible log."
},
"provenance_depth": {
"type": "string",
"enum": [
"surface",
"builder",
"transitive"
],
"description": "Depth of supply-chain verification the issuer claims for this record. surface: digest matches the workload artifact and builder is in a trusted set. builder: all of surface, plus provenance_uri resolves, the SLSA attestation signature verifies, its subject matches digest, and its builder.id matches builder. transitive: all of builder, plus every entry in the SLSA materials / resolvedDependencies has a verifiable publisher attestation. Records omitting this field are treated as surface by verifiers, so existing records keep their meaning."
}
},
"additionalProperties": false
},
"appraisal": {
"type": "object",
"description": "Verifier's EAR appraisal of the evidence (draft-ietf-rats-ar4si).",
"required": [
"status",
"verifier"
],
"properties": {
"status": {
"type": "string",
"enum": [
"affirming",
"warning",
"contraindicated",
"none"
],
"description": "EAR appraisal status."
},
"verifier": {
"type": "string",
"format": "uri",
"description": "URI identifying the verifier that produced this appraisal."
},
"policy_ref": {
"type": "string",
"format": "uri",
"description": "URI to the appraisal policy used."
},
"timestamp": {
"type": "integer",
"description": "Unix epoch seconds when the appraisal was produced."
},
"provenance_depth_verified": {
"type": "string",
"enum": [
"surface",
"builder",
"transitive"
],
"description": "Depth at which this verifier actually checked build_provenance, which is not necessarily the depth the issuer claimed. A verifier may downgrade when deeper evidence does not resolve, and records the lower depth rather than a failure of the higher one. A verifier does not record a depth higher than it executed."
}
},
"additionalProperties": false
},
"transparency": {
"type": "string",
"format": "uri",
"description": "SCITT receipt URI. The Trust Record is the Signed Statement; this URI resolves to the inclusion proof (Receipt) on the transparency log."
},
"cnf": {
"type": "object",
"description": "Confirmation key (RFC 8747) — binds the Trust Record to the TEE-held signing key.",
"required": [
"jwk"
],
"properties": {
"jwk": {
"type": "object",
"description": "JWK (RFC 7517) representing the TEE-sealed public key. Keys must carry actual key material: OKP keys require crv and x; EC keys require crv, x, and y.",
"required": [
"kty"
],
"properties": {
"kty": {
"type": "string"
},
"crv": {
"type": "string"
},
"x": {
"type": "string"
},
"y": {
"type": "string"
},
"kid": {
"type": "string"
}
},
"allOf": [
{
"if": {
"required": [
"kty"
],
"properties": {
"kty": {
"const": "OKP"
}
}
},
"then": {
"required": [
"crv",
"x"
]
}
},
{
"if": {
"required": [
"kty"
],
"properties": {
"kty": {
"const": "EC"
}
}
},
"then": {
"required": [
"crv",
"x",
"y"
]
}
}
],
"not": {
"anyOf": [
{
"required": [
"d"
]
},
{
"required": [
"p"
]
},
{
"required": [
"q"
]
},
{
"required": [
"dp"
]
},
{
"required": [
"dq"
]
},
{
"required": [
"qi"
]
},
{
"required": [
"k"
]
}
]
},
"$comment": "RFC 8747 defines cnf as a confirmation key: the public half, present so a verifier can bind the record to the key that signed it. A private member here publishes the signing key inside the signed, self-authenticating, typically anchored record, and the only remedy afterwards is to revoke the identity. Mirrors _JWK_PRIVATE_PARAMS in the reference model, which already refuses these."
}
},
"additionalProperties": false
},
"signature": {
"type": "string",
"description": "OPTIONAL embedded signature: base64url (no padding) signature by the cnf key over the canonical JSON form of the record with only this field absent. Every Trust Record MUST be signature-bound per spec section 3.2.2, but enveloped profiles (e.g. JWS, cMCP RuntimeClaim) carry the signature outside the record, so this field is not required by the schema.",
"pattern": "^[A-Za-z0-9_-]+$"
}
},
"additionalProperties": false,
"allOf": [
{
"$comment": "A record assembled from another party's evidence has no hardware root. Mirrors the cross-field check in the reference model, so a validator that only reads this schema enforces it too.",
"if": {
"required": [
"origin"
],
"properties": {
"origin": {
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"third-party-control-plane",
"log-import"
]
}
}
}
}
},
"then": {
"properties": {
"runtime": {
"properties": {
"platform": {
"const": "software-only"
}
}
}
}
}
}
]
}