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

pseudorand: make the results in deterministic mode per-caller.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
pseudorand: make the results in deterministic mode per-caller.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit changes how Core Lightning generates 'pseudo-random' numbers when running in deterministic mode (used mainly for reproducible testing). It gives each separate piece of code that asks for a random number its own private counter, so the order in which different callers happen to ask no longer changes the random values they receive. The change is aimed at making tests more stable and easier to reproduce, not at fixing a security vulnerability in live operation.

Recommended action

No immediate security action required. Treat as a normal code-quality/test-reliability change. Reviewers may want to confirm that the per-caller offset does not accidentally weaken deterministic fuzzing coverage or hide real bugs by making test outputs too stable.

Security signals we found

01

Deterministic randomness path changed, but only when randbytes_overridden() is active

02

Per-caller offset introduced to reduce order-dependency in tests

03

No change to live-network ISAAC64 PRNG behavior

04

No mention of vulnerability, CVE, or security fix in commit message

Risk score

Why this scored 18/100

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