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

rpc: restrict `add_aux_pow`

Public commit record

What the developer wrote

Authored by hinto.janai

35/100 · Opaque
rpc: restrict `add_aux_pow`
✓ Descriptive subject! No meaningful explanatory body
The short version

What changed, and why it matters

This commit tightens limits on a Monero RPC command called add_aux_pow that is used to add auxiliary proof-of-work data. When the RPC server runs in restricted mode, it now rejects requests with more than 10 auxiliary hashes and lowers the maximum nonce search from 65,535 to 16,384. The change appears aimed at preventing a restricted/public RPC endpoint from being abused to perform expensive CPU or memory work, which could be used to slow down or overload a node.

Recommended action

Treat this as a likely resource-consumption hardening fix. Node operators running restricted RPC should upgrade. Reviewers should verify whether unrestricted/local callers can still trigger the same heavy path, and consider whether additional limits (total payload size, per-hash cost, rate limiting) are needed. No CVE or advisory is supplied, so track this as defense-in-depth unless further disclosure emerges.

Security signals we found

01

Resource-limiting patch on a public/restricted RPC endpoint

02

Input-size cap added (aux_pow.size() > 10)

03

Computational-budget reduction (max_nonce 65535 -> 16384) under restricted mode

04

Use of CORE_RPC_ERROR_CODE_RESTRICTED suggests defense-in-depth for restricted RPC users

Risk score

Why this scored 49/100

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