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

Merge pull request #3857 from SChernykh/dev

Public commit record

What the developer wrote

Authored by xmrig

68/100 · Adequate
Merge pull request #3857 from SChernykh/dev

DaemonClient: check TLS fingerprint, use SOCKS5 if configured, fixed socket leak when ZMQ connect fails
✓ Descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit fixes three issues in XMRig's network code: it now verifies the TLS fingerprint of mining pool/daemon connections, routes traffic through a SOCKS5 proxy when one is configured, and fixes a socket leak that occurred when a ZMQ connection failed. The socket leak is the clearest security-relevant bug, because leaving unused sockets open could exhaust resources. The TLS fingerprint check and SOCKS5 support are correctness/security-hardening improvements rather than obvious exploitable vulnerabilities.

Recommended action

Upgrade to the commit (or release containing it). If running a mining pool/daemon client with TLS or SOCKS5, verify the fingerprint is configured and proxy settings are applied. Monitor for resource exhaustion from ZMQ sockets on older builds.

Security signals we found

01

TLS fingerprint was configured but not passed to HTTP fetch requests before this patch

02

ZMQ socket leaked when uv_tcp_connect failed (no close path)

03

SOCKS5 proxy settings were ignored for daemon HTTP and ZMQ connections

04

New Socks5Handshake parser validates SOCKS5 reply length and error codes

05

ZMQ connection state machine now has explicit ZMQ_CONNECTING and ZMQ_SOCKS5 states

Risk score

Why this scored 46/100

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