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

SFT-6378: first pass at anti-sidechannel round 2, needs testing and evaluation

Public commit record

What the developer wrote

Authored by Matt Gleason

75/100 · Adequate
SFT-6378: first pass at anti-sidechannel round 2, needs testing and
evaluation
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit is a defensive hardening change for the BIP-39 seed-word handling code in the Passport hardware wallet firmware. It restructures how the English word list is stored so that a constant-time word comparison function can safely read every entry without accidentally touching memory past the end of a short word. It also removes noisy timing-test thresholds that could fail on shared CI machines and keeps only a stricter statistical correlation check. The change is explicitly described by the developer as an early 'first pass' that still needs testing and evaluation, so it is not a finished security fix.

Recommended action

Treat this as an in-progress hardening commit, not a completed fix. Review the companion constant-time comparison function ct_word_eq() to confirm it actually reads exactly BIP39_MAX_WORD_LEN bytes for every comparison, verify that no other wordlist consumers rely on the old NULL sentinel, and re-run the revised statistical timing tests on real hardware before release.

Security signals we found

01

Constant-time/side-channel hardening

02

Fixed-width wordlist storage to avoid out-of-bounds reads in constant-time comparison

03

Removal of unreliable wall-clock timing assertions from CI tests

04

Developer note that the change 'needs testing and evaluation'

Risk score

Why this scored 49/100

Our methodology →
Potential impact 12/30
Exploitability 10/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.