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

wallet2: validate key image domain in reserve proofs

Public commit record

What the developer wrote

Authored by selsta

50/100 · Thin
wallet2: validate key image domain in reserve proofs

Reported by zkao, a tool by zkSecurity
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This change adds a safety check when a Monero wallet verifies a 'reserve proof'—a document that supposedly proves someone owns enough funds without revealing which coins they are. The fix rejects reserve proofs that contain a mathematically invalid 'key image' (the special value zero, or a point outside the allowed cryptographic subgroup). Without this check, a maliciously crafted proof might trick the wallet into accepting or behaving unexpectedly on data that violates the protocol's assumptions.

Recommended action

Treat this as a security hardening fix and include it in the next maintenance release. Review whether other key-image ingestion points (transaction parsing, import outputs, RPC endpoints) perform equivalent identity and subgroup checks. Consider adding unit tests for malformed reserve proofs with identity and small-subgroup key images.

Security signals we found

01

Missing cryptographic input validation in a proof verification path

02

Subgroup membership check added for elliptic-curve point

03

Identity-element check added for key image

04

Reported by external party (zkao / zkSecurity tool)

Risk score

Why this scored 60/100

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