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

tests: added *non-developer mode* test for invalid filtering

Public commit record

What the developer wrote

Authored by dovgopoly

60/100 · Adequate
tests: added *non-developer mode* test for invalid filtering
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds a test for a crash that only happens when Core Lightning runs in normal (non-developer) mode. A user sending a malformed JSON filter through the command-line tool could cause the node to crash because a logging function expects data that isn't set in non-dev mode. The test confirms the crash and the expected error message.

Recommended action

Locate and review the associated fix commit for the `command_log()` / `cmd->json_cmd` crash path, ensure it is merged, and consider backporting to stable branches. The test itself should be run in CI against non-developer builds to prevent regression.

Security signals we found

01

Denial-of-service vector via malformed RPC filter input

02

Crash only reproducible in production (non-developer) configuration

03

Use-after-null or null-deref pattern in `command_log()` due to unpopulated `cmd->json_cmd`

04

Regression test added for a previously unhandled error path

Risk score

Why this scored 42/100

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