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

Reject registering wallet policies with pubkeys not on the curve

Public commit record

What the developer wrote

Authored by Salvatore Ingala

73/100 · Adequate
Reject registering wallet policies with pubkeys not on the curve

While this would be detected and fail at the first attempt at
deriving addresses from it, checking it early consts little.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds an early safety check in the Ledger Bitcoin app. Before registering a new wallet policy, the app now verifies that each public key is a valid point on the Bitcoin elliptic curve. Previously, an invalid public key would only be caught later when trying to derive addresses. Catching it earlier prevents the device from storing a broken or potentially manipulated wallet policy.

Recommended action

Treat as a defensive hardening fix. Review whether other public-key entry points (e.g., signing, address display, key import) perform equivalent on-curve validation, and consider adding tests with deliberately invalid secp256k1 points to ensure the check is reached.

Security signals we found

01

Input validation added for cryptographic public key points

02

Invalid curve points now rejected at wallet registration time rather than deferred to address derivation

03

Use of standard status word SW_INCORRECT_DATA for malformed input

Risk score

Why this scored 44/100

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