TZ
← All projectsTrezor

Trezor firmware

Firmware monorepo for Trezor One, Model T, and Safe devices.

BitcoinHardware walletsNormal
Repository coverage

3806 commits in the local evidence base

Every captured commit receives deterministic security triage and a separate communication-quality score. Security candidates and broader second-pass signals receive full-patch Ollama analysis.

1352security candidates437second-pass queue3217AI analyses
215commits · 30 days
454commits · 60 days
1757commits · 180 days
2866commits · 365 days
Backfill bands
Aug 5 → Feb 61298 seen115 candidatesComplete
Feb 6 → Jun 6775 seen58 candidatesComplete
Jun 6 → Jul 6217 seen13 candidatesComplete
Jul 6 → Aug 5360 seen54 candidatesComplete
Commit communication

Does the history explain itself?

Message quality measures whether a commit identifies its scope, purpose, rationale, testing, and supporting references. It does not change the security-severity score.

68/100 average clarity
862Strong · 80–100
1744Adequate · 60–79
1193Thin · 40–59
7Opaque · 0–39
1security candidate with opaque commit messaging
Read the scoring rubric →
Developer activity

Who is changing the project?

Public Git author strings; identities are not independently verified.

DeveloperCommitsCandidatesAnalyzedHigh riskMessage avg.
tychovrahe396165356667
Jakub Janků1063169681
Roman Zeyde722231640372
obrusvit336138284364
cepetr304111229259
PrisionMike161108156271
Andrew Kozlik893885267
Petr Susil1159286
Martin Pastyřík291025175
M1nd3r296108250071
Ioan Bizău23076230059
Lukas Bielesch1087693066
Analysis record

Published AI watches

Last scanned 33 minutes ago

Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/caesar): use arrow in HtC anim

This commit is a user-interface polish change for the Trezor hardware wallet. It replaces the text label on the 'hold to confirm' button with a small arrow icon in one product variant (Caesar), and shortens the translated button text in se…

01422b74by obrusvit+6790−676712 files
No security note in commit
Informational 13 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): remove unused clearing-related API in `Pad`

This is a code cleanup change in the Trezor firmware's user-interface code. It removes an old 'clear' flag and related functions from a background-drawing helper called Pad, because that flag no longer did anything useful. The commit does …

ddbd3ca0by Roman Zeyde+44−15949 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): slide the eye hint and hidden characters in together

This commit is a cosmetic UI animation cleanup. It removes a 65-millisecond delay so that an eye icon and hidden password characters slide onto the screen at the same time, instead of starting at slightly different times. There is no secur…

faf18c8fby Anderson Guimaraes+5−233 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): move Eckhart passphrase input event handling to a helper [no changelog]

This commit is a pure code cleanup (refactor) in the Trezor firmware's passphrase input screen. It moves the existing event-handling logic into a new helper method without changing what the code actually does. There is no security-relevant…

0ebda150by Anderson Guimaraes+44−401 file
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): address review of the passphrase eye hint

This commit is a small internal cleanup of the passphrase-entry animation on Trezor hardware wallets. It renames timers, computes an animation value once instead of twice, and moves responsibility for redrawing to the caller. There is no i…

f97e8dd5by Anderson Guimaraes+53−493 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): extract the firmware's embedded image updates

This commit is a straightforward code cleanup: it moves the existing bootloader and nRF firmware update logic into a new helper function without changing what the code actually does. There is no security-relevant change visible in the diff.

5fec68edby tychovrahe+38−261 file
No security note in commit
Moderate 50 AI analysisMessage 100 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(solana): accept sysvars loaded from ALTs

This update fixes a bug in Trezor's Solana transaction handling. Some Solana transactions use a feature called 'address lookup tables' to save space, and Trezor was incorrectly rejecting valid transactions when a special system account (a …

Change relaxes a previously strict validation rule (sysvar account identity verification) for some instruction typesRelaxation is scoped per-instruction via a new `allow_alt_sysvars` booleanStake program instructions retain strict rejection to prevent account-role shifting attacks
76114596by Jakub Janků+100−67 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): generated code changes for uint216 parser

This commit only regenerates code bindings for a new Ethereum ABI type called ABI_UINT216. It adds the new numeric value 50 to several auto-generated enum files in Python and Rust. There is no actual parser logic, security fix, or vulnerab…

a669d909by PrisionMike+59−504 files
No security note in commit
Informational 20 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add uint216 support

