When you execute a random file you got off the internet (even worse, with sudo) you don’t get to complain about the consequences. The rest of the story is pure fluff.
Android enforces robust sandboxing on all programs, so this would not have happened.
This is the security tradeoff that comes with the standard desktop model of computing, and people should be upfront about it when promoting phones running desktop operating systems