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

feat(core): enable Tropic FW update

Public commit record

What the developer wrote

Authored by Martin Pastyřík

80/100 · Strong
feat(core): enable Tropic FW update

Enables update of Tropic firmwares in production. The process starts after unlock to protect the Maintenance bit by PIN.
✓ 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 adds the ability for the Trezor T3W1 hardware wallet to automatically update the firmware of its Tropic secure chip during normal use. The update is triggered after the user unlocks the device with their PIN, which is intended to prevent unauthorized changes. The change also adds recovery logic so that if an update is interrupted (for example by a power loss), it can be resumed on the next boot. While the feature is security-sensitive, the commit itself is a production enablement patch with safeguards, not an obvious vulnerability.

Recommended action

Treat this as a security-critical feature change requiring focused review. Verify that: (1) the Maintenance bit cannot be enabled before PIN verification in any boot path, (2) `tropic_ensure_fw_updated` cannot be invoked by unprivileged code to downgrade or reflash arbitrarily, (3) the version slot write is atomic with respect to power loss, and (4) the bundled firmware images are authenticated before flashing. Run the new `test_tropic_fw_update.py` upgrade scenarios and prodtest tests, and audit the SMC/Syscall verifiers for missing access-control checks.

Security signals we found

01

New privileged firmware update path added to production boot flow

02

Maintenance bit enablement gated by PIN unlock (`storage_is_unlocked`)

03

Update state machine distinguishes UNFINISHED/OUTDATED/UP_TO_DATE/ERROR

04

Recovery path for interrupted updates at boot (`tropic_check_and_restore_fw_update_in_progress`)

05

Silicon revision checks before flashing (`tropic_silicon_revision_matches`)

06

R-memory slot 8 now stores expected firmware versions for anti-rollback/downgrade checks

07

Prodtest `tropic-lock-check` reports NO when recorded firmware versions are missing or outdated

08

SMC/Syscall verifiers added but are thin wrappers without additional argument validation

Risk score

Why this scored 57/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/15
Affected reach 10/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.