TZ
← All projectsTrezor

Trezor firmware

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

BitcoinHardware walletsNormal
Repository coverage

3863 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.

1381security candidates441second-pass queue3250AI analyses
168commits · 30 days
444commits · 60 days
1780commits · 180 days
2900commits · 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
882Strong · 80–100
1757Adequate · 60–79
1217Thin · 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.
tychovrahe402169360668
Jakub Janků1083371681
Roman Zeyde722231640372
obrusvit336138284364
cepetr310114232259
PrisionMike161108156271
Andrew Kozlik913986267
Petr Susil1159286
Martin Pastyřík311227176
M1nd3r301111253071
Lukas Bielesch1228198065
Ioan Bizău23076230059
Analysis record

Published AI watches

Last scanned 18 hours, 50 minutes ago

Informational 15 AI analysisMessage 93 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): teach mass-rebuild-combined.py about flakes

This is a small developer-tooling fix. It changes an internal build helper script so that it uses a newer Nix command ('nix develop') when the project has a 'flake.lock' file, instead of the older 'nix-shell'. The change only affects how t…

524f9fa4by Martin Milata+3−11 file
No security note in commit
Low 32 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(core): add `requires_unlock` paths helper

This is a small internal cleanup in the Trezor firmware that replaces several direct checks for a special SLIP-25 Bitcoin path with a single helper function called requires_unlock(). It does not change the security rules themselves; it onl…

Refactoring only: no change in access-control policySLIP-25 path gating remains present and centralizedExternal-app crypto path restriction preserved
47ea7912by M1nd3r+17−155 files
No security note in commit
Informational 24 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(legacy): warn before updating bootloader

This commit adds a user confirmation step before the Trezor device updates its bootloader. Previously, the bootloader update began automatically after detecting an older or known bootloader. The change shows a warning screen telling the us…

User confirmation added before destructive bootloader updateWarning about power-loss bricking risk during bootloader eraseBootloader update is a high-privilege, device-modifying operation
451f3f68by Andrew Kozlik+27−02 files
No security note in commit
Informational 11 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(rust): ignore curve25519-dalek advisory

This commit adds a configuration file telling Trezor's Rust security audit tool to ignore a known security advisory (RUSTSEC-2026-0620) for the curve25519-dalek cryptography library. The commit message states Trezor is not affected by this…

Suppression of a published Rust security advisory (RUSTSEC-2026-0620)Dependency chain involves curve25519-dalek / x25519-dalek used via trezor-noise-rust-cryptoNo code or cryptographic changes in the commit
3efbd915by M1nd3r+6−01 file
Vendor flagged security relevance
Moderate 62 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core, legacy): reject locked SLIP-25 paths

This update fixes a security gap in Trezor hardware wallets. Normally, when users disable strict safety checks, the device allows unusual key paths. However, it was still supposed to block SLIP-25 (CoinJoin) paths unless the user had expli…

Bypass of path validation when safety checks are disabledLocked SLIP-25/CoinJoin paths could be used without authorizationFix applies to both core and legacy firmware
331b3f80by M1nd3r+299−89 files
Vendor flagged security relevance
Informational 15 AI analysisMessage 83 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

chore: bump versions

This commit only changes version numbers and translation metadata across Trezor firmware components. There are no code logic changes, bug fixes, or security-related modifications in the diff. It is a routine release bookkeeping step.

332283eaby Jakub Janků+16−1613 files
No security note in commit
Informational 13 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): gate the app API under app_runtime

This commit is a straightforward internal code reorganization. It moves several app-facing Rust modules (error handling, crypto, UI, logging, wire protocol, etc.) under a single `app_runtime` module and re-exports them at the crate root. T…

16ce7bbfby Lukas Bielesch+32−3611 files
No security note in commit
Informational 17 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

chore(legacy): handle AppError failure type

This commit adds a missing human-readable error message for a new failure type called 'AppError' in the older Trezor (legacy) firmware. Without this change, if the device encountered an AppError it would fall through to a generic 'Firmware…

