getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
540 stars 194 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 5 months ago

alexgleason commented 5 months 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