Security
Updated October 26, 2026
This page is for IT and security teams reviewing Harbor on a managed Mac. Harbor blocks websites and apps during focus sessions that the user starts or schedules. It has no accounts, no remote access, no analytics or telemetry, and nothing about your browsing leaves the Mac.
What gets installed
- Harbor.app (
com.ajwaxman.Harbor). A menu bar app that runs as the signed-in user. - A web filter (
com.ajwaxman.Harbor.HarborFilter). A Network Extension content filter, installed as a system extension. The user approves it in System Settings. - A background helper (
com.ajwaxman.Harbor.Agent). A per-user launch agent registered withSMAppService, not a root daemon. During a session it quits blocked apps and reopens Harbor if it’s quit. Outside a session it does nothing. Sessions last at most 8 hours, and both the helper and the filter stop blocking at the session’s end time on their own. - A browser extension for Chromium browsers, optional. It shows Harbor’s page in place of a blocked site. Permissions:
declarativeNetRequest,alarms,storage, and host access to all sites so it can redirect blocked ones. It doesn’t read page content or record history.
What the web filter sees
- Outside a session, it allows every connection without looking at it.
- During a session, it compares each outgoing connection’s hostname with the user’s blocklist and drops the ones that match. Nothing else is blocked.
- When a browser connects by IP address with no hostname attached, the filter reads the start of the outgoing connection on ports 443 and 80 (at most 16 KB) to find the site name in the TLS handshake or HTTP
Hostheader. Incoming data is never inspected. - During a session it also drops QUIC (UDP 443) connections that have no hostname, so browsers fall back to TCP where the site name is readable. Other software using UDP 443, like some VPNs, may fall back to TCP or slow down during sessions.
- The filter doesn’t store or send what it reads. Blocked hostnames are written to the macOS system log on the Mac.
The local server
Harbor runs a small HTTP server on 127.0.0.1:48731 for its browser extension. It listens on the loopback interface only and rejects requests whose Host header isn’t 127.0.0.1:48731, which blocks DNS-rebinding attacks. It serves the current blocklist and site icons, accepts notes the user parks from Harbor’s blocked page (only from extension pages), and receives the Spotify sign-in redirect.
Network connections
Harbor connects to these services and nothing else:
- Polar (
api.polar.sh), to activate and check a Harbor Pro license about once a day. - Spotify (
accounts.spotify.com,api.spotify.com), only if the user connects Spotify. - Apple Music, through MusicKit, only if the user picks an Apple Music playlist.
- Sites on the user’s blocklist, to fetch each one’s icon from its homepage.
Blocklists, sessions, and stats are kept as files in ~/Library/Application Support/Harbor. The license key and Spotify sign-in are kept in the Keychain. See Privacy for more.
Verifying and allowlisting
Harbor is signed with a Developer ID certificate (Team ID B637WUYHC5), built with the hardened runtime, and notarized by Apple. To check a copy:
spctl -a -vvv /Applications/Harbor.appshould report “Notarized Developer ID”.codesign -dv /Applications/Harbor.appshould showTeamIdentifier=B637WUYHC5.
To allow it through MDM, add Team ID B637WUYHC5 with system extension com.ajwaxman.Harbor.HarborFilter to a System Extensions payload, and the same Team ID to a Managed Login Items payload for the background helper.
Removing Harbor
Use Harbor’s own Remove Harbor. Deleting the app on its own leaves the web filter running, because only Harbor can ask macOS to uninstall its system extension.
- Outside a session, click the gear in Harbor’s menu bar panel → Remove Harbor… → Remove. It turns off the web filter and the background helper, then moves Harbor to the Trash.
- Remove the browser extension from your browser’s extensions page.
- Optional, to delete your data:
~/Library/Application Support/Harbor.
Already deleted the app? Install it again, then do step 1.
Questions
Email hi@milesquarecomputer.co. We’re happy to walk through the source with your security team.