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

plugins/sql: remove size limit.

Public commit record

What the developer wrote

Authored by Rusty Russell

78/100 · Adequate
plugins/sql: remove size limit.

Nobody has hit this yet, but we're about to with our tests.

The size of the db is going to be whatever the total size of the tables are; bigger nodes,
bigger db.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ 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 removes a 500 megabyte cap on the SQL plugin's internal SQLite database. Previously, the code artificially limited how large the database file could grow. Now it lets SQLite use its own default limits, which are effectively unlimited. The stated reason is to support larger nodes with bigger databases, not to fix a security bug. There is no direct evidence this change introduces a vulnerability, but removing any resource limit can theoretically make it easier for a bug or abuse to consume more disk space than before.

Recommended action

Treat as a routine scalability change. Review whether the SQL plugin has other safeguards against unbounded database growth or denial-of-service via large queries, since the explicit size ceiling is gone. No immediate security response is indicated by the available evidence.

Security signals we found

01

Removal of an explicit resource limit (database size cap)

02

Change is described by the author as a scalability/preparation fix, not a security fix

03

No references to CVEs, advisories, or security reports in commit or supplied materials

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.