AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 37 Bitcoin

fix(ethereum): render unoswap pools as raw bytes

Public commit record

What the developer wrote

Authored by Ioan Bizău

80/100 · Strong
fix(ethereum): render unoswap pools as raw bytes

The `pools` parameter is not an `uint256[]` like the clear signing
registry claims - that being just an optimization to save on gas fees
and keeping the compiler happy by compiling (no pun intended) more
information into a field. So the best we can do for now is to render the
field as a raw value.

[no changelog]
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes how Trezor displays details for certain 1inch cryptocurrency swap transactions. Previously, the device tried to interpret a parameter called 'pools' as a list of plain numbers, but it actually contains packed binary data. The change makes the device show the raw bytes as hexadecimal instead of trying to decode them as numbers. This is a display/clarity fix rather than a direct theft-of-funds bug, but mis-displaying swap details could in theory help an attacker trick a user into approving a malicious transaction.

Recommended action

Users relying on Trezor's clear-signing for 1inch swaps should ensure their firmware is updated so that pool data is shown accurately. Developers should verify whether other functions in the clear-signing registry have similar type mismatches and consider adding regression tests for calldata decoding. No immediate emergency action is indicated.

Security signals we found

01

Transaction display misclassification: a bytes field was being parsed as uint256 array, potentially showing misleading information to the user

02

Clear-signing registry mismatch: the EIP-7730 registry description did not match actual 1inch calldata encoding

03

User confirmation UI change: previously only the last pool was shown with a unit formatter; now the full raw pools bytes are shown as hex

04

No changelog entry indicates the developer did not treat this as a user-visible security fix

Risk score

Why this scored 37/100

Our methodology →
Potential impact 8/30
Exploitability 7/25
Stealth signal 6/15
Affected reach 7/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.