There was a bug in an uninstaller, once, that deleted all of the files on the disk. Sounds like malware to me!
https://arstechnica.com/civis/threads/i-tried-to-uninstall-s...
> The apps that do perform operations "as root" do so by spawning a shell process running as root, usually using `su -c`. That's on a rooted device.
So in a scenario like what we're discussing here (a dev deciding to build an uninstaller their own way), on a rooted device (as per the GP's context of "this coming to Linux and Windows"), the app in question could still run as root, and this permission set from Android would solve nothing?