I feel like this will get a ton of discussion here anyway due to the Electron hate train.
Basic Electron Framework Exploitation
21–30 of 138 posts
Re: Basic Electron Framework Exploitation
#22Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯
VSCode, Discord, and (the new) Slack are written in Electron, and those absolutely excel, even at the cost of a bit extra memory usage.
There's a circlejerk of Electron hate, but there's a reason it's so popular, the ease of development outweighs its weighty memory drawbacks for many companies and individuals.
Edit: Not to mention that it uses Node.js, HTML, CSS, so moving from web-apps => desktop becomes a much simpler endeavor.
Re: Basic Electron Framework Exploitation
#23Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯
Re: Basic Electron Framework Exploitation
#24It is amazing to see how large, fat, over-engineered frameworks are taking over the internet. Not only it is easy to backdoor but usually they consume an enormous amount of memory and CPU. Not sure how we ended up here.
Cross-platform guis are hard or ugly and html+css came to save the day
Re: Basic Electron Framework Exploitation
#25At this point in time, it's reasonably healthy to assume that everything has backdoors. The only place where information can be kept safe and hidden is deep within our minds. Any method used to share said information with another human being is subject to surveillance and backdoors. Only share what you don't mind being read by the state and it's friends.
For some reason, the key to my mind’s backdoor is beer.
Re: Basic Electron Framework Exploitation
#26It is amazing to see how large, fat, over-engineered frameworks are taking over the internet. Not only it is easy to backdoor but usually they consume an enormous amount of memory and CPU. Not sure how we ended up here.
Re: Basic Electron Framework Exploitation
#27Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯
Re: Basic Electron Framework Exploitation
#28Re: Basic Electron Framework Exploitation
#29I feel like the headline is a bit click-baity but I don't want to jump to conclusions. > Tsakalidis said that in order to make modifications to Electron apps, local access is needed, so remote attacks to modify Electron apps aren't (currently) a threat. But attackers could backdoor applications and then redistribute them, and the modified applications would be unlikely to trigger warnings—since their digital signatur…
> I thought that the MacOS builds did do this, but maybe the ASAR bundles aren't included in the hash?
Yeah, I think that's the problem they're describing. It sounds like the Mac setup will require binaries -- like the Electron runtime itself -- to be codesigned, but if the first thing your codesigned binary does is to read an unprotected JS file off disk and execute it, there's no codesigning benefit.
> Either way, I assume the a solution would store the signing pubkey on initial install and then check updates against that
Not just updates that you initiate yourself, though -- I think the idea is that any other app on the system could backdoor the JS in the ASAR at any time. That's pretty hard to defend against.
Re: Basic Electron Framework Exploitation
#30Electron is the new Flash. Change my mind. ¯\_(ツ)_/¯