Docs / Start here

Install and modes

Install the app, then choose full monitoring (every process) or limited mode (your own processes only).

Download

Download ProcessGuard

Requires macOS 14.4 or later on Apple silicon. The app is signed and notarized by Apple. It checks for updates once a day and asks before it installs one; Check for Updates… in the menu bar item checks now.

Install the app

  1. Open the downloaded zip, then move ProcessGuard.app to /Applications. Do this before you authorize: macOS records the location of the app when you approve the daemon, and a moved app breaks the approval.
  2. Open ProcessGuard. At first launch it asks "Authorize full monitoring?"
  3. Choose Authorize or Continue in Limited Mode (see below).

ProcessGuard puts an item in the menu bar. Its menu has Open ProcessGuard, the list of menu bar items to show, Settings… (⌘,) and Quit ProcessGuard.

Full mode and limited mode

macOS does not give the resource use and the open sockets of root processes to a normal user process. So ProcessGuard runs in one of two modes:

ModeHow it startsSeesDataSocket
Full (root)A LaunchDaemon, approved once in System SettingsEvery process, root ones included/Library/Application Support/ProcessGuard/daemon.db/var/run/pguard/daemon.sock
Limited (user)The app starts pguardd, or you doYour own processes only~/.pguard/daemon.db~/.pguard/daemon.sock

In limited mode there is no history and no connection list for system services and security agents. The two modes keep separate histories.

Authorize full monitoring

  1. Click Authorize. ProcessGuard opens System Settings › General › Login Items & Extensions.
  2. Switch ProcessGuard on and confirm with your password or Touch ID.
  3. launchd now runs the bundled pguardd as root at every boot. The app switches to it without a restart and stops the user daemon.

Only the genuine daemon runs as rootThe LaunchDaemon starts only a pguardd signed by team J728B48HPY with the identifier it.straus.pguard.pguardd. A replaced binary in the bundle does not run as root.

Continue in limited mode

Continue in Limited Mode keeps the user daemon. The app does not ask again, but a banner keeps an Authorize… button, and Settings › Monitoring has Authorize full monitoring….

In limited mode the app starts the user daemon when its socket does not answer, if it finds pguardd at ~/.pguard/bin/pguardd or next to its own executable. It reconnects after a disconnect.

Revoke full mode

Switch ProcessGuard off in the same System Settings pane. The app falls back to limited mode.

Where the CLI is

The app does not put pguard on your PATH. It is inside the bundle:

/Applications/ProcessGuard.app/Contents/MacOS/pguard

To call it as pguard, add a link or an alias, for example:

ln -s /Applications/ProcessGuard.app/Contents/MacOS/pguard /usr/local/bin/pguard

pguard --help prints the path of the binary that runs.

Older builds

Older builds installed a per-user LaunchAgent. make uninstall-legacy-agent removes it; the app also stops it once full mode runs.

Check that it works

pguard status

Expected output, with your own numbers:

daemon: up 1940s, 989 processes, observations fresh
last sample: 0s ago, last store: 1794136111
ram available 11.9 GiB of 36.0 GiB, swap used 8.4 GiB, thermal Fair

If the CLI exits with code 4 and says Start it with: pguardd, no daemon answers. See Troubleshooting.