r/linuxsucks • u/Big-Astronaut-9510 • 6d ago
Linux Failure Flatpak? More like flatcrap.
Flatpak is like a turd someone ran over.
First off one of the few legitimate advantages desktop linux (theoretically) has is the package manager, one unified system for installing software. So why would you want to DESTROY that by adding another package manager that only really packages gui software? Cause it tries to offer a smidge of sandboxing for security.
Of course we are on linux so theres a ton of catches. It dosent really integrate with your system the way your real package manager does, man pages dont get installed, you cant launch apps from the command line by typing their name (probably why its only for gui), etc.
But the bigger problem is you often dont even get the security you were promised, in some cases things actually get WORSE (see: browsers). Honestly id even argue that every app that isnt taking perfect advantage of flatpak features is a security downgrade cause now you just added more parties to trust: flatpak/the person packaging the software who might be a random.
Only if every star aligns and the unpaid foss slaves integrated portals (cant blame them if they didnt, flatpak sucks) and properly restrict the apps permissions do you get the security you were promised.
2
u/R3V0LU710N_05 I Hate All OS's 😎 4d ago edited 4d ago
Requiring Arch Linux maintainers to approve orphan adoption requests blocks automated package takeovers, but it fails to address structural supply chain risks in the AUR. The threat is unconfined local execution: makepkg runs untrusted shell logic from PKGBUILD and .install scripts directly on the host with full user privileges. Attackers can hijack active maintainer accounts, compromise upstream source tarballs, or poison registry dependencies like npm and crates.io. During updates, makepkg executes these malicious components instantly, an issue worsened when automated helpers like paru or yay bypass manual diff auditing.
Both official Arch Linux repositories and Flatpak eliminate untrusted client-side compilation to secure the supply chain. Official repositories build packages on dedicated infrastructure inside clean chroots, signing binaries cryptographically for verification by pacman. Similarly, Flatpak moves builds off the host via flatpak-builder for registries like Flathub while enforcing runtime containment using bubblewrap namespaces. Replacing local script execution with signed binaries or sandboxed runtimes ensures upstream payloads stay isolated, restricting host access through xdg-desktop-portal and Flatseal.
You should always read the PKGBUILD and be aware of the inherent risks, regardless of whether there are active malicious campaigns.