This is an argument for only installing things from the App Store. I told my parents only to install from there and we never had a problem.
( it's even worse in win10s )
That said it's still easier to get something in the AppStore that really wreaks havoc on your machine compared to the iOS AppStore where developers being used to a completely free reign over the machine never was a thing to begin with.