Missing enum case in failure-reporting pathPotential misclassification of runtime errors to usersNo memory safety, cryptographic, or authorization changes
b7aef814by Lukas Bielesch+3−01 file
No security note in commit
Moderate 59 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): attribute user MLSPERR to unprivileged task

This commit fixes a bug in the Trezor firmware's task scheduler where a specific hardware memory fault (related to lazy floating-point register saving) was being blamed on the wrong task. Previously, the kernel/privileged code could be inc…

Incorrect fault attribution between privileged kernel and unprivileged taskPotential wrong task termination/killing due to misattributed memory faultLazy floating-point state preservation (FP lazy stacking) edge case
b3e499f5by cepetr+50−51 file
No security note in commit
Moderate 65 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core): validate unprivileged task psp

This commit adds a safety check inside the Trezor hardware wallet's core task scheduler. Before saving a task's state during a context switch, the operating system now verifies that the task's stack pointer points to a valid location withi…

Kernel writes to user-controlled pointer without bounds validation (pre-patch)Privilege escalation / memory corruption via forged PSP in unprivileged taskAddition of explicit PSP range validation before context save
8097a4a5by cepetr+42−21 file
No security note in commit
Informational 15 AI analysisMessage 88 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(core/delizia): remove stale Pad::clear() call

This is a tiny build-fix patch, not a security change. A previous code cleanup removed a function called Pad::clear(), but a new screen in the passphrase input still tried to call it, causing the T3T1 hardware wallet firmware build to fail…

57b35a8fby Jakub Janků+0−11 file
No security note in commit
Informational 12 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core/rust/crypto): add ECDSA public key uncompression

This commit adds a new internal helper function that converts compressed ECDSA public keys into their uncompressed form. It is a feature addition with no visible security bug: the code validates the key prefix, uses the correct buffer size…

be9504b9by Lukas Bielesch+57−02 files
No security note in commit
Informational 15 AI analysisMessage 62 · Adequate
TZ TrezorTrezor firmware BitcoinHardware wallets

refactor(sdk): replace get_xpub and get_public_key with get_public_node

This commit is a routine internal code cleanup in the Trezor firmware SDK. It renames and consolidates two ways of reading a public key into a single function, and adds a helper to decompress ECDSA public keys. There is no indication of a …

8c30110eby Lukas Bielesch+35−424 files
No security note in commit
Low 41 AI analysisMessage 85 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

feat(core): handle bkpt instruction in unprivileged mode

This firmware update changes how the Trezor device handles a special ARM processor instruction called BKPT when it is executed by low-privilege code (unprivileged mode). Previously, such a breakpoint could escalate into a HardFault and reb…

Prevents unprivileged BKPT from escalating to HardFault/RSOD rebootAdds DebugMonitor exception handler that exits the faulting taskComment explicitly notes remaining RSOD behavior at RDP level 0 on Secure-Monitor devices
bcbcd7fbby cepetr+22−02 files
No security note in commit
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 82 · Strong
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): fix failing ES test

This commit updates translation files for the Trezor hardware wallet. It corrects a typo in the Spanish translation ('Tiiempo' to 'Tiempo'), adjusts wording in several languages, and updates the digital signature that verifies the translat…

580f40f8by Michal Kazda+41−216 files
No security note in commit
Informational 15 AI analysisMessage 57 · Thin
TZ TrezorTrezor firmware BitcoinHardware wallets

fix(translations): add PT glyph `â`

This commit adds a single missing Portuguese character (â) to the font files used on Trezor hardware wallets. It is a routine translation/localization fix with no security relevance.

2bf28f83by Michal Kazda+562−325 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

build(core): split bootloader zero fill into own section

This is a build-system and reporting-only change for Trezor hardware wallets. It renames the zero-fill padding at the end of the bootloader image from a subsection of `.flash` to its own output section `.flash_padding`, and updates interna…

7acff3ccby tychovrahe+38−766 files
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.

Lower-prioritydocs: hello world and other documentation updatesby Thalarion · fe980ef1 · Jan 16, 2026 · 6 filesMessage 57 · ThinInformational 15Details
Commit message · Thalarion