This commit adds support for a new Ethereum data type, uint216, to Trezor's clear signing feature. It is a small, additive feature change with no obvious security problem. There is no indication in the commit that this fixes a vulnerabilit…

bbd7a797by PrisionMike+3−02 files
No security note in commit
Informational 19 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(clear_signing): unknown token label improvement.

This commit is a small user-interface wording change for Trezor's Ethereum 'clear signing' feature. When the device cannot identify a token involved in a transaction, it now labels the displayed contract address as 'Address (unknown token)…

No security-relevant logic changedUI label clarification onlyNo validation, parsing, or cryptographic code modified
e1230842by PrisionMike+4−21 file
No security note in commit
Informational 15 AI analysisMessage 75 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

tests(clear_signing): add unit tests and a device test.

This commit only adds new automated tests and test data for Trezor's Ethereum 'clear signing' feature. It does not change any production firmware code, so it cannot introduce a security vulnerability or fix one in shipped devices.

6ff49695by PrisionMike+868−5328 files
No security note in commit
Moderate 62 AI analysisMessage 80 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(clear_signing): minor clean up

This commit fixes a bug in the Ethereum 'clear signing' feature on Trezor hardware wallets. A value that could arrive as true/false was not being converted to a number (1/0) before being looked up, which caused clear signing to fail and fo…

Bugfix in parser that caused fallback to blind signing for LiDo transactionsBlind signing reduces transaction transparency and increases phishing/social-engineering riskBoolean-to-integer conversion omission in enum formatter
92c09256by PrisionMike+4−32 files
No security note in commit
Low 26 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): support conditional visibility

This commit adds a new feature to Trezor's Ethereum 'clear signing' system that lets wallet metadata definitions hide or require certain transaction fields based on their decoded values. It introduces two new conditions: 'ifNotIn' (hide th…

New exception path (MustMatchViolation) can abort transaction rendering if a metadata-supplied mustMatch list is not satisfiedConditional hiding (ifNotIn) could be abused by a malicious or compromised metadata definition to suppress security-relevant fields from the user interfaceConstant paths are explicitly rejected when combined with ifNotIn/mustMatch, suggesting awareness of metadata-manipulation risk
deaa1546by PrisionMike+48−21 file
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(clear_signing): add skippable parameter

This commit adds a new 'skip_item' flag to the data format used for Ethereum clear-signing on Trezor devices, but deliberately does not implement the feature yet. The code rejects any message that tries to use it. It is a forward-compatibi…

cb2659a2by PrisionMike+116−675 files
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

ci(core): reuse HW tests Slack webhook

This is a routine GitHub Actions workflow fix. It changes which Slack webhook secret is used for nightly test failure notifications and removes a now-unnecessary safety check. There is no security vulnerability in the change itself.

abfe74f9by Michal Kazda+1−51 file
No security note in commit
Informational 15 AI analysisMessage 90 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): name the skipped cases

This commit only improves a test report for Trezor's clear-signing feature. It changes how skipped test cases are listed in a nightly summary, showing each skipped case's source file and calldata size instead of just counting them by reaso…

98deb5b0by PrisionMike+25−92 files
No security note in commit
Informational 15 AI analysisMessage 95 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

test(clear_signing): run the cases without display format

This commit only changes test scripts and documentation for the Trezor firmware clear-signing test suite. It makes the tests run more registry cases—specifically those where the developer definitions do not yet have a display format—so the…

05c1f4efby PrisionMike+63−225 files
No security note in commit
Informational 15 AI analysisMessage 72 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing tutorial test in FR and small update to PT

This commit updates French and Portuguese translation strings in the Trezor firmware and refreshes the translation signature metadata. The changes are purely wording adjustments (for example, replacing abbreviations like 'nº' with the full…

29cbc419by Michal Kazda+19−193 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core/ui): standard page for Caesar mismatch

