Muon: Electron fork with better security Brave browser is built with

in #muon7 years ago (edited)

If you ever heard about Basic attention token (BAT) then you most probably know about Brave browser as well. If not, Brave browser tries to make your browsing experience faster, more secure and more private. But more on that later. What's really interesting from developer's point of view is that browser is build on top of its own Electron fork called Muon. Why did they do it?

It may be a better fit than Electron for your application, if your application needs to leverage the full support of Chromium, needs tighter security, or needs support for things like autofill and extensions.

Some of Muons goals include:

  • use the Chromium source directly (eliminating electron's copy of chrome_src) with minor patches
    • make integrating chrome components less painful
    • faster and more streamlined end-to-end build process (see browser-laptop-bootstrap)
  • add support for Chrome extensions
  • add security focused features for the renderer:
    • remove node completely (from the renderer process)
    • full sandbox
    • scriptable window.opener support

If you are building something with heavy focus on security, it might be worth checking out the repository @ https://github.com/brave/muon

And if you'll get really curious, join their Discord here: https://discord.gg/TcT5tX2

Sort:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://github.com/brave/muon

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly & Featured Posts are voted every 2.4hrs
Join the Curation Team Here | Vote Resteemable for Witness