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

check wallet file names on open

Public commit record

What the developer wrote

Authored by Craig Raw

45/100 · Thin
check wallet file names on open
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit tightens what characters are allowed in Sparrow wallet file names. It appears to block a way that a specially crafted wallet file name could inject extra commands into the H2 database connection string (JDBC URL), which might let an attacker who can get a user to open a maliciously named wallet file perform unexpected database operations. The patch is defensive and partial: it adds a blocklist for semicolon-prefixed parameters in the file name and also removes the semicolon from allowed characters when naming wallets.

Recommended action

Treat this as a security hardening fix. Users should upgrade to a version containing this commit and avoid opening wallet files from untrusted sources. Developers should consider a more robust allowlist for wallet file names and use a safer method of constructing the H2 JDBC URL (e.g., passing options via the H2 API rather than string concatenation).

Security signals we found

01

JDBC URL injection / connection-string injection via file name

02

H2 database URL parameter injection

03

Input validation added for wallet file names

04

Semicolon added to disallowed filename characters in UI

05

StorageException thrown on suspicious file names

Risk score

Why this scored 56/100

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