docs: hello world and other documentation updates

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
documentation-only discount
AI analysis · Informational 15/100

This commit only updates documentation. It renames a developer tutorial, fixes links, adds a new hardware model (Trezor Safe 7) to reproducible-build instructions, and refreshes code examples. No firmware, bootloader, or cryptographic code is changed, so it cannot directly affect device security.

Lower-prioritychore(core): rewrite comments in cli.h into doxygen styleby tychovrahe · 9e028ab6 · Jan 16, 2026 · 1 fileMessage 62 · AdequateInformational 15Details
Commit message · tychovrahe

chore(core): rewrite comments in cli.h into doxygen style

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only rewrites code comments in a single header file to follow Doxygen documentation style. It does not change any executable code, logic, or security behavior. The only functional-looking addition is a new error-code constant named CLI_ERROR_INVALID_CRC, but it is just a string literal definition with no code using it, so it cannot by itself create a vulnerability.

Lower-priorityfeat(core/prodtest): allow alternative per-command CRC verificationby tychovrahe · be8ef622 · Jan 16, 2026 · 5 filesMessage 72 · AdequateInformational 19Details
Commit message · tychovrahe

feat(core/prodtest): allow alternative per-command CRC verification

[no changelog]

72/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
Why it was queued
defensive validation
AI analysis · Informational 19/100

This commit changes the Trezor production-test command-line interface so that CRC checksums can be applied either globally or per-command using a new 'checked-' prefix. It is a feature addition, not a fix for an exploitable vulnerability. The change does touch CRC parsing code, but the diff shows no obvious security bug such as buffer overflow or bypass. The main risk is that any mistake in the new CRC logic could weaken integrity checks for a low-privilege manufacturing/debug interface.

Lower-priorityfeat(core/prodtest): introduce CRC checks for CLI commandsby tychovrahe · 308f2c76 · Jan 16, 2026 · 7 filesMessage 62 · AdequateInformational 21Details
Commit message · tychovrahe

feat(core/prodtest): introduce CRC checks for CLI commands

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 21/100

This commit adds an optional CRC-32 checksum feature to the Trezor production-test command-line interface (prodtest CLI). It is a data-integrity feature, not a fix for an existing security vulnerability. The change lets factory-test tools request that every command and response include a CRC checksum, helping detect accidental communication corruption. There is no indication in the commit that this addresses a known attack or security flaw.

Lower-priorityfeat(core/prodtest): add commands for generic memory read/writeby tychovrahe · a0b6089d · Jan 16, 2026 · 2 filesMessage 62 · AdequateInformational 23Details
Commit message · tychovrahe

feat(core/prodtest): add commands for generic memory read/write

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 23/100

This commit adds two new commands to Trezor's production-test firmware: one that writes hex data into a small RAM buffer and one that reads it back. It is a test/debugging feature, not the normal wallet firmware users carry. The commands only touch a fixed 4 KB RAM buffer and do not directly read or write arbitrary memory addresses, so they appear limited in scope. However, adding interactive memory-style commands to a low-level test tool can be a stepping stone for deeper hardware attacks if combined with other vulnerabilities.

Lower-priorityrefactor(core): improve mpu apiby cepetr · fff18a60 · Jan 16, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

refactor(core): improve mpu api

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit is a tiny code cleanup in the memory-protection unit (MPU) code for the Trezor hardware wallet. It only adds the word 'const' to a function parameter in four files, meaning the function promises not to modify the input structure. No behavior of the device changes, and there is no security fix or vulnerability here.

AI review queuedfix(core): fix kernel crash when ext app faultby cepetr · e79f97af · Jan 16, 2026 · 1 fileMessage 57 · ThinModerate 57Details
Commit message · cepetr

fix(core): fix kernel crash when ext app fault

