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

otp: parse google authenticator export qr codes

Public commit record

What the developer wrote

Authored by Daniel Newton

60/100 · Adequate
otp: parse google authenticator export qr codes

Co-authored-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit adds the ability for the Blockstream Jade hardware wallet to read Google Authenticator's bulk-export QR codes (the 'otpauth-migration://' format). It converts those exported codes back into normal OTP URIs and registers them. The change is a feature addition, not a documented security fix. Because it parses an external, attacker-controllable protobuf payload and builds URIs from it, there is some potential for parsing bugs or malformed data to cause crashes or unexpected behavior, but the commit itself does not obviously introduce a known vulnerability.

Recommended action

Treat as a feature commit rather than a security patch. If auditing, focus on the new protobuf decode path: verify nanopb callback bounds, ensure JADE_MALLOC failures are handled safely, confirm URL-encoded values cannot overflow OTP_MAX_URI_LEN, and fuzz the otpauth-migration parser. No immediate patching is indicated by the diff alone.

Security signals we found

01

New parser for attacker-controllable QR/protobuf data

02

URL decoding and base64 decoding of untrusted input

03

Manual URI construction with memmove/memcpy/snprintf

04

Fixed-size buffers for protobuf string fields (64 bytes) and URI length limits

05

Rejection of unknown enum values for OTP type, algorithm, and digit count

06

No explicit security relevance or fix described by vendor

07

No CVE or advisory references in commit or supplied materials

Risk score

Why this scored 36/100

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