Skip to content

Fix a batch of low-severity issues - #3355

Open
t-bast wants to merge 5 commits into
masterfrom
loupe-low-issues
Open

Fix a batch of low-severity issues#3355
t-bast wants to merge 5 commits into
masterfrom
loupe-low-issues

Conversation

@t-bast

@t-bast t-bast commented Aug 14, 2026

Copy link
Copy Markdown
Member

This PR contains several independent commits that fix low severity issues found by Loupe (https://github.com/project-loupe/). They are part of a defense-in-depth strategy and codebase clean-up, nothing in there is really dangerous.

t-bast added 4 commits August 14, 2026 12:07
We used an explicit cast in our channel codec: this is safe for data
that we created ourselves, but would throw an exception if our data is
corrupted. It's trivial to be safe by removing the cast.
We require that encryption is used between the front and backend nodes
in cluster mode, otherwise private data would be exposed. This protects
node from messing up their deployment configuration without realizing
it.
We don't return the exception message anymore for failed RPC calls, to
avoid potentially leaking private information. This guarantees that only
the node operator, with access to the logs, can see why RPC calls fail.
We don't support any TLV for onion messages yet. Since onion messages
can be spammy, we don't need to waste any ressources trying to decode
unknown TLVs that we'll throw away anyway.
@t-bast
t-bast marked this pull request as ready for review August 14, 2026 10:25
@t-bast
t-bast requested review from pm47 and sstone August 14, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant