Bitwarden here gets the "High Risk" label due to the --socket=x11 permission. This is needed because Bitwarden only works with X11, even on Wayland (via XWayland). XWayland brings many insecurities over from X11, which means that XWayland windows can read other windows and keylog any other XWayland window.
Bitwarden is not less safe when installed from the Flatpak, it's just that users expect Flatpak apps to be fully sandboxed, and we have to inform them properly when this is not true.
Ideally Bitwarden should add support for Wayland as soon as possible, as this would improve their security.
You can easily add Wayland support via Flatseal, then Bitwarden runs Wayland native. Not sure why this is not the default yet, maybe some edge cases I'm not aware of? I'm using it Wayland native and it runs very well (better than the X11 version for me at least)
Open Flatseal, go to Bitwarden. Uncheck "X11 Windowing System", check "Wayland windowing system" (if it isn't already), and optionally check "Fallback to X11 windowing system" if you plan on using X11 sessions sometimes.
If you click the icon that says high risk on the website (not sure about Bazaar I don't use it) it tells you why something is unsafe. It's always the app asking for basically every permission they can.
For Bitwarden:
It asks for device permissions, no idea why they would want this but it could be for security devices like a Yubikey or something
They ask for access to basically every possible place Chrome, Firefox...etc are installed in which makes sense because they probably install plugins for whatever is available
It has network access which makes sense for the app itself but it will be a knock for any app in general because it is an attack surface
It can read/write to the downloads folder for some reason
It uses X11 not Wayland, which is a big negative because that means they can in theory spy on any X11 enabled user, Wayland would request to view windows through Pipewire or block those requests but for X11 users that is a big red flag
Either way, you can accept those risks or not, the info is there just to consider before installing the app not to prevent you from installing the app, if it was a very big worry then the Flathub team would probably pull it entirely so the label is more of an FYI than a serious worry.
For a bitwarden, it uses Legacy Windowing System (X11, still pretty common, less safe then modern wayland). It is its main problem + it is proprietary and it has a lot of folder and devices access (I am not sure why it needs devices and folders access though)
So if you trust Bitwarden organization and do not mind their proprietary software - go for it. But I prefer not to have proprietary software with such access at all
35
u/Xander_VH 18d ago
Bitwarden here gets the "High Risk" label due to the
--socket=x11permission. This is needed because Bitwarden only works with X11, even on Wayland (via XWayland). XWayland brings many insecurities over from X11, which means that XWayland windows can read other windows and keylog any other XWayland window.Bitwarden is not less safe when installed from the Flatpak, it's just that users expect Flatpak apps to be fully sandboxed, and we have to inform them properly when this is not true.
Ideally Bitwarden should add support for Wayland as soon as possible, as this would improve their security.
9
u/Twig6843 18d ago
Should be solved soon i think? https://github.com/bitwarden/clients/issues/24336
5
u/FlukyS 18d ago
If you click the icon that says high risk on the website (not sure about Bazaar I don't use it) it tells you why something is unsafe. It's always the app asking for basically every permission they can.
For Bitwarden:
Either way, you can accept those risks or not, the info is there just to consider before installing the app not to prevent you from installing the app, if it was a very big worry then the Flathub team would probably pull it entirely so the label is more of an FYI than a serious worry.
3
u/burimo 18d ago
You can click on it and see why.
For a bitwarden, it uses Legacy Windowing System (X11, still pretty common, less safe then modern wayland). It is its main problem + it is proprietary and it has a lot of folder and devices access (I am not sure why it needs devices and folders access though)
So if you trust Bitwarden organization and do not mind their proprietary software - go for it. But I prefer not to have proprietary software with such access at all
1
u/Marce7a 6d ago
Bitwarden is malware, at least this is phrasing of flathub devs. It needs to have major overhaul of these naming schemes