Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Was läuft eigentlich im Hintergrund deines Macs?

Warum ich Daemon Inspector gebaut habe, was die App auf meinem eigenen Mac gefunden hat — und was mir die App Sandbox dabei beigebracht hat. Was läuft eigentlich im Hintergrund deines Macs?Auf jedem Mac laufen Dutzende Programme, die du nie gestartet hast. Manche gehören zu macOS. Viele haben Apps mitgebracht: Updater, Sync-Helfer, Lizenzprüfer, Begleiter für die Menüleiste. Und manche gehören zu…

Original German Read in English

Behind the scenes of your Mac, there are dozens of programs running in the background that you may not have started. Many belong to macOS itself, while others come from apps you brought over with you, such as updaters, sync helpers, license checks, and menu bar companions. Some belong to apps you have long deleted. macOS refers to them as Launch Agents, Launch Daemons, and Login Items.

They reside in a handful of folders, start when you log in or boot up, restart themselves when they end, and wake up on schedule. They don't appear in the Dock, and most people never see them.

The System Preferences offer a list under General → Login Items and Extensions, but they rarely reveal what each entry is, who installed it, or if the program still exists. You get a name and a switch. I wanted answers instead of switches, so I built Daemon Inspector. For each entry, the app lists who owns it, whether it belongs to Homebrew or the developer who signed the program, and groups them by owner.

Marked as empty files, they stand out in a separate group so they don't cause false alarms. I deleted them, and the list updated automatically when the app opened.

One unknown daemon turned out to be my own server software, installed manually under /usr/local years ago. It wasn't part of any app, bundle, or launch item. Daemon Inspector recognizes programs signed with your own developer certificate and marks them as yours. MySQL ran with root privileges but had no app in /Programs. Its owner was an option in the System Preferences. The Inspector now checks there too. None of this was alarming, but each entry raised the same question: What is it, and do I need it?

Daemon Inspector is designed to be read-only, stopping, disabling, or deleting nothing on its own. It explains and guides you to the right place, a conscious decision to avoid messing with other apps' background services. The app shields you from making updates, licenses, or synchronization go wrong by removing a background service yourself.

Instead, it shows you the exact commands to disable them. For entries it can't handle, it provides the precise terminal commands to copy, along with a single status color: green for entries with known, signed owners, orange for overthrows and unknown owners, and red for unsigned entries or overthrows running.

The app's sandbox teaches it to respect macOS's restrictions. Apps from the Mac App Store run in the App Sandbox, limiting file system access. My app respects this sandbox, not accessing the Library folder where Launch Agents live. With full disk access, the app could read the Trash, but the sandbox prevents it. Sandbox and privacy settings are separate, and the full disk access only grants access to one area. This makes sense—the sandbox protects against malicious software.

The app uses launchd's information about each loaded agent, including the file accessed, program, arguments, and whether it's running. For Store versions, it lists loaded agents without needing user approval. For others, it prompts you to select the folder in a standard Open dialog, granting permission based on your choice. This results in no alarming permission dialogs, no settings to turn on in System Preferences, and complete results with just one click. Small things that add up.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Obfuscating MessagePack contracts

Most advice about obfuscating serialized types is a single warning: do not rename your DTOs, the names are the contract. That is true for System.Text.Json , Newtonsoft.Json , and DataContract — the…

  • MessagePack has integer and string key serialization styles
  • Integer keys preserve original names, allowing safe renaming
  • String key obfuscation breaks compatibility, causing data loss

More from Wednesday 25 November →