Earlier quoted context omitted.
https://www.electronjs.org/docs/latest/tutorial/security This seems like a good start to understanding Electron security and why using it to do what the documentation expressly states is unwise might be less than optimal.
Can you give a specific example of what is wrong with Min's security configuration, assuming it is following Electron best practices. Asserting that the security model is bad and linking to Electron's security tutorial is not helpful.
Electron RPC also makes it really easy to get RCE if you don't implement it properly, and most JavaScript developers don't implement it properly. Electron also does not have anywhere near as much security research into it.
If you want to read more into the current state of electron security research, see https://blog.electrovolt.io/