I am very unfamiliar with electron and security in general. But generally I understand electron as a browser-like sandbox for desktop applications.
Can someone please explain how the "electronSafeIpc" might be implemented? Naively this functionality seems to be the very dangerous part of this exploit, and seems to be a workaround of electron's intent to sandbox your application?