Repository navigation
Preen 0.1.1
Security fix for the root helper. Use this release instead of 0.1.0.
Fixed
- The privileged
pkg-removeaction now accepts only valid Debian package names. Before this fix, a name ending in+(which apt reads as "install") or a pattern such asa*could reachapt-getas root throughpkexec. Package and snap names must now end in a letter or digit and contain no pattern characters, and the package must match an installed package exactly. - Every package apt would remove together with the chosen app now passes the same system-package checks as the app itself.
flatpak-removerequires an exact installed application id.
Exploiting this needed a process running as you that could start pkexec preen helper and get past the password prompt (or run within polkit's 5-minute grace period after you entered it).
Install (Ubuntu / Kubuntu 26.04)
wget https://github.com/youxufkhan/preen/releases/download/v0.1.1/preen_0.1.1_amd64.deb
sudo apt install ./preen_0.1.1_amd64.debEverything else is as in 0.1.0. Verify downloads with sha256sum -c SHA256SUMS.