netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.78k stars 566 forks source link

Refactor electron.profile and electron based programs #3806

Closed rusty-snake closed 3 years ago

rusty-snake commented 3 years ago

Add caps.keep sys_admin,sys_chroot to electron.profile and remove the following. Additional add #include chromium-common-hardened.inc with a note.

caps.drop all
nonewprivs
noroot
protocol unix,inet,inet6,netlink
seccomp
$ grep -l "include electron.profile" /etc/firejail/*.profile
/etc/firejail/beaker.profile
/etc/firejail/freetube.profile
/etc/firejail/jitsi-meet-desktop.profile
/etc/firejail/nuclear.profile
/etc/firejail/riot-web.profile
/etc/firejail/rocketchat.profile
/etc/firejail/teams-for-linux.profile
/etc/firejail/teams.profile
/etc/firejail/twitch.profile
/etc/firejail/whalebird.profile
/etc/firejail/wire-desktop.profile
/etc/firejail/youtubemusic-nativefier.profile
/etc/firejail/youtube.profile
/etc/firejail/ytmdesktop.profile

Needs update:

rusty-snake commented 3 years ago
glitsj16 commented 3 years ago

Very nice idea :+1:, love it.

rusty-snake commented 3 years ago