Hey, our extension is open-source and stores your keys encrypted in your browser local files. It performs signatures offline and signed nostr events are sent to the web, making sure that your nsec is not sent out to the internet.
Our code is open to use, verify, refine at Github 👇
https://github.com/getalby/lightning-browser-extension/
PS Please remember to always have backups of your keys