macOS 27.3:新的“辅助功能”权限警告荒谬至极
macOS 27.3: New "Accessibility" Permission Warning Is Beyond Ridiculous

原始链接: https://wojciechkulik.pl/blog/macos-27-3-new-accessibility-permission-warning-is-beyond-ridiculous/

macOS 27.3 将旧的辅助功能权限——此前称为“设备控制与数据访问”——重命名为“系统与 App 保护覆盖”权限,并引入了繁琐的九次点击批准流程。该权限对 Alfred、Raycast、Rectangle 和 Bartender 等效率工具至关重要:它让 App 能够监控或模拟键盘和鼠标输入、管理窗口,并与其他 App 的界面交互。这并非一揽子访问权限:它不允许读取安全文本字段、屏幕录制、完全磁盘访问、高权限系统更改,或让 App Store 中的沙盒化 App 进行不受限制的交互。 文章认为,苹果的新对话框具有误导性且带有恐吓意味,它把访问所有文件或浏览数据等宽泛的最坏情形,呈现为仿佛是直接授予的权限,同时要求用户反复点击“确定”。它还错误地向沙盒化和非沙盒化 App 显示相同的警告。作者表示,这种用户体验可能会让用户远离正规的第三方工具,并损害小型开发者。相反,苹果应当把这一过于宽泛的权限拆分成范围更窄、说明更清晰的权限。App Store 和经过公证的 App 通常更安全,而身份不明的开发者则需谨慎对待。类似的批评也针对“完全磁盘访问权限”警告,该警告被指把推测与实际权限混为一谈。

Hacker News 上的一个讨论帖谈论了一篇博客文章,该文章批评 macOS 27.3 新增的辅助功能权限警告过于夸张且具有误导性。大多数评论者为苹果辩护,认为这条警告准确描述了完全磁盘访问权限或屏幕控制等广泛权限可能允许的操作,包括访问信息、文件和已登录的网站。他们说,非技术用户需要理解这些风险,尤其是在 AI 代理可能滥用权限、恶意软件也变得更容易制作的情况下。一些人同意最初的批评,理由是措辞不佳或用户体验不佳;另一些人则认为这种抱怨只是来自技术圈的小圈子。总体而言,讨论倾向于认为这条警告是合理的。
相关文章

原文

macOS 27.3 introduces a new flow for granting what was formerly known as “Accessibility” permission.

The permission itself has been renamed for the second time - for many years it was called “Accessibility”, since 27.0 it’s “Device Control and Data Access” (probably more accurate), and since 27.3 it’ll be “System & App Protection Override”, which sounds scary and confusing.

However, the name is not the main issue. The real problem is that, to grant the permission, the user will now have to go through the new, ridiculous flow.

What Is The Permission For?


The permission formerly called “Accessibility” is probably the most widely used permission on macOS. It allows apps to integrate with the system and other apps. Without it, apps can only work in their own sandbox without touching the system.

This permission is mandatory if you want the app to enhance the system. It is used by apps like Alfred, Raycast, Rectangle, Magnet, Bartender, and many others.

Common use cases include window management, automation, text expansion, menu bar enhancements, typing assistance, and contextual actions, among many other things essential for productivity apps and power users.

The permission also grants access to the Accessibility API (hence the old name “Accessibility”). This allows apps to perform actions, such as:

  • Monitor keyboard events and simulate key presses.
  • Monitor mouse events and simulate mouse clicks.
  • Read and modify window position, size, and attributes (non-sandboxed apps).
  • Read and modify the UI content of other apps (non-sandboxed apps).
  • Interact with other apps (non-sandboxed apps).

What Is Not Allowed With This Permission?


Even with this permission, apps are not allowed to:

  • Monitor keyboard events in secure text fields, such as password fields.
  • Record the screen or take screenshots (this requires Screen Recording permission).
  • Access files protected by Full Disk Access.
  • Access operations that require authorization, such as installing apps or changing system settings.

Sandboxed applications (including those distributed through the App Store) are subject to additional restrictions. They can simulate user input, but have limited ability to interact with other apps.

The Art Of Scaring The User


Given what this permission does and doesn’t allow, it’s clear that it gives the app a lot of power, but it’s far from being a “full access” permission. Even so, Apple went with this flow.

Before 27.3, the user could just go to System Settings → Privacy & Security → Device Control / Accessibility and add the app to the list or even drag & drop the app.

Now, the user will have to go through a scary looking flow requiring 9 clicks to grant the permission. First, the general warning:

Then, the misleading consent dialog:

