Download
Warden for Mac
A menu-bar app and a small hook helper. No account, nothing to sign up for.
Install
-
Open the disk image
Double-click
Warden.dmgand drag Warden into Applications. -
Open it
The app is signed with an Apple Developer ID and notarized by Apple, so macOS only shows its usual “downloaded from the internet” confirmation on first launch.
-
Pick agents and a preset
Setup lists the agents it found. Choose which to protect and how strict to be: Strict, Balanced (recommended) or Permissive. You can start by recording a baseline, which logs what would be stopped without stopping anything.
-
Restart running agents
New sessions pick up the hook. Codex: run
/hooksonce and trust the new hook. Cline: switch the hook on in Cline’s Hooks tab. When the baseline looks right, press Start enforcing on Home.
Verify the download
Compare the file’s SHA-256 hash with the one published here before you open it.
shasum -a 256 ~/Downloads/Warden.dmg
Expected for v0.1.0: published here with each release
Build from source
Warden is open source under the MIT License. With the Command Line Tools installed (xcode-select --install, no Xcode needed):
git clone https://github.com/0xdak/warden.git
cd "$(basename https://github.com/0xdak/warden)/app"
scripts/selftest # runs every rule check against a throwaway home folder
scripts/build_app.sh # → dist/Warden.app
The repository README has the details. A build you make yourself is signed ad hoc, so macOS asks you to confirm its first launch in System Settings → Privacy & Security.
What it changes on your Mac
- One hook entry in each protected agent’s settings file, such as
~/.claude/settings.jsonor~/.cursor/hooks.json. Your own hooks and settings stay. A backup of each file is saved first. - A folder at
~/Library/Application Support/Wardenwith settings, remembered decisions, the evidence log and the hook helper. - Nothing else. No admin rights, no Full Disk Access, no background services besides the menu-bar app.
Uninstall
In Warden, open Agents and press Remove for each agent; Restore backup puts back the exact file saved before install. Quit Warden from the menu bar and delete it from Applications. Optionally delete its folder in Application Support.
Deleted the app first? Remove the entries that point to Application Support/Warden/bin from the agent settings files, and agents will stop calling it.