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

Merge pull request #11350

Public commit record

What the developer wrote

Authored by tobtoht

58/100 · Thin
Merge pull request #11350

3e727c6 Expose wallet exist as rpc command (Deverick)

ACKs: PyXMR2025, jpk68, selsta
✓ Descriptive subject✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit adds a new wallet RPC command called wallet_exists that lets a caller check whether a wallet file or its keys file already exists in the configured wallet directory. It also refactors existing filename validation into a shared helper. The new command is blocked in restricted RPC mode and reuses the same path-separator checks as create/open wallet, so it does not appear to introduce a new security vulnerability. It could, however, make it slightly easier for an authenticated RPC user to probe for wallet names.

Recommended action

Treat as a routine feature addition. Reviewers should confirm that wallet_valid_path_format() and is_valid_wallet_filename() together prevent directory traversal on all platforms, and consider rate-limiting or logging the new endpoint if wallet-name enumeration is a concern for deployments exposing RPC to multiple users.

Security signals we found

01

New RPC surface added (wallet_exists)

02

Restricted-mode denial for new command

03

Filename path-separator validation reused for new command

04

Refactoring only: no weakening of existing filename validation

05

Information disclosure potential: authenticated caller can enumerate wallet filenames by existence

Risk score

Why this scored 24/100

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