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

Merge pull request #747 from Foundation-Devices/sft-8653-passport-core-recheck-the-firmware-image-while

Public commit record

What the developer wrote

Authored by mjg-foundation

73/100 · Adequate
Merge pull request #747 from Foundation-Devices/sft-8653-passport-core-recheck-the-firmware-image-while

SFT-8653: recheck the firmware image while staging an update
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This update tightens the firmware update process on the Passport hardware wallet. Previously, the device verified the firmware file once, then copied it to internal flash memory without re-checking. A malicious or tampered file swapped in between those two steps could potentially be installed. The patch now computes a fingerprint (a SHA-256 hash) during the first verification and re-computes it while staging the update, refusing to proceed if the file has changed. This is a defensive hardening change rather than a confirmed exploit fix.

Recommended action

Treat as a security hardening improvement and include in the next firmware release. Review whether any other update paths (recovery, factory, or developer modes) stage firmware without a similar re-check, and apply the same digest-passing pattern if so. No immediate user action is required.

Security signals we found

01

Time-of-check/time-of-use (TOCTOU) hardening in firmware update path

02

New digest parameter threaded from verification task to staging task

03

Staging task now re-hashes firmware image and compares against expected digest

04

Failure path aborts before writing bootloader authorization hash

05

Test coverage added for body modification and missing digest mismatch

Risk score

Why this scored 59/100

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