glamsterdam-compat-lab 0.3.0 → 0.3.2
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/README.md +20 -5
- package/ROADMAP.md +5 -0
- package/data/client-compat/clients.example.json +15 -0
- package/datasets/public-seed/README.md +30 -0
- package/datasets/public-seed/comparisons/bytecode-ens-registry-mainnet-runtime--default-vs-research.json +136 -0
- package/datasets/public-seed/comparisons/bytecode-multicall3-mainnet-runtime--default-vs-research.json +139 -0
- package/datasets/public-seed/comparisons/bytecode-storage-heavy--default-vs-research.json +168 -0
- package/datasets/public-seed/comparisons/bytecode-uniswap-v2-factory-mainnet-runtime--default-vs-research.json +168 -0
- package/datasets/public-seed/comparisons/bytecode-usdc-proxy-mainnet-runtime--default-vs-research.json +154 -0
- package/datasets/public-seed/comparisons/bytecode-weth9-mainnet-runtime--default-vs-research.json +136 -0
- package/datasets/public-seed/comparisons/traces-besu-debug-structlogs--default-vs-research.json +91 -0
- package/datasets/public-seed/comparisons/traces-besu-mainnet-tracoor-debug-structlogs--default-vs-research.json +140 -0
- package/datasets/public-seed/comparisons/traces-call-tracer-tree--default-vs-research.json +121 -0
- package/datasets/public-seed/comparisons/traces-drpc-call-tracer-real--default-vs-research.json +123 -0
- package/datasets/public-seed/comparisons/traces-erigon-action-trace--default-vs-research.json +121 -0
- package/datasets/public-seed/comparisons/traces-foundry-json-trace--default-vs-research.json +124 -0
- package/datasets/public-seed/comparisons/traces-geth-json-rpc-structlogs--default-vs-research.json +108 -0
- package/datasets/public-seed/comparisons/traces-hardhat-debug-trace--default-vs-research.json +108 -0
- package/datasets/public-seed/comparisons/traces-nethermind-debug-structlogs--default-vs-research.json +153 -0
- package/datasets/public-seed/comparisons/traces-nethermind-mainnet-tracoor-debug-structlogs--default-vs-research.json +140 -0
- package/datasets/public-seed/comparisons/traces-storage-heavy-trace--default-vs-research.json +155 -0
- package/datasets/public-seed/findings.csv +139 -0
- package/datasets/public-seed/manifest.json +757 -0
- package/datasets/public-seed/reports/bytecode-ens-registry-mainnet-runtime--default.json +126 -0
- package/datasets/public-seed/reports/bytecode-ens-registry-mainnet-runtime--research.json +126 -0
- package/datasets/public-seed/reports/bytecode-multicall3-mainnet-runtime--default.json +97 -0
- package/datasets/public-seed/reports/bytecode-multicall3-mainnet-runtime--research.json +124 -0
- package/datasets/public-seed/reports/bytecode-storage-heavy--default.json +172 -0
- package/datasets/public-seed/reports/bytecode-storage-heavy--research.json +172 -0
- package/datasets/public-seed/reports/bytecode-uniswap-v2-factory-mainnet-runtime--default.json +172 -0
- package/datasets/public-seed/reports/bytecode-uniswap-v2-factory-mainnet-runtime--research.json +172 -0
- package/datasets/public-seed/reports/bytecode-usdc-proxy-mainnet-runtime--default.json +127 -0
- package/datasets/public-seed/reports/bytecode-usdc-proxy-mainnet-runtime--research.json +150 -0
- package/datasets/public-seed/reports/bytecode-weth9-mainnet-runtime--default.json +127 -0
- package/datasets/public-seed/reports/bytecode-weth9-mainnet-runtime--research.json +127 -0
- package/datasets/public-seed/reports/indexers-balance-diff-indexer--default.json +63 -0
- package/datasets/public-seed/reports/indexers-explorer-replay-indexer--default.json +45 -0
- package/datasets/public-seed/reports/indexers-subgraph--default.json +123 -0
- package/datasets/public-seed/reports/traces-besu-debug-structlogs--default.json +54 -0
- package/datasets/public-seed/reports/traces-besu-debug-structlogs--research.json +54 -0
- package/datasets/public-seed/reports/traces-besu-mainnet-tracoor-debug-structlogs--default.json +131 -0
- package/datasets/public-seed/reports/traces-besu-mainnet-tracoor-debug-structlogs--research.json +131 -0
- package/datasets/public-seed/reports/traces-call-tracer-tree--default.json +99 -0
- package/datasets/public-seed/reports/traces-call-tracer-tree--research.json +99 -0
- package/datasets/public-seed/reports/traces-drpc-call-tracer-real--default.json +103 -0
- package/datasets/public-seed/reports/traces-drpc-call-tracer-real--research.json +103 -0
- package/datasets/public-seed/reports/traces-erigon-action-trace--default.json +99 -0
- package/datasets/public-seed/reports/traces-erigon-action-trace--research.json +99 -0
- package/datasets/public-seed/reports/traces-foundry-json-trace--default.json +76 -0
- package/datasets/public-seed/reports/traces-foundry-json-trace--research.json +104 -0
- package/datasets/public-seed/reports/traces-geth-json-rpc-structlogs--default.json +78 -0
- package/datasets/public-seed/reports/traces-geth-json-rpc-structlogs--research.json +78 -0
- package/datasets/public-seed/reports/traces-hardhat-debug-trace--default.json +78 -0
- package/datasets/public-seed/reports/traces-hardhat-debug-trace--research.json +78 -0
- package/datasets/public-seed/reports/traces-nethermind-debug-structlogs--default.json +100 -0
- package/datasets/public-seed/reports/traces-nethermind-debug-structlogs--research.json +100 -0
- package/datasets/public-seed/reports/traces-nethermind-mainnet-tracoor-debug-structlogs--default.json +131 -0
- package/datasets/public-seed/reports/traces-nethermind-mainnet-tracoor-debug-structlogs--research.json +131 -0
- package/datasets/public-seed/reports/traces-storage-heavy-trace--default.json +151 -0
- package/datasets/public-seed/reports/traces-storage-heavy-trace--research.json +151 -0
- package/datasets/public-seed/reports/validator-operator-config--default.json +154 -0
- package/datasets/public-seed/reports/validator-operator-config-builder-gap--default.json +91 -0
- package/datasets/public-seed/reports/validator-operator-config-complete--default.json +27 -0
- package/datasets/public-seed/reports.csv +41 -0
- package/datasets/public-seed/summary.csv +42 -0
- package/datasets/public-seed/summary.json +176 -0
- package/dist/fixtures/provenance.d.ts +143 -0
- package/dist/fixtures/provenance.js +81 -0
- package/dist/fixtures/provenance.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/reports/reportTypes.d.ts +7 -7
- package/dist/reports/reportTypes.js +1 -1
- package/dist/scanners/validatorScanner.d.ts +1 -1
- package/dist/scanners/validatorScanner.js +4 -2
- package/dist/scanners/validatorScanner.js.map +1 -1
- package/docs/fixtures.md +33 -0
- package/docs/release.md +2 -2
- package/examples/baseline-comparison.md +76 -0
- package/fixtures/bytecode/ens-registry-mainnet-runtime.hex +1 -0
- package/fixtures/bytecode/multicall3-mainnet-runtime.hex +1 -0
- package/fixtures/bytecode/uniswap-v2-factory-mainnet-runtime.hex +1 -0
- package/fixtures/bytecode/usdc-proxy-mainnet-runtime.hex +1 -0
- package/fixtures/bytecode/weth9-mainnet-runtime.hex +1 -0
- package/fixtures/indexers/explorer-replay-indexer.json +64 -0
- package/fixtures/provenance.json +926 -0
- package/fixtures/traces/besu-mainnet-tracoor-debug-structlogs.json +4217 -0
- package/fixtures/traces/nethermind-mainnet-tracoor-debug-structlogs.json +5419 -0
- package/fixtures/validator/operator-config-builder-gap.yaml +22 -0
- package/fixtures/validator/operator-config-complete.yaml +28 -0
- package/package.json +4 -2
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolVersion": "0.3.2",
|
|
3
|
+
"fork": "glamsterdam",
|
|
4
|
+
"comparison": {
|
|
5
|
+
"baseline": {
|
|
6
|
+
"toolVersion": "0.3.2",
|
|
7
|
+
"fork": "glamsterdam",
|
|
8
|
+
"target": {
|
|
9
|
+
"kind": "bytecode",
|
|
10
|
+
"name": "fixtures/bytecode/uniswap-v2-factory-mainnet-runtime.hex"
|
|
11
|
+
},
|
|
12
|
+
"summary": {
|
|
13
|
+
"risk": "medium",
|
|
14
|
+
"findingCount": 6,
|
|
15
|
+
"highCount": 0,
|
|
16
|
+
"mediumCount": 3,
|
|
17
|
+
"lowCount": 2,
|
|
18
|
+
"unknownCount": 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"candidate": {
|
|
22
|
+
"toolVersion": "0.3.2",
|
|
23
|
+
"fork": "glamsterdam",
|
|
24
|
+
"target": {
|
|
25
|
+
"kind": "bytecode",
|
|
26
|
+
"name": "fixtures/bytecode/uniswap-v2-factory-mainnet-runtime.hex"
|
|
27
|
+
},
|
|
28
|
+
"summary": {
|
|
29
|
+
"risk": "medium",
|
|
30
|
+
"findingCount": 6,
|
|
31
|
+
"highCount": 0,
|
|
32
|
+
"mediumCount": 3,
|
|
33
|
+
"lowCount": 2,
|
|
34
|
+
"unknownCount": 1
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"summary": {
|
|
39
|
+
"riskChange": {
|
|
40
|
+
"from": "medium",
|
|
41
|
+
"to": "medium",
|
|
42
|
+
"direction": "unchanged"
|
|
43
|
+
},
|
|
44
|
+
"findingCount": {
|
|
45
|
+
"baseline": 6,
|
|
46
|
+
"candidate": 6,
|
|
47
|
+
"delta": 0
|
|
48
|
+
},
|
|
49
|
+
"addedCount": 0,
|
|
50
|
+
"removedCount": 0,
|
|
51
|
+
"changedCount": 0,
|
|
52
|
+
"unchangedCount": 6,
|
|
53
|
+
"severityIncreasedCount": 0,
|
|
54
|
+
"severityDecreasedCount": 0,
|
|
55
|
+
"severityChangedCount": 0,
|
|
56
|
+
"confidenceIncreasedCount": 0,
|
|
57
|
+
"confidenceDecreasedCount": 0,
|
|
58
|
+
"confidenceChangedCount": 0
|
|
59
|
+
},
|
|
60
|
+
"changes": {
|
|
61
|
+
"added": [],
|
|
62
|
+
"removed": [],
|
|
63
|
+
"changed": [],
|
|
64
|
+
"unchanged": [
|
|
65
|
+
{
|
|
66
|
+
"key": "bytecode.calldata-copy-exposure",
|
|
67
|
+
"id": "bytecode.calldata-copy-exposure",
|
|
68
|
+
"title": "Calldata copy opcode is present",
|
|
69
|
+
"severity": "low",
|
|
70
|
+
"confidence": "medium",
|
|
71
|
+
"domain": [
|
|
72
|
+
"contracts",
|
|
73
|
+
"execution"
|
|
74
|
+
],
|
|
75
|
+
"relatedEips": [
|
|
76
|
+
"GAS-REPRICING",
|
|
77
|
+
"EIP-7976",
|
|
78
|
+
"EIP-7904",
|
|
79
|
+
"EIP-8038"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"key": "bytecode.contract-creation-opcodes",
|
|
84
|
+
"id": "bytecode.contract-creation-opcodes",
|
|
85
|
+
"title": "Contract creation opcodes are present",
|
|
86
|
+
"severity": "medium",
|
|
87
|
+
"confidence": "high",
|
|
88
|
+
"domain": [
|
|
89
|
+
"contracts",
|
|
90
|
+
"execution"
|
|
91
|
+
],
|
|
92
|
+
"relatedEips": [
|
|
93
|
+
"GAS-REPRICING",
|
|
94
|
+
"EIP-8037"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"key": "bytecode.log-opcodes-present",
|
|
99
|
+
"id": "bytecode.log-opcodes-present",
|
|
100
|
+
"title": "Log opcodes are present",
|
|
101
|
+
"severity": "low",
|
|
102
|
+
"confidence": "medium",
|
|
103
|
+
"domain": [
|
|
104
|
+
"contracts",
|
|
105
|
+
"indexer",
|
|
106
|
+
"monitoring"
|
|
107
|
+
],
|
|
108
|
+
"relatedEips": [
|
|
109
|
+
"EIP-7708"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"key": "bytecode.manual-review-required",
|
|
114
|
+
"id": "bytecode.manual-review-required",
|
|
115
|
+
"title": "Manual review is still required for runtime behavior",
|
|
116
|
+
"severity": "unknown",
|
|
117
|
+
"confidence": "low",
|
|
118
|
+
"domain": [
|
|
119
|
+
"contracts",
|
|
120
|
+
"execution"
|
|
121
|
+
],
|
|
122
|
+
"relatedEips": [
|
|
123
|
+
"GAS-REPRICING"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"key": "bytecode.state-account-opcode-exposure",
|
|
128
|
+
"id": "bytecode.state-account-opcode-exposure",
|
|
129
|
+
"title": "State and account access opcodes are prominent in bytecode",
|
|
130
|
+
"severity": "medium",
|
|
131
|
+
"confidence": "medium",
|
|
132
|
+
"domain": [
|
|
133
|
+
"contracts",
|
|
134
|
+
"execution"
|
|
135
|
+
],
|
|
136
|
+
"relatedEips": [
|
|
137
|
+
"GAS-REPRICING",
|
|
138
|
+
"EIP-7904",
|
|
139
|
+
"EIP-8038",
|
|
140
|
+
"EIP-7976"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"key": "bytecode.storage-heavy-pattern",
|
|
145
|
+
"id": "bytecode.storage-heavy-pattern",
|
|
146
|
+
"title": "Storage-related opcodes appear frequently",
|
|
147
|
+
"severity": "medium",
|
|
148
|
+
"confidence": "medium",
|
|
149
|
+
"domain": [
|
|
150
|
+
"contracts",
|
|
151
|
+
"execution"
|
|
152
|
+
],
|
|
153
|
+
"relatedEips": [
|
|
154
|
+
"GAS-REPRICING",
|
|
155
|
+
"EIP-8038"
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"assumptions": [
|
|
161
|
+
"Reports were compared by finding id. Repeated finding ids are disambiguated with deterministic occurrence suffixes.",
|
|
162
|
+
"Severity and confidence changes are structural report changes, not protocol gas estimates."
|
|
163
|
+
],
|
|
164
|
+
"limitations": [
|
|
165
|
+
"The comparison does not infer exact gas deltas, final Glamsterdam parameters, or current-vs-Glamsterdam client behavior unless those values are already present in the input reports.",
|
|
166
|
+
"Added and removed findings can reflect threshold profile differences, fixture coverage changes, registry updates, or detector changes; review the source reports before treating a diff as a protocol risk change."
|
|
167
|
+
]
|
|
168
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolVersion": "0.3.2",
|
|
3
|
+
"fork": "glamsterdam",
|
|
4
|
+
"comparison": {
|
|
5
|
+
"baseline": {
|
|
6
|
+
"toolVersion": "0.3.2",
|
|
7
|
+
"fork": "glamsterdam",
|
|
8
|
+
"target": {
|
|
9
|
+
"kind": "bytecode",
|
|
10
|
+
"name": "fixtures/bytecode/usdc-proxy-mainnet-runtime.hex"
|
|
11
|
+
},
|
|
12
|
+
"summary": {
|
|
13
|
+
"risk": "medium",
|
|
14
|
+
"findingCount": 4,
|
|
15
|
+
"highCount": 0,
|
|
16
|
+
"mediumCount": 1,
|
|
17
|
+
"lowCount": 2,
|
|
18
|
+
"unknownCount": 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"candidate": {
|
|
22
|
+
"toolVersion": "0.3.2",
|
|
23
|
+
"fork": "glamsterdam",
|
|
24
|
+
"target": {
|
|
25
|
+
"kind": "bytecode",
|
|
26
|
+
"name": "fixtures/bytecode/usdc-proxy-mainnet-runtime.hex"
|
|
27
|
+
},
|
|
28
|
+
"summary": {
|
|
29
|
+
"risk": "medium",
|
|
30
|
+
"findingCount": 5,
|
|
31
|
+
"highCount": 0,
|
|
32
|
+
"mediumCount": 2,
|
|
33
|
+
"lowCount": 2,
|
|
34
|
+
"unknownCount": 1
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"summary": {
|
|
39
|
+
"riskChange": {
|
|
40
|
+
"from": "medium",
|
|
41
|
+
"to": "medium",
|
|
42
|
+
"direction": "unchanged"
|
|
43
|
+
},
|
|
44
|
+
"findingCount": {
|
|
45
|
+
"baseline": 4,
|
|
46
|
+
"candidate": 5,
|
|
47
|
+
"delta": 1
|
|
48
|
+
},
|
|
49
|
+
"addedCount": 1,
|
|
50
|
+
"removedCount": 0,
|
|
51
|
+
"changedCount": 0,
|
|
52
|
+
"unchangedCount": 4,
|
|
53
|
+
"severityIncreasedCount": 0,
|
|
54
|
+
"severityDecreasedCount": 0,
|
|
55
|
+
"severityChangedCount": 0,
|
|
56
|
+
"confidenceIncreasedCount": 0,
|
|
57
|
+
"confidenceDecreasedCount": 0,
|
|
58
|
+
"confidenceChangedCount": 0
|
|
59
|
+
},
|
|
60
|
+
"changes": {
|
|
61
|
+
"added": [
|
|
62
|
+
{
|
|
63
|
+
"key": "bytecode.storage-heavy-pattern",
|
|
64
|
+
"id": "bytecode.storage-heavy-pattern",
|
|
65
|
+
"title": "Storage-related opcodes appear frequently",
|
|
66
|
+
"severity": "medium",
|
|
67
|
+
"confidence": "medium",
|
|
68
|
+
"domain": [
|
|
69
|
+
"contracts",
|
|
70
|
+
"execution"
|
|
71
|
+
],
|
|
72
|
+
"relatedEips": [
|
|
73
|
+
"GAS-REPRICING",
|
|
74
|
+
"EIP-8038"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"removed": [],
|
|
79
|
+
"changed": [],
|
|
80
|
+
"unchanged": [
|
|
81
|
+
{
|
|
82
|
+
"key": "bytecode.calldata-copy-exposure",
|
|
83
|
+
"id": "bytecode.calldata-copy-exposure",
|
|
84
|
+
"title": "Calldata copy opcode is present",
|
|
85
|
+
"severity": "low",
|
|
86
|
+
"confidence": "medium",
|
|
87
|
+
"domain": [
|
|
88
|
+
"contracts",
|
|
89
|
+
"execution"
|
|
90
|
+
],
|
|
91
|
+
"relatedEips": [
|
|
92
|
+
"GAS-REPRICING",
|
|
93
|
+
"EIP-7976",
|
|
94
|
+
"EIP-7904",
|
|
95
|
+
"EIP-8038"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"key": "bytecode.log-opcodes-present",
|
|
100
|
+
"id": "bytecode.log-opcodes-present",
|
|
101
|
+
"title": "Log opcodes are present",
|
|
102
|
+
"severity": "low",
|
|
103
|
+
"confidence": "medium",
|
|
104
|
+
"domain": [
|
|
105
|
+
"contracts",
|
|
106
|
+
"indexer",
|
|
107
|
+
"monitoring"
|
|
108
|
+
],
|
|
109
|
+
"relatedEips": [
|
|
110
|
+
"EIP-7708"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "bytecode.manual-review-required",
|
|
115
|
+
"id": "bytecode.manual-review-required",
|
|
116
|
+
"title": "Manual review is still required for runtime behavior",
|
|
117
|
+
"severity": "unknown",
|
|
118
|
+
"confidence": "low",
|
|
119
|
+
"domain": [
|
|
120
|
+
"contracts",
|
|
121
|
+
"execution"
|
|
122
|
+
],
|
|
123
|
+
"relatedEips": [
|
|
124
|
+
"GAS-REPRICING"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "bytecode.state-account-opcode-exposure",
|
|
129
|
+
"id": "bytecode.state-account-opcode-exposure",
|
|
130
|
+
"title": "State and account access opcodes are prominent in bytecode",
|
|
131
|
+
"severity": "medium",
|
|
132
|
+
"confidence": "medium",
|
|
133
|
+
"domain": [
|
|
134
|
+
"contracts",
|
|
135
|
+
"execution"
|
|
136
|
+
],
|
|
137
|
+
"relatedEips": [
|
|
138
|
+
"GAS-REPRICING",
|
|
139
|
+
"EIP-7904",
|
|
140
|
+
"EIP-8038",
|
|
141
|
+
"EIP-7976"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"assumptions": [
|
|
147
|
+
"Reports were compared by finding id. Repeated finding ids are disambiguated with deterministic occurrence suffixes.",
|
|
148
|
+
"Severity and confidence changes are structural report changes, not protocol gas estimates."
|
|
149
|
+
],
|
|
150
|
+
"limitations": [
|
|
151
|
+
"The comparison does not infer exact gas deltas, final Glamsterdam parameters, or current-vs-Glamsterdam client behavior unless those values are already present in the input reports.",
|
|
152
|
+
"Added and removed findings can reflect threshold profile differences, fixture coverage changes, registry updates, or detector changes; review the source reports before treating a diff as a protocol risk change."
|
|
153
|
+
]
|
|
154
|
+
}
|
package/datasets/public-seed/comparisons/bytecode-weth9-mainnet-runtime--default-vs-research.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolVersion": "0.3.2",
|
|
3
|
+
"fork": "glamsterdam",
|
|
4
|
+
"comparison": {
|
|
5
|
+
"baseline": {
|
|
6
|
+
"toolVersion": "0.3.2",
|
|
7
|
+
"fork": "glamsterdam",
|
|
8
|
+
"target": {
|
|
9
|
+
"kind": "bytecode",
|
|
10
|
+
"name": "fixtures/bytecode/weth9-mainnet-runtime.hex"
|
|
11
|
+
},
|
|
12
|
+
"summary": {
|
|
13
|
+
"risk": "medium",
|
|
14
|
+
"findingCount": 4,
|
|
15
|
+
"highCount": 0,
|
|
16
|
+
"mediumCount": 2,
|
|
17
|
+
"lowCount": 1,
|
|
18
|
+
"unknownCount": 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"candidate": {
|
|
22
|
+
"toolVersion": "0.3.2",
|
|
23
|
+
"fork": "glamsterdam",
|
|
24
|
+
"target": {
|
|
25
|
+
"kind": "bytecode",
|
|
26
|
+
"name": "fixtures/bytecode/weth9-mainnet-runtime.hex"
|
|
27
|
+
},
|
|
28
|
+
"summary": {
|
|
29
|
+
"risk": "medium",
|
|
30
|
+
"findingCount": 4,
|
|
31
|
+
"highCount": 0,
|
|
32
|
+
"mediumCount": 2,
|
|
33
|
+
"lowCount": 1,
|
|
34
|
+
"unknownCount": 1
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"summary": {
|
|
39
|
+
"riskChange": {
|
|
40
|
+
"from": "medium",
|
|
41
|
+
"to": "medium",
|
|
42
|
+
"direction": "unchanged"
|
|
43
|
+
},
|
|
44
|
+
"findingCount": {
|
|
45
|
+
"baseline": 4,
|
|
46
|
+
"candidate": 4,
|
|
47
|
+
"delta": 0
|
|
48
|
+
},
|
|
49
|
+
"addedCount": 0,
|
|
50
|
+
"removedCount": 0,
|
|
51
|
+
"changedCount": 0,
|
|
52
|
+
"unchangedCount": 4,
|
|
53
|
+
"severityIncreasedCount": 0,
|
|
54
|
+
"severityDecreasedCount": 0,
|
|
55
|
+
"severityChangedCount": 0,
|
|
56
|
+
"confidenceIncreasedCount": 0,
|
|
57
|
+
"confidenceDecreasedCount": 0,
|
|
58
|
+
"confidenceChangedCount": 0
|
|
59
|
+
},
|
|
60
|
+
"changes": {
|
|
61
|
+
"added": [],
|
|
62
|
+
"removed": [],
|
|
63
|
+
"changed": [],
|
|
64
|
+
"unchanged": [
|
|
65
|
+
{
|
|
66
|
+
"key": "bytecode.log-opcodes-present",
|
|
67
|
+
"id": "bytecode.log-opcodes-present",
|
|
68
|
+
"title": "Log opcodes are present",
|
|
69
|
+
"severity": "low",
|
|
70
|
+
"confidence": "medium",
|
|
71
|
+
"domain": [
|
|
72
|
+
"contracts",
|
|
73
|
+
"indexer",
|
|
74
|
+
"monitoring"
|
|
75
|
+
],
|
|
76
|
+
"relatedEips": [
|
|
77
|
+
"EIP-7708"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "bytecode.manual-review-required",
|
|
82
|
+
"id": "bytecode.manual-review-required",
|
|
83
|
+
"title": "Manual review is still required for runtime behavior",
|
|
84
|
+
"severity": "unknown",
|
|
85
|
+
"confidence": "low",
|
|
86
|
+
"domain": [
|
|
87
|
+
"contracts",
|
|
88
|
+
"execution"
|
|
89
|
+
],
|
|
90
|
+
"relatedEips": [
|
|
91
|
+
"GAS-REPRICING"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"key": "bytecode.state-account-opcode-exposure",
|
|
96
|
+
"id": "bytecode.state-account-opcode-exposure",
|
|
97
|
+
"title": "State and account access opcodes are prominent in bytecode",
|
|
98
|
+
"severity": "medium",
|
|
99
|
+
"confidence": "medium",
|
|
100
|
+
"domain": [
|
|
101
|
+
"contracts",
|
|
102
|
+
"execution"
|
|
103
|
+
],
|
|
104
|
+
"relatedEips": [
|
|
105
|
+
"GAS-REPRICING",
|
|
106
|
+
"EIP-7904",
|
|
107
|
+
"EIP-8038",
|
|
108
|
+
"EIP-7976"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"key": "bytecode.storage-heavy-pattern",
|
|
113
|
+
"id": "bytecode.storage-heavy-pattern",
|
|
114
|
+
"title": "Storage-related opcodes appear frequently",
|
|
115
|
+
"severity": "medium",
|
|
116
|
+
"confidence": "medium",
|
|
117
|
+
"domain": [
|
|
118
|
+
"contracts",
|
|
119
|
+
"execution"
|
|
120
|
+
],
|
|
121
|
+
"relatedEips": [
|
|
122
|
+
"GAS-REPRICING",
|
|
123
|
+
"EIP-8038"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"assumptions": [
|
|
129
|
+
"Reports were compared by finding id. Repeated finding ids are disambiguated with deterministic occurrence suffixes.",
|
|
130
|
+
"Severity and confidence changes are structural report changes, not protocol gas estimates."
|
|
131
|
+
],
|
|
132
|
+
"limitations": [
|
|
133
|
+
"The comparison does not infer exact gas deltas, final Glamsterdam parameters, or current-vs-Glamsterdam client behavior unless those values are already present in the input reports.",
|
|
134
|
+
"Added and removed findings can reflect threshold profile differences, fixture coverage changes, registry updates, or detector changes; review the source reports before treating a diff as a protocol risk change."
|
|
135
|
+
]
|
|
136
|
+
}
|
package/datasets/public-seed/comparisons/traces-besu-debug-structlogs--default-vs-research.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolVersion": "0.3.2",
|
|
3
|
+
"fork": "glamsterdam",
|
|
4
|
+
"comparison": {
|
|
5
|
+
"baseline": {
|
|
6
|
+
"toolVersion": "0.3.2",
|
|
7
|
+
"fork": "glamsterdam",
|
|
8
|
+
"target": {
|
|
9
|
+
"kind": "trace",
|
|
10
|
+
"name": "fixtures/traces/besu-debug-structlogs.json"
|
|
11
|
+
},
|
|
12
|
+
"summary": {
|
|
13
|
+
"risk": "low",
|
|
14
|
+
"findingCount": 1,
|
|
15
|
+
"highCount": 0,
|
|
16
|
+
"mediumCount": 0,
|
|
17
|
+
"lowCount": 1,
|
|
18
|
+
"unknownCount": 0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"candidate": {
|
|
22
|
+
"toolVersion": "0.3.2",
|
|
23
|
+
"fork": "glamsterdam",
|
|
24
|
+
"target": {
|
|
25
|
+
"kind": "trace",
|
|
26
|
+
"name": "fixtures/traces/besu-debug-structlogs.json"
|
|
27
|
+
},
|
|
28
|
+
"summary": {
|
|
29
|
+
"risk": "low",
|
|
30
|
+
"findingCount": 1,
|
|
31
|
+
"highCount": 0,
|
|
32
|
+
"mediumCount": 0,
|
|
33
|
+
"lowCount": 1,
|
|
34
|
+
"unknownCount": 0
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"summary": {
|
|
39
|
+
"riskChange": {
|
|
40
|
+
"from": "low",
|
|
41
|
+
"to": "low",
|
|
42
|
+
"direction": "unchanged"
|
|
43
|
+
},
|
|
44
|
+
"findingCount": {
|
|
45
|
+
"baseline": 1,
|
|
46
|
+
"candidate": 1,
|
|
47
|
+
"delta": 0
|
|
48
|
+
},
|
|
49
|
+
"addedCount": 0,
|
|
50
|
+
"removedCount": 0,
|
|
51
|
+
"changedCount": 0,
|
|
52
|
+
"unchangedCount": 1,
|
|
53
|
+
"severityIncreasedCount": 0,
|
|
54
|
+
"severityDecreasedCount": 0,
|
|
55
|
+
"severityChangedCount": 0,
|
|
56
|
+
"confidenceIncreasedCount": 0,
|
|
57
|
+
"confidenceDecreasedCount": 0,
|
|
58
|
+
"confidenceChangedCount": 0
|
|
59
|
+
},
|
|
60
|
+
"changes": {
|
|
61
|
+
"added": [],
|
|
62
|
+
"removed": [],
|
|
63
|
+
"changed": [],
|
|
64
|
+
"unchanged": [
|
|
65
|
+
{
|
|
66
|
+
"key": "trace.logs-calls-visible",
|
|
67
|
+
"id": "trace.logs-calls-visible",
|
|
68
|
+
"title": "Trace includes logs or external calls",
|
|
69
|
+
"severity": "low",
|
|
70
|
+
"confidence": "high",
|
|
71
|
+
"domain": [
|
|
72
|
+
"contracts",
|
|
73
|
+
"indexer",
|
|
74
|
+
"monitoring"
|
|
75
|
+
],
|
|
76
|
+
"relatedEips": [
|
|
77
|
+
"EIP-7708",
|
|
78
|
+
"EIP-7928"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"assumptions": [
|
|
84
|
+
"Reports were compared by finding id. Repeated finding ids are disambiguated with deterministic occurrence suffixes.",
|
|
85
|
+
"Severity and confidence changes are structural report changes, not protocol gas estimates."
|
|
86
|
+
],
|
|
87
|
+
"limitations": [
|
|
88
|
+
"The comparison does not infer exact gas deltas, final Glamsterdam parameters, or current-vs-Glamsterdam client behavior unless those values are already present in the input reports.",
|
|
89
|
+
"Added and removed findings can reflect threshold profile differences, fixture coverage changes, registry updates, or detector changes; review the source reports before treating a diff as a protocol risk change."
|
|
90
|
+
]
|
|
91
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"toolVersion": "0.3.2",
|
|
3
|
+
"fork": "glamsterdam",
|
|
4
|
+
"comparison": {
|
|
5
|
+
"baseline": {
|
|
6
|
+
"toolVersion": "0.3.2",
|
|
7
|
+
"fork": "glamsterdam",
|
|
8
|
+
"target": {
|
|
9
|
+
"kind": "trace",
|
|
10
|
+
"name": "fixtures/traces/besu-mainnet-tracoor-debug-structlogs.json"
|
|
11
|
+
},
|
|
12
|
+
"summary": {
|
|
13
|
+
"risk": "medium",
|
|
14
|
+
"findingCount": 4,
|
|
15
|
+
"highCount": 0,
|
|
16
|
+
"mediumCount": 1,
|
|
17
|
+
"lowCount": 2,
|
|
18
|
+
"unknownCount": 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"candidate": {
|
|
22
|
+
"toolVersion": "0.3.2",
|
|
23
|
+
"fork": "glamsterdam",
|
|
24
|
+
"target": {
|
|
25
|
+
"kind": "trace",
|
|
26
|
+
"name": "fixtures/traces/besu-mainnet-tracoor-debug-structlogs.json"
|
|
27
|
+
},
|
|
28
|
+
"summary": {
|
|
29
|
+
"risk": "medium",
|
|
30
|
+
"findingCount": 4,
|
|
31
|
+
"highCount": 0,
|
|
32
|
+
"mediumCount": 1,
|
|
33
|
+
"lowCount": 2,
|
|
34
|
+
"unknownCount": 1
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"summary": {
|
|
39
|
+
"riskChange": {
|
|
40
|
+
"from": "medium",
|
|
41
|
+
"to": "medium",
|
|
42
|
+
"direction": "unchanged"
|
|
43
|
+
},
|
|
44
|
+
"findingCount": {
|
|
45
|
+
"baseline": 4,
|
|
46
|
+
"candidate": 4,
|
|
47
|
+
"delta": 0
|
|
48
|
+
},
|
|
49
|
+
"addedCount": 0,
|
|
50
|
+
"removedCount": 0,
|
|
51
|
+
"changedCount": 0,
|
|
52
|
+
"unchangedCount": 4,
|
|
53
|
+
"severityIncreasedCount": 0,
|
|
54
|
+
"severityDecreasedCount": 0,
|
|
55
|
+
"severityChangedCount": 0,
|
|
56
|
+
"confidenceIncreasedCount": 0,
|
|
57
|
+
"confidenceDecreasedCount": 0,
|
|
58
|
+
"confidenceChangedCount": 0
|
|
59
|
+
},
|
|
60
|
+
"changes": {
|
|
61
|
+
"added": [],
|
|
62
|
+
"removed": [],
|
|
63
|
+
"changed": [],
|
|
64
|
+
"unchanged": [
|
|
65
|
+
{
|
|
66
|
+
"key": "trace.calldata-heavy-execution",
|
|
67
|
+
"id": "trace.calldata-heavy-execution",
|
|
68
|
+
"title": "Trace includes visible calldata-heavy execution",
|
|
69
|
+
"severity": "low",
|
|
70
|
+
"confidence": "medium",
|
|
71
|
+
"domain": [
|
|
72
|
+
"contracts",
|
|
73
|
+
"execution"
|
|
74
|
+
],
|
|
75
|
+
"relatedEips": [
|
|
76
|
+
"GAS-REPRICING",
|
|
77
|
+
"EIP-7976",
|
|
78
|
+
"EIP-7904",
|
|
79
|
+
"EIP-8038"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"key": "trace.logs-calls-visible",
|
|
84
|
+
"id": "trace.logs-calls-visible",
|
|
85
|
+
"title": "Trace includes logs or external calls",
|
|
86
|
+
"severity": "low",
|
|
87
|
+
"confidence": "high",
|
|
88
|
+
"domain": [
|
|
89
|
+
"contracts",
|
|
90
|
+
"indexer",
|
|
91
|
+
"monitoring"
|
|
92
|
+
],
|
|
93
|
+
"relatedEips": [
|
|
94
|
+
"EIP-7708",
|
|
95
|
+
"EIP-7928"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"key": "trace.partial-evidence",
|
|
100
|
+
"id": "trace.partial-evidence",
|
|
101
|
+
"title": "Trace omits some useful compatibility evidence",
|
|
102
|
+
"severity": "unknown",
|
|
103
|
+
"confidence": "low",
|
|
104
|
+
"domain": [
|
|
105
|
+
"contracts",
|
|
106
|
+
"execution"
|
|
107
|
+
],
|
|
108
|
+
"relatedEips": [
|
|
109
|
+
"GAS-REPRICING",
|
|
110
|
+
"EIP-7976"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "trace.state-heavy-execution-medium",
|
|
115
|
+
"id": "trace.state-heavy-execution-medium",
|
|
116
|
+
"title": "Trace shows state-heavy execution",
|
|
117
|
+
"severity": "medium",
|
|
118
|
+
"confidence": "high",
|
|
119
|
+
"domain": [
|
|
120
|
+
"contracts",
|
|
121
|
+
"execution"
|
|
122
|
+
],
|
|
123
|
+
"relatedEips": [
|
|
124
|
+
"GAS-REPRICING",
|
|
125
|
+
"EIP-7904",
|
|
126
|
+
"EIP-8038",
|
|
127
|
+
"EIP-7976"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"assumptions": [
|
|
133
|
+
"Reports were compared by finding id. Repeated finding ids are disambiguated with deterministic occurrence suffixes.",
|
|
134
|
+
"Severity and confidence changes are structural report changes, not protocol gas estimates."
|
|
135
|
+
],
|
|
136
|
+
"limitations": [
|
|
137
|
+
"The comparison does not infer exact gas deltas, final Glamsterdam parameters, or current-vs-Glamsterdam client behavior unless those values are already present in the input reports.",
|
|
138
|
+
"Added and removed findings can reflect threshold profile differences, fixture coverage changes, registry updates, or detector changes; review the source reports before treating a diff as a protocol risk change."
|
|
139
|
+
]
|
|
140
|
+
}
|