getAlby / lightning-browser-extension

The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
https://getalby.com
MIT License
524 stars 192 forks source link

[Feature] Warn when I'm about to sign a kind 3 event containing less than 2 p-tags #3177

Open alexgleason opened 2 weeks ago

alexgleason commented 2 weeks ago

Feature description

There is a problem pervasive in Nostr, due to the design of follow lists, that can cause users to inadvertently overwrite their entire follow list when signing into a new client.

Ideally this should be fixed by clients, and the protocol itself should be improved, but the signer can be another line of defense.

Describe the solution

Even if the user has authorized all events for a particular domain, Alby should still warn them if they're about to sign a follow list containing less than 2 p-tags.

Describe alternatives

No response

Additional context

No response

Are you working on this?

None