[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
second-pass: broader security terminology
AI analysis · Moderate 57/100

This patch fixes a kernel crash that could occur when an external (untrusted) application running on the Trezor device faults. The crash happened because the kernel tried to read a return address from a memory region it was not allowed to access. The fix temporarily relaxes memory protection just long enough to safely read that address, then restores it. It is a stability/reliability fix in a security-sensitive component, but the commit itself does not claim it is exploitable for theft of funds or secrets.

AI review queuedfeat(core): introduce app_loader/cache moduleby cepetr · c0de3d9e · Jan 16, 2026 · 24 filesMessage 57 · ThinLow 38Details
Commit message · cepetr

feat(core): introduce app_loader/cache module

[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
second-pass: unusually broad change
AI analysis · Low 38/100

This commit introduces a new application loader and cache subsystem for the Trezor firmware. It adds code that loads external ELF-format applications into memory, manages their execution as isolated applets, and handles memory allocation for them. The change is a feature addition, not a documented security fix. The code includes a prominent warning that the STM32 ELF loader implementation should not be shipped in production devices. There is no evidence in the commit or supplied references that this resolves a known security incident or vulnerability.

Lower-priorityfix(core): remove unnecessary exit handlersby cepetr · 048f517b · Jan 16, 2026 · 5 filesMessage 57 · ThinInformational 18Details
Commit message · cepetr

fix(core): remove unnecessary exit handlers

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 18/100

This commit cleans up how the Trezor firmware emulator (Unix build) shuts down its fake SD card and flash memory. Previously, these emulated memory buffers were automatically unmapped when the program exited via atexit handlers. The commit removes those automatic exit handlers and instead exposes explicit cleanup functions (sdcard_deinit, flash_deinit) that callers can invoke directly. The display emulator also loses its atexit-based deinit. This is a code-quality and resource-management change; it does not appear to fix an exploitable security vulnerability.

Lower-priorityrefactor(core): refactor coreapp emu startup, run coreapp as a taskby cepetr · 959f9fa9 · Jan 16, 2026 · 4 filesMessage 62 · AdequateInformational 12Details
Commit message · cepetr

refactor(core): refactor coreapp emu startup, run coreapp as a task

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 12/100

This commit is a code cleanup and architectural refactor for the Trezor firmware's Unix emulator. It moves the emulator startup logic into a new 'coreapp' task structure and splits hardware/driver initialization into a separate file. There is no indication in the commit that this fixes a security vulnerability or changes security-sensitive behavior; it appears to be internal restructuring only.

Lower-priorityfeat(core): implement applet unloadby cepetr · 75452a35 · Jan 16, 2026 · 12 filesMessage 57 · ThinLow 32Details
Commit message · cepetr

feat(core): implement applet unload

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 32/100

This commit rewrites how the Trezor firmware's kernel cleans up after the main user-interface app (the 'coreapp') finishes or crashes. It replaces a simple 'stop' function with a new 'unload' path that always clears the app's memory and, on real hardware, disables the special memory/peripheral access rights that were granted while the app ran. The change also adds a check so the kernel only tries to clean up tasks that were actually initialized. Overall it looks like a hardening/cleanup improvement rather than a new vulnerability, though the commit is a refactor and the diff alone cannot prove no bugs were introduced.

Lower-priorityfix(core): remove unnecessary delays during event pollingby cepetr · 2b1acddd · Jan 16, 2026 · 1 fileMessage 62 · AdequateInformational 11Details
Commit message · cepetr

fix(core): remove unnecessary delays during event polling

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 11/100

This small firmware change prevents the Trezor device from going to sleep or adding artificial delays when event pollers are still active. Previously, the code always paused after each polling loop, even if it had just woken up a task. Now it only pauses when no task was actually woken. The main practical effect is better responsiveness and lower latency, not a security fix.

Lower-priorityfix(core): fix applet mpu reconfigby cepetr · 631696e3 · Jan 16, 2026 · 1 fileMessage 57 · ThinModerate 57Details
Commit message · cepetr

fix(core): fix applet mpu reconfig

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Moderate 57/100

This commit fixes a bug in how the Trezor hardware wallet's memory protection unit (MPU) is reconfigured when switching to or from a small helper program ('applet'). Previously, the code could read from a NULL pointer and store an invalid value, which might weaken memory isolation between the main firmware and the applet. The fix ensures the applet layout pointer is checked before use and the TLS (thread-local storage) area is safely zeroed when no applet is active.

Lower-priorityfeat(core): allow running applets from SRAMby cepetr · a5f32f09 · Jan 16, 2026 · 1 fileMessage 57 · ThinLow 37Details
Commit message · cepetr

feat(core): allow running applets from SRAM

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 37/100

This commit changes the memory protection unit (MPU) configuration in Trezor's STM32U5 firmware so that small helper programs ('applets') can run from RAM (SRAM) in addition to running from flash memory. Previously, applets were assumed to live in flash. The change adds a new memory region type for executable SRAM and checks whether an applet's code starts in flash; if not, it marks the SRAM region as executable. This is a feature addition, not a bug fix, and there is no direct evidence in the commit that it fixes a security vulnerability. However, allowing code execution from SRAM can increase attack surface if an attacker can write to that RAM, because executable writable memory is generally less safe than execute-only flash.

Lower-priorityfix(core): fix returning from spawned applet to coreappby cepetr · 0c6137fb · Jan 16, 2026 · 3 filesMessage 62 · AdequateLow 45Details
Commit message · cepetr

fix(core): fix returning from spawned applet to coreapp

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 45/100

This commit fixes a scheduling bug in the Trezor firmware's task-switching system. When the device switched from a small temporary 'applet' back to the main 'coreapp', the old code simply jumped tasks without telling the event scheduler to put the current task back on the runnable list. That could leave the current task unscheduled or cause a null-pointer write when the scheduler later tried to record which events woke it up. The patch adds a proper 'yield and reschedule' helper and guards the null-pointer write.

Lower-priorityfeat(core): implement micropython ipc wrapperby cepetr · 26019c18 · Jan 16, 2026 · 7 filesMessage 57 · ThinInformational 11Details
Commit message · cepetr

feat(core): implement micropython ipc wrapper

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 11/100

This commit adds a new internal feature to the Trezor firmware: a MicroPython wrapper that lets Python code send and receive inter-process communication (IPC) messages to another system task. It is a feature implementation, not a bug fix, and nothing in the commit or supplied references indicates it addresses a security vulnerability.

Lower-priorityfeat(core): introduce systask emulationby cepetr · 72079605 · Jan 16, 2026 · 11 filesMessage 57 · ThinInformational 22Details
Commit message · cepetr

feat(core): introduce systask emulation

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 22/100

This commit adds a software-based emulation of Trezor's multitasking 'systask' system for the desktop emulator. Previously the emulator faked task functions as empty stubs; now it uses real POSIX threads and condition variables to mimic how tasks switch on the real hardware. It also moves some system shutdown helpers into a shared file used by both real devices and the emulator. There is no direct evidence this fixes a security bug; it is primarily an engineering change to make the emulator behave more like the real device.

Lower-priorityfeat(core): introduce elf loaderby cepetr · 9ceddad3 · Jan 16, 2026 · 11 filesMessage 57 · ThinLow 41Details
Commit message · cepetr

feat(core): introduce elf loader

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Low 41/100

This commit adds a new ELF (Executable and Linkable Format) loader to the Trezor firmware. It is marked as a feature implementation and explicitly carries a 'DO NOT SHIP THIS FILE' warning for production builds. The code parses ELF files, loads code and data segments, applies relocation fixups, and sets up memory protection for applets. Because this is new, complex parsing code that handles attacker-influenced binary data and modifies memory, it is security-relevant, but the commit itself does not describe a vulnerability and the production guard suggests it is not intended for release as-is.

Lower-prioritychore(core): improve comments, use doxygen styleby cepetr · ef2d16d3 · Jan 16, 2026 · 3 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

chore(core): improve comments, use doxygen style

[no changelog]

57/100 · ThinMessage clarity
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 15/100

This commit only rewrites code comments in three header files to use a Doxygen documentation style. It does not change any program logic, function signatures, data structures, or security behavior. There is no indication of a security fix or vulnerability.

Security candidatefeat(core): introduce an IPC mechanismby cepetr · 1d415082 · Jan 16, 2026 · 18 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce an IPC mechanism

[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
boot or update path
AI analysis · Informational 15/100

This commit adds a brand-new inter-process communication (IPC) subsystem to the Trezor firmware kernel. It lets separate software tasks send fixed-size messages to each other through kernel-managed queues, with memory copies that temporarily disable the memory-protection unit on STM32 hardware. There is no claim in the commit that this fixes a security bug; it appears to be a new feature. The code includes access checks (verifiers) for the user-space syscall path, but because this is a new and complex kernel mechanism, any mistakes in the queue logic or memory copying could become security issues in the future.

Security candidatefeat(core): introduce coreapp apiby cepetr · 29ad7f9c · Jan 16, 2026 · 11 filesMessage 57 · ThinLow 25Details
Commit message · cepetr

feat(core): introduce coreapp api

[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
boot or update path
AI analysis · Low 25/100

This commit adds a new internal API surface called 'coreapp API' that lets the core firmware expose a small set of system services (timers, events, debug console, IPC, and shutdown helpers) to a separate 'coreapp' component. It is only enabled for the T3W1 model and is guarded by an 'app_loading' build feature. The change is architectural: it wires a function-pointer getter into the vector table and stores it in the coreapp header so the coreapp can request versioned API tables. There is no direct evidence in the commit of a vulnerability, exploit, or security fix; it appears to be a feature introduction for future app-loading support.

Security candidatefeat(core): introduce EXTAPP_SUPPORT build optionby cepetr · 08f32990 · Jan 16, 2026 · 4 filesMessage 57 · ThinInformational 15Details
Commit message · cepetr

feat(core): introduce EXTAPP_SUPPORT build option

[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
boot or update path
AI analysis · Informational 15/100

This commit adds a new build-time switch called EXTAPP_SUPPORT. When turned off (the default), it prevents the 'app_loading' feature from being compiled into firmware for the T3W1 model. This is purely a build-system/configuration change and does not alter runtime behavior, fix a bug, or change any security-critical code path on its own.

Security candidatefeat(core): implement micropython app_loader/cache wrapperby cepetr · da71e342 · Jan 16, 2026 · 14 filesMessage 62 · AdequateLow 32Details
Commit message · cepetr

feat(core): implement micropython app_loader/cache wrapper

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
Why it was queued
boot or update path
AI analysis · Low 32/100

This commit adds a new MicroPython module called `trezorapp` that lets Python code create, write, finalize, and run third-party application images inside the Trezor firmware. It is a feature implementation rather than a bug fix, and there is no direct evidence in the commit that it fixes a security vulnerability. However, because it exposes low-level app loading and task control to Python, any weaknesses in the underlying `app_cache`/`app_loader` C code or in how Python callers use this wrapper could become security-relevant. The commit itself does not describe security relevance, credit a researcher, or acknowledge a vulnerability report.

Lower-priorityrefactor(core): allow running coreapp emulator as an appletby cepetr · 977333f6 · Jan 16, 2026 · 6 filesMessage 62 · AdequateInformational 11Details
Commit message · cepetr

refactor(core): allow running coreapp emulator as an applet

[no changelog]

62/100 · AdequateMessage clarity
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
AI analysis · Informational 11/100

This commit is a code cleanup that lets the Trezor firmware's emulator (used for testing on regular computers) run the core application as a separate 'applet' task, similar to how it runs on real hardware. It merges two setup functions into one and adds a Unix-specific implementation. There is no indication this fixes a security bug or introduces a vulnerability.

Security candidatefeat(core): increase number of unprivileged tasksby cepetr · fbc27142 · Jan 16, 2026 · 1 fileMessage 57 · ThinInformational 11Details
Commit message · cepetr

feat(core): increase number of unprivileged tasks

[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
credential or privilege state
AI analysis · Informational 11/100

This commit changes a single internal constant so the device can keep track of one extra background process when the optional app-loading feature is enabled. By itself it does not look like a security fix or vulnerability; it appears to be a straightforward capacity increase for a new feature.