This commit is a user-interface code cleanup. It replaces a hand-built screen layout with a standard helper used by other screens in the same product line. The visible text and button behavior (a 'Quit' button on an address-mismatch warnin…

c096c17aby Jakub Janků+14−192 files
No security note in commit
Informational 15 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(core): use a one-shot timer for the eye hint start delay

This is a user-interface performance cleanup. It changes how a small eye icon (hinting that a hidden passphrase can be shown) waits before sliding onto the screen. Previously the screen was redrawn on every animation frame during the short…

fa3ec406by Anderson Guimaraes+26−121 file
No security note in commit
Repository ledger

Explore captured commits

Expand any commit for its author, full message, clarity score, changed files, triage signals, analysis, and source link.

Security candidatechore(crypto): ecdsa uncompres_coords input checkby M1nd3r · 397564ab · Aug 12, 2026 · 3 filesMessage 80 · StrongModerate 59Details
Commit message · M1nd3r

chore(crypto): ecdsa uncompres_coords input check

- Calling `uncompres_coords` will now return 0 (error) if the input `x` is a non-residue (has no sqrt) - as non-residue `x` results in an invalid `y` value. In case of failure, `y` is zeroed-out.

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
cryptography-sensitive path
AI analysis · Moderate 59/100

This commit hardens the Trezor firmware's elliptic-curve cryptography by making a low-level coordinate-decompression function validate its inputs. Previously, if a compressed public key or signature-recovery value pointed to an x-coordinate that does not correspond to any valid point on the curve, the function could silently produce a meaningless y-coordinate. The change now returns an error and clears the result, preventing downstream code from acting on invalid curve points. The commit message frames this as a routine code-quality improvement ('chore'), not as a security fix.

Lower-priorityfix(core/embed): copy the whole payload in ble_notify()by tychovrahe · ea557f78 · Aug 12, 2026 · 1 fileMessage 97 · StrongTriage 0Details
Commit message · tychovrahe

fix(core/embed): copy the whole payload in ble_notify()

`memcpy(&cmd[1], data, MIN(len, sizeof(data) - 1))` took the size of the
`data` pointer rather than of the destination buffer, so the copy was clamped
to 3 bytes on a 32-bit target. The frame length was computed from the real
`len`, so a payload longer than that was sent with the remainder as zeros
from the buffer's initialiser - a silently wrong value rather than a short
frame or an error.

Nothing is affected today: the only caller is notify_send(), and its
notification_data_t is exactly 3 bytes, which is why MIN(len, 3) happened to
cover the whole payload. That struct has reserved bits and a documented
event-specific data field, so it is one added byte away from truncating.

Clamp once against the destination and derive the frame length from the same
value, so the copy and the declared length can no longer disagree.

[no changelog]

97/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Lower-prioritychore(deps): update rust dependenciesby M1nd3r · 629a6d06 · Aug 12, 2026 · 4 filesMessage 80 · StrongTriage 0Details
Commit message · M1nd3r

chore(deps): update rust dependencies

core/embed:
- Updating anyhow v1.0.102 -> v1.0.104.
- Updating spin v0.9.8 -> v0.9.9.

rust/trezor-client
- Removing futures v0.3.31.
- Removing futures-channel v0.3.31.
- Removing futures-io v0.3.31.
- Removing futures-sink v0.3.31.
- Removing scc v2.3.4.
- Removing sdd v3.0.8.
- Updating anyhow v1.0.98 -> v1.0.104.
- Updating serial_test v3.2.0 -> v3.5.0.

[no changelog]

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Lower-priorityfix(nordic): harden the BLE write thread against malformed framesby tychovrahe · 57ed7d94 · Aug 12, 2026 · 1 fileMessage 85 · StrongTriage 8Details
Commit message · tychovrahe

fix(nordic): harden the BLE write thread against malformed frames

The thread strips the address prefix with `buf->len - 1 - BT_ADDR_SIZE`. For
a frame shorter than the prefix that underflows into a uint16_t, turning a
six-byte frame into a ~64 KB memcpy out of a 254-byte heap buffer. The
address comparison above it is only an accidental guard: in a six-byte frame
just one byte of the compared address is uninitialised, and a recycled heap
block plausibly still holds a matching value from an earlier packet.

Drop frames too short to carry the prefix, before anything reads the prefix
bytes.

While here, check the k_malloc() result, which was the only unchecked
allocation in the file, and replace the error paths' `return` with
`continue`. Returning terminates the thread, so a single absent connection
or address mismatch stopped all BLE sends until the next reboot.

[no changelog]

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
defensive validation
Security candidatefix(nordic): size the bond list event buffer for a full bond tableby tychovrahe · d8727fca · Aug 12, 2026 · 1 fileMessage 97 · StrongLow 45Details
Commit message · tychovrahe

fix(nordic): size the bond list event buffer for a full bond table

management_send_bonds() writes an event byte, a bond count, and then one
seven-byte record per bond, but sized the buffer for the count plus the
records only. With CONFIG_BT_MAX_PAIRED=8 bonds present, the final byte of
the last record lands one past the end of a 57-byte array.

No attacker is involved - eight bonded devices and a bond list request are
enough. It has likely gone unnoticed because the stray byte falls into stack
alignment padding, which is the compiler's choice rather than a guarantee.

[no changelog]

97/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode
Why it was queued
explicit security language
AI analysis · Low 45/100

This commit fixes a one-byte buffer overflow in the Trezor hardware wallet's Bluetooth code. When listing all paired Bluetooth devices, the software reserved a buffer that was one byte too small. If the maximum of eight devices were paired, the last byte of the last device's address would be written just past the end of the buffer. The commit message says no attacker is needed to trigger it; it can happen simply by requesting the bond list with eight bonded devices. The overflow is small and likely lands in harmless compiler padding, but it is still a real memory-safety bug.

Lower-priorityfix(nordic): reject truncated commands in the nRF command dispatchersby tychovrahe · 11d1d414 · Aug 12, 2026 · 3 filesMessage 85 · StrongTriage 0Details
Commit message · tychovrahe

fix(nordic): reject truncated commands in the nRF command dispatchers

All three command dispatchers read data[0] to select the command without
checking that a byte is present, and several handlers went further on the
same assumption: reading data[1], casting the frame to a command struct, or
computing `len - 1` and passing the result to a memcpy or a notification. A
zero-length frame turned that subtraction into 65535.

Add the missing length check to each dispatcher, plus a minimum length for
the handlers that read past the command byte. The minimums match what the
host MCU sends: the advertising and pairing commands are sent as complete
structs, the byte-argument commands as two-byte frames.

INTERNAL_CMD_NOTIFY deliberately keeps no minimum beyond the dispatcher's.
ble_notify() can legitimately send a one-byte frame, and with one byte
guaranteed present `len - 1` is zero at worst.

[no changelog]

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Security candidatefix(nordic): bound the GATT write length in bt_receive_cb()by tychovrahe · e46fdaeb · Aug 12, 2026 · 1 fileMessage 100 · StrongModerate 64Details
Commit message · tychovrahe

fix(nordic): bound the GATT write length in bt_receive_cb()

The receive callback copied the GATT write payload into a fixed 251-byte
stack buffer without checking its length. It does not overflow today, but
only because the numbers happen to line up exactly: one L2CAP RX buffer
holds a 247-byte ATT PDU, an ATT write spends 3 bytes on the opcode and the
handle, and 244 plus the 7-byte address prefix is exactly the buffer size.

Nothing tied those numbers together. Raising CONFIG_BT_BUF_ACL_RX_SIZE on
its own is enough to let a peer deliver more, because the delivered length
is bounded by the L2CAP RX MTU rather than by the negotiated ATT MTU -
att_write_req() and att_write_cmd() pass the received length straight to the
callback.

Reject anything longer than BLE_RX_PACKET_SIZE, and add a BUILD_ASSERT so
that the Bluetooth buffer configuration and BLE_RX_PACKET_SIZE can no longer
drift apart silently.

[no changelog]

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Names security-relevant behavior explicitly
Why it was queued
memory safety
AI analysis · Moderate 64/100

This commit fixes a Bluetooth code flaw in Trezor's Nordic chip firmware. A function that receives data from another device over Bluetooth was copying that data into a fixed-size on-chip memory buffer without first checking how long the incoming data was. Right now the sizes happen to match, so no overflow occurs, but a configuration change or a connected peer sending a specially large write could have overflowed the buffer. The patch now rejects oversized incoming packets and adds a compile-time check so the buffer sizes cannot silently drift apart in future builds.

Security candidatefix(nordic): bound the length of SPI frames from the host MCUby tychovrahe · fd866b0a · Aug 12, 2026 · 2 filesMessage 85 · StrongLow 49Details
Commit message · tychovrahe

fix(nordic): bound the length of SPI frames from the host MCU

process_rx_msg() copied `len` bytes into trz_packet_t.data[254] without
checking it. `msg_len` is a uint8_t, so the destination could be overflowed
by one byte - landing in the packet's own `len` field - and the source read
could run two bytes past the 254-byte SPI receive buffer, whose data field
starts at offset 2 and is 251 bytes long.

Bound both ends: reject frames whose msg_len exceeds MAX_SPI_DATA_SIZE while
the frame is being validated, and keep a check against PACKET_DATA_SIZE in
process_rx_msg(), which owns the destination.

[no changelog]

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
memory safetydefensive validation
AI analysis · Low 49/100

This commit fixes a small but real memory overflow bug in the code that handles Bluetooth-related SPI messages between the host microcontroller and the Nordic chip in a Trezor device. A malicious or malformed message could ask the firmware to copy slightly more data than the destination buffer can hold, potentially corrupting an adjacent length field and reading past the end of the receive buffer. The patch now rejects oversized frames at two different points in the code.

Lower-prioritychore(core,rust): fail cargo audit on warningsby M1nd3r · 1b033a61 · Aug 12, 2026 · 2 filesMessage 72 · AdequateTriage 0Details
Commit message · M1nd3r

chore(core,rust): fail cargo audit on warnings

Warnings - yanked, unsound, unmaintained, and notice - are now treated
as errors.

[no changelog]

72/100 · AdequateMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Lower-priorityfix(core): clear optiga random buffer before and after useby cepetr · 348032f6 · Aug 12, 2026 · 1 fileMessage 67 · AdequateTriage 0Details
Commit message · cepetr

fix(core): clear optiga random buffer before and after use

[no changelog]

67/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Lower-priorityfix(core/embed): stop jpegdec_feed_fifo() reading past the input bufferby tychovrahe · 5f6f754c · Aug 12, 2026 · 1 fileMessage 85 · StrongTriage 0Details
Commit message · tychovrahe

fix(core/embed): stop jpegdec_feed_fifo() reading past the input buffer

The last, possibly incomplete word was fetched with a full 32-bit load and
then masked, so for a `size` that isn't 4-byte aligned - which is allowed
on the last chunk - it read up to 3 bytes beyond `data[size - 1]`. The
extra bytes were masked off and never reached the FIFO, but the kernel
still touched memory the applet had not declared and the syscall verifier
is expected to bound.

Assemble that word from single bytes instead. The value is bit-identical
for every tail length, so decoding is unaffected, and the tail path runs
at most once per input chunk.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Lower-priorityfix(core/embed): verify pointer-carrying structs on a local copyby tychovrahe · acff967b · Aug 12, 2026 · 2 filesMessage 95 · StrongTriage 0Details
Commit message · tychovrahe

fix(core/embed): verify pointer-carrying structs on a local copy

`boot_image_check()`, `boot_image_replace()` and `ipc_message_free()` were
handed the applet's own struct after the verifier had checked the pointer
and length it carries, and the implementations re-read those fields. The
checked values and the used values were therefore not guaranteed to be
the same bytes.

Applet memory is not stable while a syscall runs: `HAL_DMA2D_Start()`
returns with the transfer still in flight and its destination is
applet-supplied, and a kernel-invoked applet callback can issue further
syscalls, since `in_callback` only gates `sysevents_poll()`.

Copy the struct first and verify the copy, which is what the bitblt
verifiers already do.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

95/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
Lower-priorityfix(core/embed): probe the range jpegdec_process() actually readsby tychovrahe · 2e9821ba · Aug 12, 2026 · 1 fileMessage 100 · StrongTriage 0Details
Commit message · tychovrahe

fix(core/embed): probe the range jpegdec_process() actually reads

The verifier checked `[data, data + size - offset)` while the decoder
reads 32-bit words from `&data[offset]` up to `data[size]`. The length
matched but the base did not, so for `offset >= size / 2` the checked and
accessed ranges are disjoint: an applet could place `data` so that the
probe only covers memory it owns while the decoder feeds the JPEG FIFO
from the memory that follows it, and read the decoded result back with
`jpegdec_get_slice_*()`.

Probe the whole buffer instead.

Also verify the bounds on a local copy of the input struct
and write it back afterwards: the fields were re-read from applet memory
on every FIFO-feed iteration, and applet memory is not stable for the
duration of a syscall.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
Security candidatefix(core/embed): bound bond count before sizing the BLE bond list probeby tychovrahe · 8fe5d4f8 · Aug 12, 2026 · 1 fileMessage 90 · StrongHigh 70Details
Commit message · tychovrahe

fix(core/embed): bound bond count before sizing the BLE bond list probe

`sizeof(bt_le_addr_t) * count` is computed in a 32-bit `size_t`, so a
large `count` wraps and shrinks the probed range to a few bytes, while
`ble_get_bond_list()` ignores `count` on that path and always copies
`BLE_MAX_BONDS` entries. An applet could therefore have the kernel write
bond records past the end of the memory that was checked.

Reject counts above `BLE_MAX_BONDS`, which is both what the
implementation is willing to write and low enough that the size cannot
overflow. The only callers pass exactly `BLE_MAX_BONDS`.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
memory safety
AI analysis · High 70/100

This commit fixes a kernel-level memory overflow bug in the Trezor firmware's Bluetooth system. A malicious applet running on the device could request a huge number of Bluetooth 'bond' records, causing a size calculation to wrap around due to 32-bit arithmetic limits. The kernel would then write far more data than the memory area it had verified was safe, potentially overwriting other memory. The fix rejects any request larger than the maximum number of bonds the system actually supports.

Lower-priorityfix(core/embed): reject NULL pointers in syscall/smcall access probesby tychovrahe · 6053cab5 · Aug 12, 2026 · 6 filesMessage 85 · StrongTriage 0Details
Commit message · tychovrahe

fix(core/embed): reject NULL pointers in syscall/smcall access probes

`probe_read_access()` and `probe_write_access()` returned true for
`addr == NULL`, so a NULL passed with a non-zero length was treated as
accessible and handed to the kernel helper behind the verifier. NULL is
not part of any applet area, so reject it.

The blanket exemption was load-bearing for the arguments that are
optional by contract - `ext_salt`, `storage_get(val)`, `pm_suspend()`,
`usb_start()` and the `storage_setup()` callback. Those now use explicit
`probe_*_access_opt()` variants, which keeps every optional pointer
visible at its call site and makes an unannotated NULL an access
violation instead of a kernel dereference.

`probe_execute_access()` was additionally missing the `applet == NULL`
check that the other two probes have.

[no changelog]

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Security candidatefeat(core/ethereum): integrate EIP-7702 delegation into `EthereumSignTxEIP1559`by Roman Zeyde · 9a044adb · Aug 12, 2026 · 4 filesMessage 90 · StrongLow 36Details
Commit message · Roman Zeyde

feat(core/ethereum): integrate EIP-7702 delegation into `EthereumSignTxEIP1559`

For now, let's support at most one EIP-7702 authorization tuple per transaction.

The feature is still experimental, so no changelog entry is added.

[no changelog]

90/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
access controlsigning or wallet path
AI analysis · Low 36/100

This commit adds experimental support for a new Ethereum feature (EIP-7702) that lets an account temporarily delegate control to a smart contract. The change is feature work, not a bug fix, and includes several safety guardrails: it is blocked unless experimental features are enabled, requires relaxed safety checks for authorizations (but not revocations), rejects cross-chain delegation, and only allows known delegate addresses. There is no direct evidence in the commit that this fixes a security vulnerability.

Lower-prioritychore: add SECURITY.MDby Pavol Rusnak · 6cd6175b · Aug 12, 2026 · 1 fileMessage 45 · ThinTriage 0Details
Commit message · Pavol Rusnak

chore: add SECURITY.MD

45/100 · ThinMessage clarity
✓ Subject identifies a change✓ Uses a recognizable type or scope✓ Names security-relevant behavior explicitly! No meaningful explanatory body
Why it was queued
documentation-only discount
AI review queuedfix(solana): show optional instruction params by defaultby Jakub Janků · 0fea1482 · Aug 12, 2026 · 7 filesMessage 100 · StrongHigh 76Details
Commit message · Jakub Janků

fix(solana): show optional instruction params by default

Prior to this change, optional params of the instructions of the
recognized Solana programs were never displayed when their value is
None, even though None may encode an action rather than the absence
of one.

This commit changes the confirmation code so that optional params of
the value None are always displayed unless they are hidden using a
special new modifier "default_value_to_hide": "none".

Both semantics None can have are present in the affected
instructions. In the SetAuthority instructions of the Token programs,
None is an action: it unsets the authority, usually irreversibly. It
is now displayed, so the user can distinguish removing the authority
from setting it to themselves (the latter is hidden as a safe
default). In the SetLockup instructions of the Stake program, None
means the field is left unchanged, so it is hidden using the "none"
modifier. A lockup timestamp or epoch of 0, previously hidden as a
default value, is a real value that clears the lockup constraint and
is now displayed.

Set lockup impl:
https://github.com/solana-program/stake/blob/68217e1e5e17d495280ef9e12243c7ebbe6e1710/interface/src/state.rs#L525-L551

Set authority impl:
https://github.com/solana-program/token-2022/blob/426400f29d5f1e299be8b353fdf13f22358fbd68/program/src/processor.rs#L709-L1025

Partially fixes: https://github.com/satoshilabs/trezor-firmware/issues/325

(cherry picked from commit 6058377602f6989c58bbe599aa0e5c5e85324ce4)

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Links an issue, advisory, or supporting reference
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · High 76/100

This update fixes a security issue in Trezor's Solana transaction signing where important instruction details were hidden from the user. Previously, when a Solana instruction had an optional parameter set to 'None', Trezor simply did not show it at all. But 'None' can sometimes mean something important, like permanently removing an authority, not just 'nothing happens.' After the fix, Trezor now shows 'None' to the user by default, unless the developers explicitly mark that parameter as safe to hide. This helps prevent users from unknowingly approving destructive actions, such as removing their own control over tokens or clearing stake account lockups.

Lower-priorityfix(core): correct `get_slip39_remaining_shares()` return value handlingby Roman Zeyde · 960a0f88 · Aug 12, 2026 · 3 filesMessage 89 · StrongTriage 0Details
Commit message · Roman Zeyde

fix(core): correct `get_slip39_remaining_shares()` return value handling

It should always return the correct value, to avoid confusion between 0 and None.

[no changelog]

89/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Explains rationale or failure mode
Lower-priorityrefactor(solana): always treat default_value_to_hide=signer as specialby Jakub Janků · 6ccd9131 · Aug 12, 2026 · 1 fileMessage 85 · StrongTriage 0Details
Commit message · Jakub Janků

refactor(solana): always treat default_value_to_hide=signer as special

For string parameters, the previous code would hide the literal
value "signer". This behavior can be somewhat unexpected. Let's
always treat the value "signer" as a special case. This way, if
the keyword is used with non-pubkey parameters, no value is hidden
during the property confirmation, which is the safe default.

[no changelog]

(cherry picked from commit b1f08d2ae8dd32cee2d9361f0fc394433f5a9ec8)

85/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Security candidaterefactor(core/ethereum): don't unpack Ethereum signaturesby Roman Zeyde · 5361917d · Aug 11, 2026 · 2 filesMessage 100 · StrongInformational 15Details
Commit message · Roman Zeyde

refactor(core/ethereum): don't unpack Ethereum signatures

```
tests/device_tests/ethereum/test_signtx.py: 176 warnings
/home/rzeyde/src/trezor-firmware/tests/device_tests/ethereum/test_signtx.py:139: DeprecationWarning: Ethereum signature is a dataclass (`SignTxResult`), not a tuple.
sig_v, sig_r, sig_s = ethereum.sign_tx(

tests/device_tests/ethereum/test_signtx.py: 636 warnings
/home/rzeyde/src/trezor-firmware/tests/device_tests/ethereum/test_signtx.py:96: DeprecationWarning: Ethereum signature is a dataclass (`SignTxResult`), not a tuple.
sig_v, sig_r, sig_s = ethereum.sign_tx(

tests/device_tests/ethereum/test_signtx.py: 64 warnings
/home/rzeyde/src/trezor-firmware/tests/device_tests/ethereum/test_signtx.py:258: DeprecationWarning: Ethereum signature is a dataclass (`SignTxResult`), not a tuple.
sig_v, sig_r, sig_s = ethereum.sign_tx_eip1559(

tests/device_tests/ethereum/test_signtx.py: 24 warnings
/home/rzeyde/src/trezor-firmware/tests/device_tests/ethereum/test_signtx.py:685: DeprecationWarning: Ethereum signature is a dataclass (`SignTxResult`), not a tuple.
sig_v, sig_r, sig_s = ethereum.sign_tx_eip1559(

tests/device_tests/ethereum/test_signtx.py: 12 warnings
/home/rzeyde/src/trezor-firmware/tests/device_tests/ethereum/test_signtx.py:471: DeprecationWarning: Ethereum signature is a dataclass (`SignTxResult`), not a tuple.
sig_v, sig_r, sig_s = ethereum.sign_tx_eip1559(
```

[no changelog]

100/100 · StrongMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification✓ Names security-relevant behavior explicitly
Why it was queued
signing boundarysigning or wallet path
AI analysis · Informational 15/100

This commit is a minor cleanup in Trezor's Python test and command-line code. It stops treating Ethereum transaction signatures as plain tuples (v, r, s) and instead uses a named data class (SignTxResult). The only functional code change is converting the data class back to a tuple in one place so existing callers keep working. There is no security bug being fixed here.

Security candidatefix(legacy): align coinjoin behavior with coreby Andrew Kozlik · e1463ec0 · Aug 11, 2026 · 5 filesMessage 85 · StrongLow 35Details
Commit message · Andrew Kozlik

fix(legacy): align coinjoin behavior with core

An authorization granted by DoPreauthorized was consumed by whatever
message arrived next, and the same applied to a path unlocked by
UnlockPath. Core allows a coinjoin preauthorization to be used only by
SignTx and GetOwnershipProof, and an unlocked path only by GetAddress,
GetPublicKey and SignTx. Apply the same allowlists by dropping the
authorization before dispatching a message it does not apply to, which
reproduces core's behavior of aborting the workflow and reprocessing the
message as a new one.

This is defense in depth rather than a fix for a reachable issue. The
authorization is stored per session, so whoever can use it is the host
that ran AuthorizeCoinJoin, which already holds the SLIP-25 xpub from a
confirmed UnlockPath. Without the allowlist a coinjoin authorization
additionally let GetAddress and GetOwnershipId reach the SLIP-25
external chain without the coinjoin account access confirmation. The
xpub was never exposed, as GetPublicKey checks unlock_path directly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

85/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Names security-relevant behavior explicitly
Why it was queued
access controlboot or update pathauthentication path
AI analysis · Low 35/100

This commit tightens access controls in the older Trezor firmware (legacy) for a privacy feature called CoinJoin. Previously, after a host app was pre-authorized, any next message could consume that authorization. Now only specific message types (SignTx and GetOwnershipProof for preauthorization; GetAddress, GetPublicKey, and SignTx for an unlocked path) can use it. The vendor describes this as defense in depth, not a fix for a directly reachable attack, because the host that could trigger it already has related access. Still, without the change, a preauthorization could let GetAddress or GetOwnershipId touch the CoinJoin account without showing the user the usual confirmation screen.

AI review queuedfix(core): nostr string serializationby Martin Milata · 1239c9e1 · Aug 11, 2026 · 3 filesMessage 57 · ThinModerate 60Details
Commit message · Martin Milata

fix(core): nostr string serialization

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
signing or wallet pathsecond-pass: security-sensitive path
AI analysis · Moderate 60/100

This commit fixes a bug in how the Trezor hardware wallet builds Nostr event signatures. Previously, special characters in the event content and tags (like quotes, backslashes, tabs, and newlines) were not properly escaped when creating the JSON string that gets signed. This could cause the device to compute a signature that does not match what standard Nostr software expects, or in some cases could allow a malicious app to craft content that changes the meaning of what the user approved on screen versus what is actually signed. The fix adds proper JSON string escaping for both the main content and tag strings.

Security candidatefix(legacy): abort on coinjoin coin-name mismatchby Andrew Kozlik · afc6ebe3 · Aug 11, 2026 · 3 filesMessage 80 · StrongLow 34Details
Commit message · Andrew Kozlik

fix(legacy): abort on coinjoin coin-name mismatch

Enforces a check aligning the behavior with core. The missing check did
not yield anything an attacker couldn't get from a legitimate coinjoin
round on the authorized coin. The inputs signed are always from the
authorized SLIP-25 account regardless of what coin_name claims.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

80/100 · StrongMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
Why it was queued
explicit security languagesigning or wallet pathboot or update pathauthentication path
AI analysis · Low 34/100

This commit fixes a bug in the older Trezor firmware (legacy) where a CoinJoin signing session would not be properly aborted if the requested coin name did not match the one in the prior authorization. Before the fix, the device sent an error message but continued processing, which could allow a malicious or mismatched transaction to proceed. The fix adds an explicit abort and return so the signing stops immediately, matching the behavior of newer Trezor firmware (core). The commit message downplays the practical risk, noting an attacker could not gain more than from a legitimate CoinJoin on the authorized coin.

Security candidatechore(core/ethereum): drop `EthereumSignAuth7702` and its handlerby Roman Zeyde · bd6186c4 · Aug 11, 2026 · 17 filesMessage 77 · AdequateInformational 15Details
Commit message · Roman Zeyde

chore(core/ethereum): drop `EthereumSignAuth7702` and its handler

It will be integrated into `EthereumSignTxEIP1559`.

[no changelog]

77/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
Why it was queued
signing or wallet pathauthentication path
AI analysis · Informational 15/100

This commit removes an Ethereum feature called EthereumSignAuth7702 from the Trezor firmware and related software. It deletes the message types, the signing handler, the command-line tool, and the tests. The commit message says this feature will later be merged into EthereumSignTxEIP1559. There is no security fix here—this is a routine cleanup/refactoring change.