aere-quantum/conformance/vectori/audit-log/head-at-four.head-rewritten.json

141 lines
4.0 KiB
JSON

{
"v": 1,
"kind": "aere-conformance-vector",
"id": "audit-log/head-at-four.head-rewritten",
"artifact": "audit-log",
"title": "the host rewrote an entry before the attested point and chained the log again",
"source": "derived from audit-log/head-at-four.valid",
"requires": [],
"exercises": [
"auditlog.chain",
"auditlog.entry",
"auditlog.hash",
"auditlog.head-form",
"auditlog.head-hash",
"auditlog.head-rewritten",
"auditlog.head-short",
"auditlog.seq"
],
"base": "audit-log/head-at-four.valid",
"mutation": {
"producer": "entry 1 rewritten (another envelope), every later entry re-chained; the head is the one attested before",
"changed": [
[
"log",
1
],
[
"log",
2
],
[
"log",
3
]
]
},
"input": {
"log": [
{
"seq": 0,
"prev": "0x0000000000000000000000000000000000000000000000000000000000000000",
"proof": {
"v": 1,
"kind": "aere-proof-of-data-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-data",
"sha256": "0x205830ca5b23bbe39ab510cfddc1dff2d9842e38b5fa7b7c48cd4ca7e44f92a1",
"name": "report.csv",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0x2acbef682084c42c3f8a7bc9fa4370257ff83994ffa92c36e44c556b44d5c8b2"
},
"hash": "0x7d43298c03b11b1f562e556ec47b2846a7e5fe53bbeb8a0c9f07faccfe159e05"
},
{
"seq": 1,
"prev": "0x7d43298c03b11b1f562e556ec47b2846a7e5fe53bbeb8a0c9f07faccfe159e05",
"proof": {
"v": 1,
"kind": "aere-proof-of-execution-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-execution",
"inputHash": "0x582967534d0f909d196b97f9e6921342777aea87b46fa52df165389db1fb8ccf",
"outputHash": "0x762069bc07a6e1b5df123a5ae7bd91c10daa04694fbaa17fba0cd6a8dcce8f22",
"programSha256": null,
"program": "aere-node",
"exitCode": 0,
"createdAt": "2026-09-27T00:00:00Z"
},
"statementHash": "0x1cf999198468f72a7442699b479d1d5fe08ad900480df468976e79bb200c4202"
},
"hash": "0x8adf3b7cd6cfa5dd106ad31e391818b50970f969cd86936a4ce29978d1d56b1f"
},
{
"seq": 2,
"prev": "0x8adf3b7cd6cfa5dd106ad31e391818b50970f969cd86936a4ce29978d1d56b1f",
"proof": {
"v": 1,
"kind": "aere-proof-of-time-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-time",
"subjectHash": "0xe12e3d24bc08d052711daa489e746297af597599f2726d945c1d6309427b9394",
"source": "aere-anchor",
"at": "2026-09-26T00:00:00Z",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0xbd803c1eae1875ac755df34e94e9cb20e30c12fe3c02b0c7c4cfe677040ecd31"
},
"hash": "0x0d4da7b48506a026299c5c42832385051e5252945319c269cfea335328c02dde"
},
{
"seq": 3,
"prev": "0x0d4da7b48506a026299c5c42832385051e5252945319c269cfea335328c02dde",
"proof": {
"v": 1,
"kind": "aere-proof-of-identity-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-identity",
"publicKeyHash": "0xfcab7fcc2b4cffd9bb45003bfc2e468a04ef6f77ca8200a7341f027631584d25",
"subjectHash": null,
"method": "ml-dsa-65",
"subjectId": "agent-1",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0x9c609bdaa3f6e7c0b926c2071a18026a6073e92c4344ea537f3ffabcd3a921b9"
},
"hash": "0xa18143798505ebcb8fc72f25e56f54906f2ef9f3d479550945415a6777c4fcb7"
}
],
"head": {
"v": 1,
"kind": "aere-audit-head-attestation",
"statement": {
"v": 1,
"kind": "aere-audit-head",
"host": "conformance",
"count": 4,
"head": "0x10b3f1793cbcd8c4fc2cd6ee30b0638cbff3eeb8e61ac7e8899d2663cac2eecf",
"createdAt": "2026-10-03T00:00:00Z"
},
"statementHash": "0x6d1f7500b3cedcbef99e1dc3be7bc131c7d14cedcca82384454bbd98bcb08dca"
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"auditlog.head-rewritten"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}