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

pytest: test for bcli crash with huge PSBTs.

Public commit record

What the developer wrote

Authored by Rusty Russell

70/100 · Adequate
pytest: test for bcli crash with huge PSBTs.

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

What changed, and why it matters

This commit adds a test that checks whether Core Lightning's bitcoin backend plugin (bcli) crashes when handling very large transactions. The test is marked as expected to fail for now, meaning the underlying crash bug is known but not yet fixed. It does not itself change production code.

Recommended action

Treat this as a regression-test commit for a known issue. A separate fix for bcli's handling of very large PSBTs should be developed and the xfail marker removed once the crash is resolved. Review bcli memory allocation and RPC response handling paths for large PSBTs.

Security signals we found

01

Denial-of-service vector: large PSBT may crash the bitcoin backend plugin

02

Test-only commit documenting a known crash condition

03

No production patch or mitigation present in this commit

Risk score

Why this scored 34/100

Our methodology →
Potential impact 8/30
Exploitability 4/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.