The gnu/linux userspace has absolutely no security whatsoever. It’s a real shame how trivial it is to have even an npm install potentially do literally anything.
Android has an actual, sane, rethought security model that has a good track record in protecting millions of non-tech-savvy people.