Helper and permissions
Reading SMART over USB, the read test, USB self-tests, rescue, repair and the erasing tools need root. SmartDisk for Mac uses a small helper for these, registered with macOS as a background item.
Allowing it
Section titled “Allowing it”The first time you use one of these features, macOS asks you to allow the helper once in System Settings → General → Login Items & Extensions. After that, macOS starts it on demand and the app talks to it over XPC.
Health reports of internal disks need no helper and no administrator rights.
What it is allowed to do
Section titled “What it is allowed to do”The helper is deliberately narrow:
- It accepts connections only from SmartDisk signed by HostAtlas’ developer team, and the app only talks to a helper signed by the same team.
- It runs only the engine’s
usb,test,selftest,rescue,repair,capacity,formatandwipewith--json, for one whole disk and checked options. It rebuilds the command line from the validated values. - Writing and erasing commands only run with the disk named twice.
- A rescue image may only be written where you could write yourself: a plain
.imgpath in a folder that belongs to you (or on a volume that ignores ownership, like most external disks), reached without symbolic links.