Discussion about the safety of NIP-07.
1. If an XSS vulnerability exists, an attacker can take any action that requires a signature via window.nostr.
2. The same applies if there is no XSS vulnerability, but the application developer has malicious intent.
3. Therefore, if the NIP-07 extension is used with "allow all" and "allow forever", the risk is not much different from passing the raw private key to the application.