I feel like node/Electron are about as safe as chromium and it's npm packages that have lost everyone's confidence.
If I download and build chromium (as long as I don’t disable the sandbox altogether) I don’t actually need to think about those issues while I do need to do that with Electron.
Electron has local file access, etc. in fact, it states: “Under no circumstances should you load and execute remote code with Node.js integration enabled.”
So, Stealth should consider forking Electron if better sandboxing is needed.
https://www.electronjs.org/docs/tutorial/security
That doesn’t prevent it from being secure, though.