Skip to content

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Jun 24, 2025

This will definitely be a huge issue once we switch over to outbox model with untrusted relays. Let's get ahead of it

jb55 added 4 commits June 24, 2025 10:53
Signed-off-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
Rogue relays could in theory attack nostrdb by replaying ids and
signatures from other notes. This fixes this weakness by calculating the
id again in ndb_note_verify.

There is no known relays exploiting this, but lets get ahead of it
before we switch to the outbox model in damus iOS/notedeck

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 merged commit f8aad4d into master Jun 24, 2025
1 check passed
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