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

Count symlinked fuzz corpus files

Public commit record

What the developer wrote

Authored by Joost Jager

78/100 · Adequate
Count symlinked fuzz corpus files

The fuzz CI job links cloned corpus dirs into hfuzz_workspace, but
plain find does not descend through those symlinked directories.

Count with find -L so the iteration budget reflects the real corpus
size, and fail loudly if a linked corpus resolves to zero files.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit fixes a bug in the project's automated fuzzing (stress-testing) script. Previously, the script counted test input files using a command that ignored symbolic links (shortcuts to other directories), so it could undercount the real corpus and run too few fuzzing iterations. The change makes the script follow symbolic links when counting files and aborts loudly if a linked corpus directory appears empty. This is a reliability/quality fix for internal testing infrastructure, not a vulnerability in the Lightning protocol code itself.

Recommended action

No urgent action required. Treat as a normal CI/test-harness improvement. Reviewers can verify that `find -L` behaves correctly on their CI symlink layout and that the new zero-file check does not break legitimate empty corpora that are not symlinks.

Security signals we found

01

Fixes fuzzing coverage/iteration miscounting caused by find not following symlinks

02

Adds explicit failure when a linked corpus resolves to zero files, preventing silent under-testing

03

Only affects CI fuzzing shell script; no changes to Rust protocol or cryptography code

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.