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

Fix: Server not recovering after a plugin crash (#7335)

Public commit record

What the developer wrote

Authored by Nicolas Dorier

70/100 · Adequate
Fix: Server not recovering after a plugin crash (#7335)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug where BTCPay Server would not properly recover after a plugin crashed. The server tries to identify which plugin caused an exception by looking at the stack trace. The old code only checked the main assembly name and did not look inside nested/inner exceptions, so it sometimes failed to find the culprit plugin. The fix makes the search walk through inner exceptions and also maps all assemblies loaded by each plugin, not just the plugin's primary assembly. A second small fix prevents malformed plugin commands from crashing the command parser.

Recommended action

Review whether malformed plugin commands could previously trigger unhandled exceptions or command execution errors, and confirm the crash-recovery path is covered by tests. No immediate emergency action is indicated, but deploy as part of normal patching.

Security signals we found

01

Denial-of-service mitigation: improves server recovery after plugin crashes

02

Exception handling hardening: recursively inspects AggregateException and InnerException for plugin attribution

03

Input validation added to plugin command parsing (colon-split length check)

04

Plugin isolation boundary strengthened by tracking all assemblies in plugin load context

Risk score

Why this scored 40/100

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