[0]: https://blog.robenkleene.com/2019/08/07/apples-app-stores-ha...
I have a bunch of Applescripts which start with:
tell application (path to frontmost application) to
...so they can control whatever is on screen at the time.Since Mojave, any time a new application happens to be in front, I get prompted to give Bash permission to control that app. And then the entire set of approved apps seems to get wiped sometimes when I edit the Applescripts. There's no way to approve apps ahead of time, and there's no way to blanket approve control of any app.
Good point. Apple doesn’t care. If they did, they would’ve put some fricking effort into it. Not only is 10.15’s “Automation” security model pathetically thin and annoying (I’ve used those APIs; they’re crap), it doesn’t even protect users as it claims.
Allowed a script running in Terminal.app permission to access your Contacts? Great, now ANY script that runs in Terminal can do whatever it likes to your address book.
Once again, anything that does not fit cleanly into Apple’s naive App-centric model gets neglected, overlooked, or stomped on.
Honestly, I think now they’re just waiting for AppleScript usage to die out on its own, so they can kill off the old and crusty (but very powerful) Apple event IPC system entirely. So it goes.
--
TL;DR: Apple is in the commercial business of selling Apps. So where’s the benefit to them in you making your own?
:(
Or more likely it forces the retirement of known good software, and requires you to use unknown, newer tools that have had much less time for security and behaviour auditing my the general community over the years.
I haven’t reenabled it yet, and I don’t think I will be doing for the time being. Apple’s gone too far here. Protect me, sure. Make me take an extra step to run an unsigned binary. For critical modifications like installing kernel extensions, make me run a terminal command, that’s fine. These measures would assist me in maintaining my own security, and they certainly shield my computer illiterate mother. But treat me like a hostile actor on my own computer and strip me of my superuser privileges? No.
I’d rather be a pirate than join the Navy.
As an "expert" software engineer, I completely trust absolutely zero software running on my computer, in my browser, or basically on any device anywhere. I begrudgingly put up with it all because there is no alternative. Adding friction is good because it will eventually push (force?) developers to use more modern, safer development patterns.