Repository navigation
Conversation
There was a problem hiding this comment.
🔒 Automated security review — no issues found
The PR changes AutoChannelOpenJob to clamp channel size against the wallet's max fundable amount (coins minus estimated funding fee and a dust change output) instead of the raw confirmed balance, using a new LightningHelper.MaxFundableChannelSats and ICoinSelectionService for spendable UTXOs. All inputs come from the operator's own node configuration, NBXplorer's view of the wallet, and internally computed fee rates — no request, message-bus, or other attacker-controlled input reaches the new code, and the fee sizing is verified against NBitcoin's builder for both single-sig and multisig wallets in tests. I found no exploitable defect.
Reviewed 9 files at 5bb1c3e. Nothing to report.
Not a guarantee — one diff, no knowledge of your threat model.
🤖 Automated security review. It never pushes, approves or blocks; a suggestion applies only when you click Commit suggestion.
Description:
Stack created with GitHub Stacks CLI • Give Feedback 💬