I really wonder how Apple came up with this dialog. It seems to have been designed by someone who has no idea what this permission is for and how to provide good UX. The dialog presents misleading and even false information.

Claiming that the app will be able to access all files is similar to claiming that Screen Recording permission allows to read all files and access hidden photos. In both scenarios, it can happen, but it’s not the intention of the permission and it’s confusing when presented to the user this way.

The user might have been just informed by the app that it needs the keyboard access, but instead they see a warning about accessing all their files and they must accept it by clicking “OK” next to it.

It should be clearly explained that the permission does not grant access to all files, but as a result of sending specific keyboard and system events the app could potentially gain that access.

One Of The Worst UX Designs In Recent Years


Let’s look at the user experience of this flow.

The first thing you notice is the big, red warning icon. It looks like a malware alert before you’ve read a single word.

That’s a problem, because this dialog should be informative. Instead, it offers a grab bag of loosely related possible worst case scenarios.

What it should say is simple: this permission lets the app control your mouse and keyboard and interact with other apps. That’s the core of it. A secondary section could then explain the implications, such as the app potentially accessing your files through Finder or interacting with your browser.

Instead, they mixed a little bit of this and a little bit of that, and the result is confusing. It gets worse. The user must click “OK” in each section, which gives the impression that the app actually requested it and intends to do each of those things.

You could argue that scaring users is the point, since the permission really is dangerous. But fear isn’t the same as understanding. The dialog never clearly explains what the permission is for. It throws random and inaccurate examples, instead.

Developers have their hands tied, they can’t narrow the permission scope: it’s all or nothing. This is the only permission that allows any form of system integration, but most users don’t know that.

So instead of teaching users and improving their implementation of permissions, Apple decided to just scare users and convince them to uninstall the app instead. It’s easier than just fixing their own poorly designed permission system.

Shame on Apple for this.

The Warning Screen Is The Same For App Store And Non-App Store Apps


App Store apps are sandboxed, which means they have many limitations. For example, they cannot read UI content of other apps. However, Apple decided to show the same warning for both App Store and non-App Store apps.

Do you remember attention to detail they used to have? Well, it’s long gone. They don’t even bother to show a correct warning in such important cases.

Why This Flow Is Bad For The Ecosystem


The dialog in this form will discourage users from using 3rd party apps that require this permission, which is harmful for small developers and the ecosystem in general.

Imagine installing a small utility app and then having to click “OK” next to a warning:

Access current and future browsing history, and take action on websites you’re signed in to now and any you sign in to later, including bank and medical accounts

Most users will just freak out and uninstall the app thinking it’s malware.

Apple has completely lost its sense of UX. The real problem here is that the “Accessibility” permission is too wide. Instead of showing nuclear warnings listing all dangerous things the app could potentially do, Apple should have split this permission into multiple permissions, each with a clear purpose, scope, and description.

How To Know What Is Safe And What Is Not?


Even though Apple is trying to scare users, the reality is that apps distributed in the App Store are sandboxed and have a lot of limitations. Most harmful things are not possible for them. Also, they go through a review process, so they are less likely to be malware.

Most trusted non-App Store apps are notarized, which means they have been scanned for malware by Apple. In order to be notarized, the app must be signed with a valid Apple Developer ID and pass a malware scan. The developer must have a valid Apple Developer account connected to their identity, so it’s not easy to get a notarization for a malicious app.

That’s why it’s very rare to see malware in the App Store or notarized apps. Additionally, harmful operations usually require a password, so the app can’t do them without user intervention.

If you try using a non-notarized app, macOS will show a warning that the app is from an unidentified developer. In this case, you should be very careful and do some research about the app and the developer before using it and granting any permissions.

Bonus: Full Disk Access Permission


At first, it seems that they just really focused on the “Accessibility” permission. However, if you try to grant the “Full Disk Access” permission, you’ll see this:

Maybe, it’s just me, but it starts looking like those screens were generated by a hallucinating AI.

Take a look at the last point. It says that “Full Disk Access” allows the app to take actions on websites you’re signed in to. What?!

Even if you try to justify this by saying that the app could read files in the browser cache or cookies, it still doesn’t make sense. If that was the intention, they should clearly state that this is a potential risk, not something that the user grants by giving the permission.

And if they decided to speculate about what the app could do why did they mention only this particular case? I’m sure that you can do much more with this. So now the user is left with the impression that this is the only thing that could happen, which is misleading.

You either inform what the permission is for and leave speculation out, or you clearly separate the two and provide some examples.

联系我们 contact @ memedata.com