test(clear_signing): add binaries for external device test
What changed, and why it matters
This commit only adds test data files for Ethereum clear-signing tests. It includes a token definition for DAI on Ethereum mainnet and a fake network/token definition for chain ID 223, plus updates to UI test fixtures. There is no change to production firmware code, no security fix, and no vulnerability.
No action required; this is a test-only commit adding fixtures.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds JSON test fixtures under tests/device_tests/ethereum/definitions/ for Ethereum network and token definitions used in device tests. One fixture defines the real DAI token on chain ID 1; the other two define a synthetic chain ID 223 network and token for testing purposes. The fixtures.json update is binary/diff-unavailable but the commit title and message indicate it is test-only. No firmware source code is modified.
Changed components
tests/device_tests/ethereum/definitions/eth/chain-id/1/token-6b175474e89094c44da98b954eedeac495271d0f.jsontests/device_tests/ethereum/definitions/eth/chain-id/223/network.jsontests/device_tests/ethereum/definitions/eth/chain-id/223/token-eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.jsontests/ui_tests/fixtures.jsonInspect captured patch +883 / −742
### tests/device_tests/ethereum/definitions/eth/chain-id/1/token-6b175474e89094c44da98b954eedeac495271d0f.json
@@ -0,0 +1,10 @@
+{
+ "data_type": "ETHEREUM_TOKEN",
+ "message": {
+ "address": "6b175474e89094c44da98b954eedeac495271d0f",
+ "chain_id": 1,
+ "symbol": "DAI",
+ "decimals": 18,
+ "name": "Dai"
+ }
+}
### tests/device_tests/ethereum/definitions/eth/chain-id/223/network.json
@@ -0,0 +1,9 @@
+{
+ "data_type": "ETHEREUM_NETWORK",
+ "message": {
+ "chain_id": 223,
+ "symbol": "BTC",
+ "slip44": 60,
+ "name": "B2"
+ }
+}
### tests/device_tests/ethereum/definitions/eth/chain-id/223/token-eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.json
@@ -0,0 +1,10 @@
+{
+ "data_type": "ETHEREUM_TOKEN",
+ "message": {
+ "address": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
+ "chain_id": 223,
+ "symbol": "BTC",
+ "decimals": 18,
+ "name": "B2"
+ }
+}
### tests/ui_tests/fixtures.json
[binary or diff unavailable]Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.