Re:I found a WhatsApp security flaw that allowed hackers to ...
by Uehreka on Tuesday February 04, 2020 @11:39PM
(#22244078)
I was on a phone before and didn't have the docs pulled up, but the thing I was referring to is called nodeIntegration (it's a boolean you set in the webPreferences object in the options object you pass to the BrowserWindow constructor).
This section of the docs explains it a bit better: https://www.electronjs.org/docs/tutorial/application-archite...
> Electron exposes full access to Node.js both in the main and the renderer process.