madaidans-insecurities / madaidans-insecurities.github.io

https://madaidans-insecurities.github.io/
136 stars 28 forks source link

flatpak + chromium #62

Open rusty-snake opened 2 years ago

rusty-snake commented 2 years ago

Flatpaks can not call syscalls like unshare, mount, chroot/pivot_root which are essential to setup a namespace based sandbox. This means flatpaks can not directly sub-sandbox it self and need to use flatpak-spawn instead.

The most chrom* and electron flatpaks use zypack to redirect the chrome-sandbox to flatpak-spawn. AFAIUI this means that the "good" chrome sandbox is replaced by the "weak" flatpak sandbox.

Should there be an "If you install chromium via flatpak the sandbox ..." note or do I understand things wrong?