ROAMSWITCH FOR MAC · Last updated: 2026-11-18

RoamSwitch for Mac Manual

Explains the menu that opens from the menu bar icon one item at a time, in the order actually displayed. If you are new to it, open the menu and read along in this order, and you will not get lost.

1. About this manual

RoamSwitch is an app with a 🛡️ icon that stays resident in the Mac menu bar. Unlike ordinary apps that you use by clicking the Dock icon, it does not need a window to be open all the time. Click the menu bar icon at the top right of the screen, and a menu appropriate to the current situation opens.

There is no "Preferences" window
RoamSwitch does not have the tabbed “Preferences” window found in many Mac apps. Instead, when you choose a feature from the menu bar menu, a small window dedicated to that feature opens. If you are unsure where a setting is, first click the menu bar icon. From chapter 2 onward, this manual follows that menu from top to bottom.

The menu items are not fixed; they change with the current state. For example, "Approve helper" is shown only while the helper is not approved, and disappears once approved. "Release Air-Gap isolation" is also shown only while isolation is actually in effect. In this manual, such items are marked with a Conditional badge.

Many advanced features are marked with Pro. These are features that cannot be enabled unless you buy (or try) RoamSwitch Pro. Items without the mark are free to use. What runs in the free version is switching protection per trusted network, clipboard protection, and manual diagnostics and checks. Automatic defenses, such as automatic scanning of downloads, monitoring of autostart items, ransomware detection, and automatic blocking of ports and SSH, run in Pro.

When you are stuck, or a message you do not recognize or a warning arrives, you can paste its text into an AI that has MCP installed and ask. The AI searches the official explanations of RoamSwitch and answers with the meaning and what to do, in the display language. For the setup, see MCP setup.

2. Menu bar icon and status line

At the very top of the menu, one line shows the current protection state. An emoji and a few words tell you the state, as in 🛡️ Protected on a trusted network. Clicking this line opens a screen that explains the state in detail.

The look of the icon also changes with the state (for example, it takes a warning color during isolation). Just by looking at the menu bar icon, you can get a rough idea of how well you are protected right now.

The marks on items mean: ✅ is running, 🟡 is only partly running (for example, helper not connected), and ⚠️ is on but stopped (for example, Pro is disabled). The reason appears at the end of the item and in a popup. It also appears in liveState and liveStateReason of the MCP get_guard_status.

15 seconds after start, one notification names the protections that are stopped. If the app fails to connect to the helper twice in a row, one notification is also sent.

3. Approving the Helper (first run only) Conditional

To actually block network traffic or toggle the firewall, RoamSwitch relies on a small companion program called the "Helper" that runs with administrator privileges. Right after installation, while this helper hasn't been approved yet, an item labeled ⚠️ Approve Helper… appears near the top of the menu.

Clicking it brings up a screen asking for the macOS administrator password. Once you enter the password and approve, this item never appears again, and from then on all protection features work automatically. Until you complete this approval, RoamSwitch cannot actually block the network. Be sure to do it during the initial setup.

Operation

  1. Click the menu bar 🛡️ icon and choose ⚠️ Approve Helper….
  2. In the macOS dialog that appears, enter the username and password of an administrator account on this Mac.
  3. Click "Modify Settings." Once the dialog closes and the item disappears from the menu, approval is complete.

3.1 Notifications and permissions needed later

RoamSwitch warnings arrive as macOS notifications. If you do not allow notifications, warnings do not appear on the screen. When notifications are not allowed, a message about it appears at the top of the menu, in the diagnosis window and in the first-run guide. From there you can open System Settings. Depending on the features you use, the following permissions are needed later.

Features that lack a permission show a ⚠️ mark and the reason in the menu. Right after you enable Pro, one notification tells you what was turned on, what you turn on yourself, and what does not work yet (helper approval, system extension approval, Full Disk Access, registering watched folders).

4. Air-Gap isolation: what it shows and how to release it Conditional

“Air-Gap” is an emergency defense that physically cuts the Mac off from the network when a serious threat such as malware or ARP spoofing is detected. While active, the top of the menu shows the type of isolation (full isolation / degraded mode) and, if known, the reason it was triggered.

ItemDescription
🔒 Isolated (full)All network traffic is being blocked.
🔒 Isolated (degraded)A state in which only the minimum necessary communication is allowed and suspicious communication is blocked.
ℹ️ Why you're isolated & how to release…Opens a screen explaining why isolation triggered and how to release it.
🔓 Release Air-Gap isolationAfter confirming it is safe, you release the isolation manually and restore network communication.
Before you release it
Air-Gap is carefully designed to avoid false positives, but if it has triggered, there is a reason. We recommend first checking the reason it was triggered under “ℹ️ Isolation status and release guide…”, thinking back on whether there was any operation you recognize (such as launching a suspicious app), and then releasing it.

Operation

  1. Click the menu bar 🛡️ icon and choose ℹ️ Why you're isolated & how to release…, found below the isolation status row (🔒 Isolated…), to check why it triggered.
  2. If nothing seems out of the ordinary, choose 🔓 Release Air-Gap isolation from the same menu.
  3. Choose "Release" in the confirmation dialog, and network traffic is restored immediately.

5. Wi-Fi connection info Conditional

When connected to Wi-Fi, shows the network name (SSID) and encryption method (such as WPA3) on one line. Click it to see detailed connection information such as signal strength and frequency band. This line does not appear when you are connected only by wired LAN.

macOS does not give the name of the connected Wi-Fi to apps without location permission. When the name cannot be obtained, it shows “Connected (name unavailable).” Even then, the encryption method is judged without the name, and a warning is shown for Open and WEP. Reading the name requires location permission. The permission is requested only when you read the menu's explanation and click. While the name cannot be obtained, detection of look-alike fake access points does not work.

6. Registering and switching the current network

RoamSwitch protects loosely in trusted places such as home or work, and strictly on any other unknown network. Register the network you are on once, and the next time you are at that place, the security level switches automatically.

If you're on a network you haven't registered yet

OptionDescription
Register as "Home" (Trusted)Registers this network at the most relaxed security level. Meant for your home Wi-Fi, used only by your family.
Register as "Work" (Standard Protection)Registers this network at a medium security level. Meant for places like an office that you share with others.
Register as "Tethering" (Standard Protection)Meant for connections like phone tethering: yours alone, but closer to a public network.
Register with custom name…Lets you choose your own name and security level, so you can label it however fits — "Parents' house," "Satellite office," and so on.

Operation

  1. While connected to the network you want to register, click the menu bar 🛡️ icon.
  2. Hover over Register current network, then choose "Home," "Work," or "Tethering" from the submenu, or choose "Register with custom name…".
  3. If you chose "Register with custom name…," type a name of your choosing into the field that appears, choose a security level, and click "Register."

If you're on an already-registered network

The submenu lists the security levels that can be set for that network (Trusted, Standard Protection, etc.) as radio buttons, with the current level checked. Clicking one changes the level immediately. “Rename…” and “Unregister” below the separator let you fix the network's display name or stop registering it.

Operation

  1. To change the security level: click the 🛡️ icon in the menu bar → Current network: {name}, then click the level you want to switch to. It takes effect immediately.
  2. To rename it: Below the divider in the same submenu, click "Rename…," type a new name, and click "Save."
  3. To unregister it: Click "Unregister" in the same submenu. The next time you connect to this network, it's treated as unregistered and the away-from-home default protection (Chapter 8) applies.

7. Managing registered networks

All the networks you have registered so far are listed in the submenu. Each item is shown in the form {registered name} [{security level}] ({part of the MAC address}), followed by the menu for switching the security level, renaming, and deleting the registration, the same as in chapter 6. Use it to review at once the networks you registered while away, which are not nearby now. If you have registered none, a display showing that there are no registrations appears.

Operation

  1. Hover over the menu bar 🛡️ icon's Registered Networks (count).
  2. Hover over the network you want to review, and the same list of security levels as in chapter 6, "Rename…" and "Unregister" appear. Choose the operation you need.

8. Away-from-home default protection

This is the security level applied automatically whenever you connect to a network you've never registered before — a café, a train station, an airport, and so on. Choose from the submenu to change this default level. Because you can never be too careful on an unfamiliar network, the strictest level is selected by default. We recommend not lowering it unless you have a good reason to.

Operation

  1. Hover over the menu bar 🛡️ icon's Away-from-home default protection: {level}.
  2. Click the security level you want as the new default from the submenu that opens.

9. Malware Protection (XProtect & ClamAV)

This is the largest submenu in RoamSwitch. It gathers everything related to malware and unauthorized access: macOS's built-in XProtect, the free ClamAV antivirus engine, download scanning for web and email, DNS-level threat blocking, phishing link detection, and a long list of Pro-tier monitoring features. We'll go through it from top to bottom.

9.1 Apple XProtect

Checks the current version and operating status of XProtect, the malware detection engine built into macOS. "Check XProtect status…" shows the details, and "Check file safety in Files app…" lets you run a simple check on individual files. This item shows the state of the protection already on the Mac; RoamSwitch does not add protection.

Operation

  1. To check an individual file: Choose "Diagnose File Safety…" from the Malware Protection submenu, then either drag a file from Finder into the window that opens, or click "Choose File" to pick one.

9.2 ClamAV (Free Antivirus)

ClamAV is a free, open-source antivirus engine. If it is installed, you can run “Quick Scan Now”, “Custom Scan (specify a folder)”, “Update Virus Definitions”, “Manage Quarantined Files”, and more from the submenu. If it is not installed, installation guidance is shown instead.

Quick scan vs. custom scan
A quick scan checks the places malware tends to sneak into, like your Downloads folder and Desktop, in a short amount of time. If you want a thorough sweep of a specific folder, even if it takes longer, use a custom scan and point it at that folder.

Operation

  1. To run a scan: Malware Protection submenu → ClamAV → choose "Quick Scan Now," or choose "Custom Scan…" and specify a folder. You can watch progress in the menu bar icon or the scan window, and you'll get a notification when it finishes.
  2. To handle a quarantined file: From the same submenu, open "Quarantine," select a file from the list, and choose "Restore" (to put it back if it was a false positive) or "Delete Permanently."
  3. To update virus definitions: From the same submenu, click "Update virus definitions". The latest definitions are fetched from the internet.

9.3 Web & Email Protection (Automatic Download Scanning) Pro

Automatically virus-scans each new file that appears in a folder you specified for monitoring, such as the Downloads folder. When you download a file in the browser or save an email attachment, you can check it before opening it. Use the toggle to enable or disable, add or edit targets with “📁 Monitored folders”, and use “Quarantine management” to review files that were quarantined along with their scan results. While enabled, the recent scan history is also shown.

Operation

  1. In the Malware Protection submenu, check the "Web & Email Protection" row. It is already on once Pro is activated. If you turned it off, click the row to turn the toggle on.
  2. Open "📁 Watched Folders," click "Add Folder" to choose somewhere to monitor (such as Downloads), and click "Save" (your Downloads folder is included by default).
  3. From then on, any new file that appears in that folder is scanned automatically. If something is detected, you get a notification and the file moves to quarantine.

9.4 DNS Threat Protection (Malicious Sites & C2 Blocking) Pro

Blocks name resolution at the DNS level for dangerous domains, such as phishing sites or the "C2 (command-and-control)" servers malware uses to talk to attackers. After enabling the toggle, choose which secure DNS service to use under "Provider," and which networks it applies to under "Enforcement Policy." While enabled, the bottom of the menu shows whether secure DNS is actually being applied right now, or excluded because you're on a trusted network.

Operation

  1. In the Malware Protection submenu, check the "DNS Threat Protection" row. It is already on once Pro is activated. If you turned it off, click the row to turn the toggle on.
  2. Hover over "Provider" and click the secure DNS service you want to use.
  3. Hover over "Enforcement Policy" and choose which networks it applies to (all networks, untrusted networks only, etc.).

On a network that cannot reach the provider, it goes back to the original DNS. If it sets the provider on a network that cannot reach its servers (for example a virtual machine's NAT), all name resolution stops. So after setting it, RoamSwitch checks by looking up a random name that does not exist (rs-<random>.example.com) through the system's name resolution; an answer of "not found" (NXDOMAIN) also counts as reached. RoamSwitch itself opens no socket. If the lookup fails, it immediately goes back to the DNS the network hands out. After setting it, it checks again 1 minute later, 5 minutes later and then every 10 minutes (each with 20% jitter either way). After going back, it re-checks at doubling intervals from 2 minutes (up to 1 hour, 25% jitter either way) and sets the provider again once it is reachable. When the network changes (the gateway's MAC address), it checks at once. On a network that cannot reach the provider, name resolution can stall for the few seconds between setting it and going back. There are two notices (banners): when it went back (that the original DNS is in use and blocking of malicious sites is not working on this network, what to do, and the cause) and when it became reachable and was set again. Each is given at most once a day for the same network (the two have separate allowances; another network gets its own once a day), counted from the time of the notice. Even when a notice is held back, every state is kept in the notification history and the menu. It also appears in the running state (the menu, the protection status window, and liveStateReason = secure_dns_unreachable in the MCP get_guard_status). The setting is still plain DNS (port 53); DNS over TLS and DNS over HTTPS are not used. The step of going back to the original DNS on macOS has not been checked on a real Mac.

This is not DNS tunnel detection. DNS threat protection switches the OS's DNS servers, and the DNS it switches to stops name resolution for malicious domains. RoamSwitch does not look at the content or shape of the queries. DNS tunnel detection is a feature of the Linux editions; the Mac edition does not have it.

9.5 Link Protection (Phishing Connection Detection) Pro

Checks the links you are about to click and the destinations apps connect to against a list of known phishing sites, and warns you in real time. In the submenu you can choose the operating mode, check the update status of the phishing feed, and turn automatic updates on or off. While it is enabled, it also shows which mechanism (browser extension, network layer, etc.) is doing the checking.

Operation

  1. In the Malware Protection submenu, hover over "Link Protection" and click an operating mode (notify only, auto-block, etc.).
  2. Click the "Auto-Update" row to turn automatic phishing-feed updates on or off.

The notification's “Allow this time (5 min)” and the warning panel's “Allow” grant permission for 5 minutes only. The end time of the permission is saved, so it ends after 5 minutes even if you close or restart the app.

Connections to external diagnostic servers (interact.sh, oast.pro, oast.live, oast.site, oast.online, oast.fun, oast.me, burpcollaborator.net, oastify.com, dnslog.cn, ceye.io and their subdomains) are reported without being blocked (not held even in warn mode). These are where diagnostic tools check whether an attack succeeded; ordinary apps almost never use them. A notification is sent at most once per hour for the same host and includes the app name. A system extension approval is required, and nothing is reported when link protection is off.

Link protection also works on connections from browsers that encrypt DNS (DoH) once you approve the system extension. Before approval, it works only with automatic blocking based on the /etc/hosts list, so DoH connections cannot be stopped. To approve, choose “Approve System Extension (Open System Settings)…” inside “Link Protection” and allow it in System Settings. If it stays pending approval for 10 minutes, you are notified (at most once every 3 days). While approval is pending, the mark in the menu is 🟡.

For the CVE data and the Link Guard list, the time of the last successful update and the most recent failure are shown in each CVE window and in the menu. In the MCP get_guard_status this is feedUpdates.

9.5.1 Check a link before it opens Pro

A link clicked in any app (a mail program, a PDF viewer, a chat) is checked, with the whole URL, before the browser opens it. Only a suspicious link asks first. This makes RoamSwitch the default web browser (the earlier browser is kept and put back when you turn it off).

The whole URL, the path and the query too, is checked with the same analysis as "Check a Link Manually" in 9.6. It does not read the text of a mail, and a link that an app opens in its own embedded browser, or where a redirect leads, is not seen. It does not communicate.

Operation

  1. Choose "Malware Protection" → "Check a link before it opens (Pro)…" in the menu bar. It is off by default. Without Pro, the license window opens.
  2. macOS asks whether the default web browser may be changed to RoamSwitch. If you choose to switch to RoamSwitch, the check is turned on. If you choose to keep the earlier browser, nothing changes and no error is shown.
  3. Choosing the same item again turns it off and puts the remembered earlier browser back (Safari or similar if none was remembered).

Only a suspicious link shows a confirmation window before it opens. Its default button is "Do not open", and the link is passed on to the earlier browser only if you choose "Open". Other links go straight to the earlier browser. The target is the remembered earlier browser (if there is none, an installed browser such as Safari). It is never passed to RoamSwitch itself. When Pro ends (for example when the license expires), nothing is asked and every link is passed to the earlier browser (so that links do not stop working).

9.6 On-demand manual check tools

ItemDescription
🔗 Check a Link Manually…Paste a single URL you are unsure about, and it immediately checks whether it is a phishing or malicious site.
🔑 Audit Secrets & API Key Leaks Manually…Scans your Mac for API keys, passwords, and other sensitive data that may have been accidentally saved in plain text.
📦 Cross-Check Package CVEs (Homebrew)…Checks packages installed via Homebrew against known vulnerabilities (CVEs). Node.js (official installers, nvm, fnm, Volta, asdf) and PHP (MAMP, XAMPP, tarball or source builds, phpbrew, asdf, phpenv, mise) that Homebrew does not own are matched too; the version is read without running them.
🤖 Audit AI agent instruction files…Looks for invisible characters and dangerous snippets such as curl | sh in the instruction files, skills and memory of AI agents (Claude Code, Codex, etc.) and in OpenClaw settings. For registered projects, it also checks VS Code tasks that run just by opening the project and GitHub Actions, and, in each agent's settings, allow-everything-without-confirmation permissions and hooks. It does not communicate, and does not display the values of keys or tokens.

Operation

  1. Check a link manually: Choosing this item opens an input field — paste the URL you want checked and click "Check." A safety verdict appears within a few seconds. An address written the way threat reports write it, such as hxxps://example[.]com, can be pasted as it is. It is restored to the original address before the check.
  2. Audit secrets & API key leaks manually: Choosing this item starts a scan; when it finishes, the detected items (file path and type) are listed.
  3. Package CVE matching: matches Homebrew packages against known vulnerabilities and lists them. If you choose “Accept…” and set a reason and an expiry (30, 90, 180 or 365 days), the item is removed from “Action required” and returns when the expiry passes or the version changes. EPSS is shown as “EPSS 12% (date)”, but it is not confirmation of exploitation. When Homebrew is missing, fails, or returns 0 items, “Nothing was checked” is shown, and homebrewInventory also distinguishes these cases.

    The Pro tab checks pip extra-index-url settings and npm @scopes whose source is not pinned, only by reading files. Projects whose lockfile has no setting to avoid recently published versions are shown with severity “Low”. It also reports packages that gained code that runs at npm install time after you marked them as reviewed.

    For registered projects, this check and a check for look-alike dependency names run automatically after changes to lockfiles and similar files, right after launch, and once a day (no network access, nothing is executed). Only a person can mark an item as reviewed. This is a Pro feature, enabled by default, and can be turned off from the menu.
  4. Auditing AI agent instruction files: findings are shown as “Risk: High” or “Risk: Medium” with location and line number. A match is a place for a person to check, not a determination of malice. Change notifications are a Pro feature; no notification is sent until you create a baseline with “Mark as reviewed”, and the reason is shown (agentSetupWatch in get_guard_status). If 7 days pass with no baseline, it notifies once (the count starts over when a baseline is made, when you turn it off, or when Pro lapses).

9.7 Always-on monitoring toggles

From here on are the items that turn each always-on monitor on or off one by one (in menu order). When you enable Pro, ransomware detection, honey tokens, scheduled log audit, SSH brute-force detection and blocking (section 11.3), and others turn on automatically. ClickFix countermeasures, Docker detection, browser credential monitoring and process execution logging are off by default, because they may interfere with use or require additional permissions. Turn on only what you need.

Notifications show the program behind the event (path and PID), its parent process and the command (secret values are masked). Monitors that find file changes (launch items, critical files, lockfiles) cannot learn from macOS which process wrote the file, so they list the commands started around the time of the change as clues that may not be the writer (when the process execution record is on). When the cause cannot be identified, the notification says so.

Operation For any of these, just click the corresponding row in the Malware Protection submenu to toggle it on or off (a checkmark shows the current state). "Ransomware Recovery…" and "Process Execution Recording…" open a dedicated window instead of toggling.

ItemDescription
Auto-block network on XProtect malware detection ProWhen the Endpoint Security extension receives XProtect's detection of malware, it automatically cuts network traffic (Air-Gap). While the extension is not running, you get a notification only and nothing is cut. It is turned on automatically when you enable Pro.
Monitor new auto-launch registrations ProWatches for new LaunchAgent/LaunchDaemon auto-start registrations, detecting suspicious persistence (malware trying to stick around). It also checks every 5 seconds for suspicious lines added to shell start-up files (such as .zshrc), periodic scripts, SSH rc, git hooks, login and logout hooks and Folder Action scripts.
Auto-block on suspicious Terminal commands (ClickFix defense) ProDetects and blocks "ClickFix"-style attacks, where a fake error screen tricks you into pasting a malicious command into Terminal. If the command's URL matches a known official installer such as rustup or Homebrew, it sends a notify-only alert instead of blocking.
Detect Docker privileged containers & docker.sock mounts ProDetects dangerous settings that can easily lead to a container escape (launching in privileged mode, a mistaken mount of docker.sock). A container merely being an Exegol (pentest environment) container does not trigger a notification. If a container notified for reasons such as privileges belongs to Exegol, the notification adds a sentence saying so.
🐤 Ransomware canary file detection ProPlants "canary files" in conspicuous locations, and treats any encryption or tampering of them as an immediate ransomware signal.
🔐 Generic ransomware detection (entropy analysis) ProStatistically detects when the content of a file suddenly changes to near-random data (likely encrypted). It also covers new ransomware that never touches decoy files. Even if the overall value is low, it counts the file when two or more of the 4 KiB windows look like encrypted data. It also covers methods that encrypt only the beginning of a file and methods that encrypt every other block of 4 KiB or more. When it detects one, it goes as far as Air-Gap and a notification, and does not suspend the process (since 2.3.0). A deletion of the originals by another program, a surge from an unknown writer, an overwrite by a trusted writer, and slow encryption are only recorded in the history and the timeline.
🍯 Credential honeytokens ProPlants fake "decoy" credentials, and treats any attempt to read them as evidence that an intruder is present. On a Mac, reads of real credential files cannot be detected, because the app does not use EndpointSecurity and cannot reliably see which process opened a file. No decoy is placed where AI tools such as Claude Code and Codex read their own sign-in files at every start. The notification shows the decoy file's path, the program that read it, its parent process and the command. If the reader has already exited and cannot be identified, it says so.
🔑 Browser credential access monitoring ProMonitors for suspicious access to passwords and cookies stored in your browser — a classic behavior of information-stealing malware. It covers Chrome, Brave, Edge, Vivaldi, Chromium, Arc, Opera, Opera GX and Firefox, plus Safari cookies. Safari is watched only where macOS lets the app read the folder, which needs Full Disk Access. Orion and DuckDuckGo are not covered. Which process opened a file is an estimate, and the watch only notifies. It is off by default even with Pro.
🗂 Ransomware Recovery… ProOpens a window for extracting files, to another location (~/RoamSwitch-Recovered/<ID>/), from the local APFS snapshots that RoamSwitch takes periodically before any ransomware damage. Current files are not overwritten. Full Disk Access permission is required to extract.
🧾 Process Execution Recording… ProRecords a history of launched processes so you can check what ran after an incident. Also evaluates Sigma rules (part of process_creation) placed in ~/Library/Application Support/RoamSwitch/sigma.d; a match only notifies and logs, and does not block. Also detects shell -c and reverse-shell forms of nc, ncat and socat (14 forms in all), unsigned binaries from /tmp, TMPDIR and /Users/Shared, and launches of attack tools such as chisel and mimikatz (excluding those created by development tools, and connectivity checks).

Notifies when a child process of an AI coding agent (claude, codex, etc.) runs a command that sends credential files or secret values out (curl -T, scp, etc.) (T1048; High for files, Medium for values only). Also notifies (Medium) when anything is sent within 5 minutes after credentials were read. Sends to localhost are not examined, and nothing is isolated. Connections opened by the agent's built-in tools, git push, python and node are not seen, and split or encoded arguments may be missed.
📡 Event forwarding (SIEM)… ProAlso sends incidents and notifications to a SIEM, syslog server, webhook or file that you typed in. Off by default. "Event forwarding…" opens its own window rather than toggling (9.10).
🔔 Scheduled log audit ProChecks the system log every hour and notifies, with a kind attached, only the events you can judge. By fixed rules it sorts them into sudo denials, SSH login failures and successes, login and authentication failures, privacy permission resets, kernel warnings, disk errors and repeated app crashes (running with administrator rights, and programs that Gatekeeper's decision did not allow (the log names no program and does not say whether it was stopped), are only recorded in the notification history). What it cannot sort into a kind is not notified. See the explanation below for details.
🔔 Periodic monitoring of critical system file tampering ProPeriodically checks that important OS files have not been modified (FIM). The notification includes the owner and modification time, plus the SSH logins that started from 30 minutes before the change until just after it (a clue based only on overlapping time). All files in /etc/sudoers.d and /etc/pam.d are also covered; a new file is notified once and added to the baseline. At the first check after a macOS update, /etc/pam.d is re-imported and the differences are not notified. Changes and deletions remain until a person confirms them, and you can update the baseline with "Update the important-file baseline to the current state…". Root's authorized_keys and the sshd configuration are checked by hash. The signed-in person's own ~/.ssh/authorized_keys (a key added, the file replaced or removed) is notified with the program that did it, but only while the Endpoint Security extension is running.
🔔 Periodic monitoring of dependency lockfile tampering ProMonitors lock files such as package-lock.json in your development projects for improper rewriting. A countermeasure against supply-chain attacks.
🐚 Always-on reverse shell watch ProEvery 4 seconds it checks the logged-in user's shells, interpreters, nc, ncat and socat, and notifies when it finds, twice in a row, one whose input and output are connected to outbound TCP to a public address. It only notifies; it neither terminates nor blocks. It is on automatically when you enable Pro. Limits It does not see root processes, connections to private addresses, or names not on the list. For anything you recognize, you can add it to the allow list from the menu.
🌐 Watch for network settings changes ProCompares the DNS servers, routers, PAC and WPAD distributed by the connected network with the previous ones for the same network, and notifies about a DNS or PAC never seen before and a WPAD that has newly turned on. For a first-time network and a change in the router alone, it only remembers. If a new router distributes itself as the new DNS, the notification is strong. It does not compare VPN and manually configured DNS, and neither changes settings nor blocks. Record a change you recognize with “Update the network settings baseline to the current state…”. It is on automatically when you enable Pro. Limits A rogue server that distributes the same DNS and router as last time cannot be detected.
🕸 Watch for web server workers crashing ProReads the error logs of nginx, Apache and PHP-FPM (Homebrew and the macOS built-in one) and notifies you when workers die of a crash signal (SIGSEGV, SIGABRT and the like) three times within five minutes. The master process replaces each worker, so nothing else on the Mac notices. It points to an attempt to exploit a vulnerability, or to a bug in the program. One notification per server per hour; nothing is stopped or blocked. An error_log named in the nginx or PHP-FPM configuration is read too.
🛡️ Hold trusted networks at Standard protection when there are signs of compromise ProEven on a “Trusted (Open)” network, while there has been a sign of compromise (a high-or-above record such as ransomware, honey token or reverse shell) within 6 hours, it applies Standard Protection (firewall and stealth enabled). It does not apply maximum lockdown, and does not change anything during a manual override or Air-Gap. It notifies when it lowers and when it restores, and “Confirmed (restore trust)” restores it immediately. The duration can be changed to 1–72 hours with defaults write com.tetsuharu.RoamSwitch RoamSwitch.DevicePosture.WindowHours -int N. It is on by default.

The process execution record is Pro and you turn it on yourself. A helper process runs eslogger, so the Full Disk Access permission is needed. Until you turn it on, there is no record and no tamper detection (hash chain). The MCP tool search_exec_events covers only that account's records and the root processes that account started (its own sudo and what follows). Root daemons started by launchd and the like are investigated in the app's search window.

Turning on the record of processes that opened files (off by default) shows what the notification listed as "unknown", such as the process that read a decoy. A helper process runs two eslogger instances, one for the write side and one for the open side, and keeps the record in memory for at most 180 seconds (nothing is written to disk). It uses CPU. On this Mac, the write side took about 0.2% at about 3 events per second, and the open side about 5-8% at about 256 events per second. If the open side keeps exceeding the limit (default 12%; choose from 6, 12, 20 or 30%), only the open side stops.

Dependency lockfile monitoring watches only the watched folders registered in “Package CVE matching”. If none are registered, it watches nothing. In that case, the menu shows ⚠️ and the reason.

For decoys and honeytokens, the menu shows how many were placed and the reasons for those that could not be. If none could be placed, it is ⚠️. They are not placed where real credential files exist.

For Docker detection, if docker does not respond, it shows ⚠️ and the reason. Containers that were already running when you enabled it are not inspected.

Monitoring for abnormal exits of web server workers has no on/off switch. With Pro, it works from startup. The number and state of the logs it follows appear in webWorkerCrashWatch of get_guard_status.

If a ransomware recovery snapshot could not be created, the reason appears in the recovery window and in the MCP lastSnapshotError. If it fails 3 times in a row, one notification is sent.

The MCP tools for AI clients also have fields such as lastSnapshotError (snapshot failures), placement (the number of decoys placed and the reasons) and feedUpdates (data updates). When the agent hook (agent-check) last made a decision, and the daily counts of allow / ask / deny, appear in agentCheck (the last 30 days). If there is neither a time nor a day, the hook is not running on this account. Whether the input is Endpoint Security or the log appears in input. Both are only counts and times.

When input cannot be read If a monitor that reads logs or files (SSH brute force, ransomware detection, etc.) is on but cannot read its input, it notifies you of the cause with “Input is not being read” (one per stoppage, at most one every 10 minutes). It cannot detect what happens while it cannot read, and does not go back over it. In an AI client's get_guard_status, liveState appears. It never shows a guard that cannot read its input as “on”.

Notices from the scheduled log audit. A notice is written as the conclusion, what to do, and the cause, in that order. It adds the process that wrote the line and its signature, whether this is the first time this Mac has seen it, how often the same kind occurred before, and a log show command to check it. The severity is fixed for each kind (sudo denials, SSH login failures and kernel panics are critical; the rest are warnings) and does not change with the size of a statistic. A new pattern that cannot be sorted into a kind, or a jump in frequency, produces no notification and no banner; the notification history gets one entry, "Log audit: N new patterns that could not be classified", with the count and up to 3 raw log examples. A notice you cannot judge makes you skip the ones that matter. XProtect detections, privacy permission denials, Wi-Fi authentication failures and login window authentication failures are not among the kinds (they are only counted in the audit window's statistics). A successful sudo is not in the log on a Mac by default (Defaults !log_allowed in /etc/sudoers). The sudo part of "running with administrator rights" works only after you change that to log_allowed; on a default Mac, the line recorded is a successful administrator authentication (authd). The heavy query is split in two, and the kernel and disk stage looks at no more than 6 hours. The hourly audit stays at one hour; only the manual 24-hour audit looks at just the last 6 hours for the kernel and disk, and says so on screen. How long each of the two stages takes on a Mac with a long history has not been checked on a real Mac.

XProtect detections and the Air-Gap. Only the XProtect detection or remediation events that the Endpoint Security extension receives start an Air-Gap. A single line of the system log never starts one, because the log is a private internal log whose lines can change shape with a macOS update. While the extension is not running, a log line only produces a notification. The actual detection line of XProtect (the XPScan in GK Xprotect results) is read as a detection, and the notice gives the malware family name and the file. The notice says what to do (do not open the file, move it to the Trash and delete it, then run a virus scan) and the cause (Apple's XProtect judged it; this notice alone has not cut any traffic). The same family and file are notified once in 300 seconds. While the extension is running, a log line waits 60 seconds; if the extension reported the same detection in that time, no second notice is added (the extension started the Air-Gap). If it did not report, only a notice is given. Whether the input is Endpoint Security or the log appears in input of the MCP get_guard_status. With the log as the input, this protection only notifies and does not cut.

Folders you exclude from ransomware detection. A folder that is wrongly judged to be encrypted, such as the cache of a browser or an Electron app, can be taken out of what the detection counts. In the "📦 Manage quarantined files…" window of the menu, press "Add a folder to exclude from ransomware detection…" and choose the folder. Writes in the chosen folder and everything under it are not counted by the general ransomware detection (entropy analysis). "Remove exclusion" in the "Excluded from ransomware detection" list brings it back. The emergency window that appears when ransomware is detected also has "Exclude as a false positive". It lists the folders of the detected files (up to 5) for you to confirm, excludes them, and then goes on to the confirmation for releasing the isolation. Personal folders themselves, such as ~/Documents and ~/Desktop, are not offered. / cannot be excluded. Folders named Cache, Cache_Data, Code Cache, GPUCache and the like are never counted, whatever the case of their letters. No preset writes the excluded folders.

State of the Endpoint Security extension. When an extension that had been running reports nothing in 2 checks in a row (the check runs every 60 seconds) while a guard that uses it is on, you get one notice. It names the protection that can no longer be seen (guards that work only through the extension) and the protection that switched to the older method. Waiting for approval, waiting for a restart, missing Full Disk Access, a failure and an uninstall stay with their own screens and notices and are not part of this one. It does not fire after waking from sleep or when an update is slow to replace the extension. The misses the extension counts (dropped events, an overflowing write queue, failed writes) are read every 60 seconds, and a guard that reads that client shows "partly working" for 24 hours (no notice). Endpoint Security events older than 6 hours that are discarded are counted too. When the log input (log stream) ends, it starts again after 2 seconds; while short runs keep happening, the wait grows 2, 4, 8 seconds and tops out at 300 seconds. After 5 in a row it shows "cannot read" (too_many_restarts). A guard that has only just started is read as "starting" for 60 seconds. The released extension only watches events and notifies and records; it does not stop any program from running (the pre-execution block is switched off in the build).

9.8 Test simulations

This is a harmless mock test that safely checks "whether you are really protected". Without using any real threat, you can try on the spot whether the flow from detection to notification and (if needed) automatic blocking works correctly. Use it to verify operation right after installation, or for periodic checks.

ItemDescription
🚨 Ransomware Protection SimulationUses a harmless test file to trigger decoy-file detection and entropy detection as a trial.
🚨 Malware-triggered Air-Gap SimulationLets you walk through the full flow from malware detection to Air-Gap isolation, with no real harm done.
⚠️ Docker Risk Detection SimulationConfirms that the privileged-container detection notification arrives correctly.

Operation

  1. Choose the simulation you want to try from the Malware Protection submenu.
  2. If a confirmation dialog appears, choose "Run." Within a few seconds to a minute, you should get a notification in the same format as a real detection — that means it's working correctly.

9.9 Web shell detection rules (Web Rules)

For Macs used for web development, this finds PHP, JavaScript, JSP and ASP web shells, injected code, PHP hidden in images and .htaccess abuse (from Mac 1.11.11). It covers ~/Sites, MAMP, Herd, Local, /Library/WebServer/Documents, the project folders registered for package-CVE scanning, and the folders that Web & Mail Protection already watches (such as Downloads). It works without ClamAV.

Open the settings from the menu bar 🛡️ icon → Malware Protection → "Web shell detection rule settings…". The window shows the rule set version and count, "Check development web folders now", buttons that open the rules and hooks folders, "Automatic quarantine level", the account-response switch, and a list of files that were detected but left in place.

By default, quarantine applies to “critical only”. Serious detections such as one-line web shells (eval($_POST[...]) and the like) are moved to the quarantine vault and notified, and can be restored from “Manage Quarantined Files”. “high” does not touch the file; it only notifies and shows the item in the list. You can choose the level from “Do not quarantine”, “critical only” and “critical and high”. The “Do not detect in future” list is separate from ClamAV exclusions.

When it checks: folders that are already watched, such as Downloads, are checked right after a write. Development web folders are checked once a day and with "Check development web folders now". The daily check does not enter node_modules or .git because that takes too long (a check of a folder you pick does enter node_modules). The Mac cannot stop anything before it runs: all detection is after the fact.

When something could not be inspected: if there are files that cannot be opened, folders whose listing cannot be read, or files over 4 MB of which only the beginning was inspected, the count is reported (a manual scan notifies; the daily scan records it in the notification history). In that case, “no detections” means nothing was found in the range that could be inspected. The count also appears in webRulesFolderScan of get_guard_status.

PHP session files are also inspected. The scan of development web folders (once a day and manual) reads files starting with sess_. The locations are session.save_path in the php.ini of Homebrew, MAMP and Herd, and, when none is set, /tmp, /private/var/tmp and similar. Only sess_ files directly in the folder are read; it is critical if the session.upload_progress marker and a PHP opening tag are both present, and high if there is only an opening tag.

The PHP version and settings are checked by the “Easily exploited vulnerabilities (installed software)” item of the diagnosis (§10). It reads, from the configuration files, the PHP versions of Homebrew, MAMP, Herd and PATH (fixed versions are 8.2.35, 8.3.36, 8.4.27 and 8.5.12 or later), mod_php, and session.upload_progress.enabled (on if not specified). PHP is started only to display its version, and makes no connections. For CVE-2026-115560, which has no fix, the check fails only when all three conditions are present: php_binary or php_serialize, switching by ini_set(), and upload progress enabled.

The domain check is an optional item on the same “Web Shell Detection Rules Settings…” screen. It runs only when you enter domains and press “Check Domains”; it is not run periodically, and it is not offered as a diagnosis item or MCP tool. Enter one domain per line, up to 20 (internationalized domains in xn-- form). It checks SPF, DMARC (p=none is noted), MTA-STS (only when an MX exists; action is needed when, for example, mx does not cover all MX hosts) and the registration expiry (action is needed if under 30 days or expired), and shows CAA and DNSSEC for reference. An item with no answer is shown as unable to confirm.

It sends to only three destinations: this Mac's DNS resolver (TXT, CAA, DS, MX and the TXT of _mta-sts), the RDAP server of the TLD registry (it also reads IANA's public list to find it, which does not include the domain name), and the domain's own mta-sts host (the certificate is verified and redirects are not followed). Results are not saved.

For advanced users: put your own rules in the location opened by “Open Rules Folder” (~/Library/Application Support/RoamSwitch/rules.d). Only files owned by root or yourself and not writable by others are read. To call a script on every detection, put post-detection in the location opened by “Open Hooks Folder” (~/Library/Application Support/RoamSwitch/hooks); the detection details are passed as JSON on standard input, and it is stopped after 30 seconds.

Account action (disabling the login shell of the owner of a file that was quarantined) is off by default, and turning it on requires the administrator password. It does nothing to the logged-in user, root or UIDs below 501, and can be undone from the screen. Check rules with “Validate Rule Files…”, and export the JSON Schema with “Export Schema” to ~/Library/Application Support/RoamSwitch/web_rules.schema.json.

9.10 Event forwarding (SIEM, syslog, webhook) Pro

This keeps the incidents and notifications RoamSwitch recorded in a SIEM, syslog server, webhook or file of your own as well. It is off by default and sends nothing. It works only when you turn on "Forward events" and type a destination in the window opened from the menu bar 🛡️ icon → Malware Protection → "Event forwarding (SIEM)…". It sends only while a Pro license is active.

What is sent: only the host name, event ID, time, type, severity, rule, action, process ID and process name, and summary. File contents, screens and typed characters are not sent. Nothing is sent to RoamSwitch's own servers either. Incidents include the process name and ID, so the administrator at the destination can see them. The summary (summary) is sent in English whatever the display language (what you see on screen does not change).

Destinations (enter only the ones you use): syslog (udp://, tcp://, tls://, RFC 5424 or CEF), a JSON Lines file (0600, rotated at the size limit), and a signed webhook (HMAC-SHA256; the destination and signing key are stored in the Keychain). TLS verifies the certificate chain and host name, and nothing is sent if they cannot be verified. An internal CA can be specified in PEM, in which case only that CA is trusted. You can filter by minimum severity, and “Send Test” lets you check before saving.

When sending fails: TCP, TLS and webhook events go to a queue on this Mac's disk (0600, limited by "Retry queue limit" and "Keep retrying for") and are retried at growing intervals. Events not yet sent when the app quits stay in the queue too. UDP and the file are not retried. The numbers sent, failed, the latest error and the events waiting to be retried are shown under "Status" in the same window. The retry wait grows from 2 seconds, doubling, up to 30 minutes, and is spread at random within that range (so the retries do not look like a regular interval). When TCP or TLS syslog or the webhook fails five times in a row, sending pauses for 30 seconds (doubling on further failures, up to 30 minutes, with the length varied by 50% either way), and new events in that time go to the retry queue. The pause is shown under Status.

Checking the destination address: While "Do not send to internal addresses (loopback, LAN, link-local, cloud metadata)" is on, the host name is resolved before sending, every address returned is checked, and nothing is sent to an internal address. The webhook is sent pinned to the checked address, and syslog connects to the checked address. For a LAN SIEM or similar, write its address or CIDR in "Internal destinations that may still be used". The format, settings and retry behaviour are the same as on Linux (Server Operations Manual §16). Destinations set by an organization policy (Fleet) are not part of the Mac edition.

Migrating settings saved by an earlier version: A configuration that saved a syslog or webhook destination before this check existed is migrated once, at app launch or when the forwarding settings are reloaded. The internal addresses the current destinations use are added to "Internal destinations that may still be used", the check is turned on, and the added addresses and how to change them are shown once in the notification history. Destinations written as addresses are migrated even while forwarding is off, and the notice comes when forwarding next starts. A destination written as a name is looked up and migrated once forwarding sends (on, with Pro active). When a name cannot be looked up, the check stays off, one notice goes out, and the next start of forwarding tries again. An off set after the migration, or by changing the switch in the settings window, is kept.

9.11 ClickFix defense (check before pasting, and check of history after running) Pro

ClickFix protection is a Pro feature that you turn on yourself (off by default). It has two ways of catching it: checking the clipboard before you paste, and checking the shell history after the command has run.

Clipboard check: It reads the clipboard only when the content changes. If the content matches a ClickFix rule, it notifies “This may be a dangerous command if pasted. Do not paste it into a terminal.” Besides the notification, it opens a dialog that stays in front of the other windows. The button of the notification or of the dialog can empty the clipboard. It does not clear it automatically and does not trigger Air-Gap. It does not store the content; the notification contains only the rule name and the first 8 characters.

It reads the clipboard only on macOS 15.4 or later, and only when RoamSwitch is set to “Allow” in System Settings, “Privacy & Security”, “Paste from Other Apps”. Otherwise it does not read it, and the menu shows “Clipboard check is not allowed” (for AI clients, the read source is clipboard_not_permitted).

Shell history check: This is detection after running. By default, zsh does not write to the history until the shell exits. So nothing is detected until you close the Terminal tab.

If you add setopt INC_APPEND_HISTORY to ~/.zshrc, detection happens right after the command runs. With your consent, it can be added right after you enable ClickFix defense, and from the menu. It shows the line to add and the file, copies the file to ~/.zshrc.roamswitch-backup, and then writes. It does not overwrite an existing backup; it uses a different name with a timestamp. “Undo” removes only the line that was added. If it is already set, the “Not detected until the tab is closed” message does not appear.

This setting does not apply to open Terminal tabs; it takes effect from a new tab. If ~/.zshrc is a symbolic link, it is not rewritten.

10. Mac Security Comprehensive Diagnostic

An overall diagnosis that scores the Mac's security settings as a whole. The menu item name shows “○/○ good · score” in real time, so you can see the state at a glance without opening the menu. Opening the submenu lists the pass or fail result of each check item.

ItemDescription
📊 Open Full Diagnostic Report…Opens a report screen summarizing every check item and how to fix anything that needs attention.
📜 Mac Security Log Audit…Review the log of security events detected and recorded so far.
📈 Security Activity Log…Search across the containment incident timeline and confirmed email-attachment malware detections, with filters and a time-series chart. See 10.1 below for details.
🔔 Notification History…A list of notifications RoamSwitch has shown you in the past.
🛡️ Protection status…Lists, guard by guard, whether the protections you turned on in settings are actually working. Even for a working protection it shows its role and where it is in the menu. For a protection that is not working, it shows a reason code, what is happening, what is not being seen, numbered steps and buttons you can press.
Re-run Diagnostic NowRuns the diagnostic again on the spot and refreshes it to the latest results.

Operation

  1. After reviewing your settings, click "Re-run Diagnostic Now" in the submenu to refresh the score on the spot.
  2. To find the items that need improvement, choose "📊 Open comprehensive diagnostic report…" and check the red and yellow items in the window that opens. Many items have a button that lets you deal with them on the spot.

Protection status is shown as one of five states: active, partially working, not active, off, and Pro only. Even when a setting is on, a guard is not running if the Pro edition is disabled, the helper is not connected, the system extension is not approved, or its input cannot be read. For such a guard, a reason code is shown (the same value as get_guard_status; 39 kinds). The explanation begins with the protection's name and role, then its place in the menu, the situation (the input that stopped, the number and times of restarts and gaps, and up to 5 names of unreadable files with the reason), the effect and numbered steps. Depending on the reason, buttons such as “Open this feature”, “Open Full Disk Access”, “Restart this guard”, “Scan web folders now”, “Activate Pro…” and “Approve the helper…” are added. The reasons also appear above the menu and in the overall diagnosis report. It is re-read every 15 seconds and on “Recheck”.

The score is counted against the "Maximum security" settings preset as the ideal. A protection that the presets switch counts as passed when it is on and as failed when it is off, and a protection that an existing item already checks is not counted twice. The last item, "Gap to the preset" (the 26th), is not part of the score; it lists the difference from the selected preset. A lower score with a lighter preset is the correct behavior.

The diagnostic items include automatic proxy detection (WPAD / PAC) and the credential files of AI agents. The former fails if "Auto Proxy Discovery" is on or the network specifies a PAC; a PAC set by you or an administrator is display only.

The latter covers files in the default locations of Claude Code, Codex, Gemini CLI and others, and checks their permissions, their owner, and whether they are inside a cloud-sync folder or a git working tree. It does not read their contents. It cannot see files whose location was changed with an environment variable, or the act of reading the files.

The diagnosis also checks backup recency. It reads Time Machine's record and passes when the last backup is within 7 days. It fails when there is no backup destination, no recorded backup, or the last one is older than 7 days. When only another backup app (Arq, Carbon Copy Cloner, SuperDuper!, ChronoSync, Backblaze) is installed, or the record cannot be read, the result is "unknown" and is left out of the score. Local snapshots sit on the same disk and do not count as an outside backup. Whether a backup can be restored is not checked.

The diagnostic items also include additionally trusted certificates (certificate authorities) (trust_anchors). It reads the user and admin trust settings with security dump-trust-settings, excluding Apple's root certificates and those set to "deny". Those whose names look like interception tools (mitm, burp, etc.) fail, with up to 3 shown; others, such as a company root certificate, pass.

It cannot see the certificates an app holds or when one was added, and it does not notify at the time of addition. The scope is T1553.004 (partial). It changes nothing and sends nothing.

The diagnosis also has an item for likely-exploited vulnerabilities (installed software). It compares the packages installed with Homebrew, and Node.js and PHP themselves that Homebrew does not own (official installers, nvm, MAMP and the like), with the known-CVE data on this Mac, and fails when a vulnerability that CISA has confirmed as exploited (KEV), or one with an EPSS (probability of exploitation) of 90% or more, remains in a pre-fix version. A PHP outside Homebrew is checked directly by version and settings (section 9.9). The KEV list arrives every day as a small signed file, so the flag appears without waiting for the weekly data. The check itself uses no network. It cannot see vulnerabilities missing from the data, or software other than Node.js and PHP installed outside Homebrew. When it cannot judge (no Homebrew, no data, not finished in time), the item is left out of the score. This item is checked every hour (the first time 5 minutes after launch) and a notice is sent when a new vulnerability is added or 24 hours pass with the same findings. Pro gets a push notification; Free keeps it in the notification history. Packages installed with Homebrew can be updated by running brew upgrade in Terminal.

Another diagnostic item is exposure through Tailscale. When this Mac is in a tailnet, it fails if Tailscale's inbound block (ShieldsUp) is off and a dangerous port (SSH, file sharing, remote control, databases, AI inference servers without authentication and the like) is listening where the tailnet can reach it. It also fails when ngrok or cloudflared runs next to Tailscale. An exit node, subnet routes and Tailscale SSH are shown only. It only reads tailscale status --json, tailscale debug prefs (only ShieldsUp, AdvertiseRoutes and RunSSH are kept), the list of listening ports and the names of running programs, changes no setting and sends nothing. It does not apply when Tailscale is not found or not running. The macOS firewall being on is not a reason to pass. To block inbound traffic run sudo tailscale set --shields-up.

10.1 Security Activity Log

Unifies the containment incident timeline (ARP spoofing detection, ransomware bait file detection, XProtect-linked Air-Gap, unknown-port auto-block, and more) with confirmed malware detections from email attachments into one screen, so you can search by keyword, filter by category or severity, and drill down via a time-series chart.

ItemDescription
Search & filtersCombine a keyword search with category (ARP spoofing, ClickFix, etc.), severity (info / warning / critical), and time range (past 24 hours through all time) filters.
Time-series chartShows detection counts over the selected range as a bar chart — hourly bars for a 72-hour window or less, daily bars beyond that, switched automatically.
Drill-down from the chartClick a bar to narrow the list to just that time window. Click it again to clear the filter.
CSV export ProExports the current filtered results as a CSV file. A cell that starts with =, +, -, @, a tab or a carriage return is written with ' in front, so that a spreadsheet does not run it as a formula.

The neighboring "📜 Mac Security Log Audit…" covers macOS's own Unified Logging (sudo, SSH, Gatekeeper, XProtect, and more); this screen instead searches only RoamSwitch's own containment decisions in one place.

When a containment by ransomware detection (decoy files, entropy) or by the XProtect link saves an evidence bundle, that save is added as a record under the detection record. In the Security Activity Log, the details of a record show "Triggered by" and the name of the evidence bundle. In the MCP tool get_incident_timeline for AI clients, parentEventID, rootEventID and evidenceRefs appear only on records that have a link (at most 8 references, holding only the bundle name, file name and SHA-256, never content). The manifest of the evidence bundle also records the id of the triggering record. A link is made only when the id of the triggering record is known, and nothing is linked just because the times are close. Containment after ARP spoofing creates no evidence bundle, so it has no linked records. evidenceChecks in get_incident_timeline returns, for each referenced evidence bundle, whether it still matches the current chain.log (matches, the bundle is gone, the manifest differs from capture time, the timeline's hash differs from the chain's, the chain is broken, the chain has no entry, or it cannot be checked), and stale.

An evidence bundle holds the address, port and state of both ends of the process's open TCP and UDP sockets (process/network.json; the content of the traffic is not kept) and the time each piece of evidence took. The bundle's chain (chain.log) has a start mark and a copy of its head, so cutting the end off the chain can be found. In Pro you can turn on, under "Packet pre-roll…" in the menu, the setting that puts the headers of the traffic before a detection into the bundle (off by default; 10 to 120 seconds, default 30). Only the packet headers go into the bundle, not the content.

Operation

  1. Click the 🛡️ menu bar icon → "Comprehensive Mac Security Diagnostics" → "📈 Security Activity Log…".
  2. Choose a category, severity, and time range at the top, and type a keyword into the search field if needed.
  3. Click a bar in the chart to narrow the list to that time window. Click it again to clear the filter.

Pre-execution destination check for AI agents: when the hook of an AI coding agent (such as Claude Code) calls /Applications/RoamSwitch.app/Contents/MacOS/RoamSwitchMCPServer agent-check, it judges where a tool call goes before it runs, from the hook JSON on standard input. Cloud metadata is deny; a credential file and a destination outside this Mac in the same call is ask (the Mac has no malicious-IP list, so that check does not run). It is an aid to detection and cannot see inside scripts, variables, split commands or base64. --print-hook-config only prints the settings to paste; it never writes them. Browser extension permission audit: the menu item "Audit browser extension permissions…" reads the permissions of Chromium-family browser extensions, read only (high for debugger, medium for all sites combined with webRequest, cookies, tabs or scripting). Once you accept the state, the app rereads every 30 minutes and notifies once about a new extension or an added permission (notify only, Pro). The list never leaves the Mac. Redirects in the URL diagnosis: every hop of a redirect, including the first URL, is checked, down to numeric and hexadecimal spellings, ::ffff:127.0.0.1, private, link-local, CGNAT and cloud-metadata addresses, and names that resolve to an internal address; an internal hop is not connected to and the chain stops. The connection is pinned to the verified address and the system proxy is not used. Where a proxy is mandatory the redirect cannot be followed, and the result reads "caution", not "safe".

11. Ports & Device Monitoring

This section covers monitoring your Mac's "boundary with the outside world" — from the network itself (ARP spoofing, VPN, open ports) to physical devices connected to it (USB, Bluetooth).

11.1 ARP Spoofing Detection

Detects "ARP spoofing" attacks, in which another device on the same network tries to eavesdrop on the Mac's traffic. The current state is shown on one line, and while an attack is being detected, "Block everything now" appears on the spot. "Auto block" and "Pin the gateway's ARP/NDP (prevention)" are switched on or off with toggles. The latter is a preventive measure that makes the attack itself hard to carry out on untrusted networks. When Pro is activated, "Auto block" is on by default and "Pin the gateway's ARP/NDP (prevention)" is off by default.

Operation

  1. If you want to block manually while an attack is being detected, click "Block Everything Now" in the Ports & Device Monitoring submenu.
  2. Click "Auto-block" or "Pin gateway ARP/NDP (preventive)" to toggle either one on or off.

11.2 VPN Tunnel (MITM Protection on Untrusted Networks) Pro

Encrypts your traffic through a VPN whenever you're on an untrusted network, like a café or airport. Start by picking WireGuard or Tailscale under "Backend."

BackendCharacteristics
WireGuardUses a WireGuard configuration you provide yourself. You can connect and disconnect, check connection status (handshake), enable a kill switch (a safety net that cuts all traffic if the VPN drops), and import or delete configuration files.
TailscaleUses a Tailscale mesh network. You can choose the exit node, switch the kill switch and connect or disconnect. RoamSwitch can drive only the Homebrew Tailscale (brew install tailscale) and a tailscaled installed with sudo tailscaled install-system-daemon. The Tailscale apps (both the App Store build and the app from Tailscale's site) show status only and cannot be driven.

Operation

  1. Go to Ports & Device Monitoring submenu → "VPN Tunnel" → "Backend," and choose whether to use WireGuard or Tailscale.
  2. For WireGuard: Choose "Import Configuration File…" and select the .conf file you prepared in advance. Once imported, click "Connect" to activate the VPN immediately.
  3. For Tailscale: in the terminal run brew install tailscale, then sudo tailscaled install-system-daemon, and log in to Tailscale yourself (RoamSwitch neither logs in nor installs). If it is not installed, choose "※ Tailscale is required. See how to install…" in the menu to open a dialog where you can select and copy these two commands (nothing is run automatically and no web page is opened). Before you log in, the menu shows "※ Please log in to Tailscale". After logging in, choose the route under "Exit Node" and press "Connect now".
  4. With either method, click the “Kill switch” row to turn it on or off. When it is on, traffic is stopped if the VPN connection drops unexpectedly, which prevents raw (unencrypted) traffic from leaking.

Pinning and checking the VPN tools. With an administrator password, the VPN copies its tools (the Tailscale CLI, WireGuard's wg and so on) to a root-only place and pins them, and from then on runs only that copy as root. Before pinning, the helper checks the signature and the location. It checks that the source and the folders above it are owned by root or an administrator and are not writable by everyone or by a group other than admin, and does not pin if they are. It does not pin if the signature does not match the contents. Tailscale is marked "verified" only when it has a Developer ID signature whose team ID is Tailscale's. The Homebrew tailscale and the WireGuard tools cannot be verified by signature; the dialog says "cannot be verified", makes Cancel the default button, and leaves pinning as an explicit choice of yours. The dialog and the notice show the signer, the path, the owner, the version and the start of the hash. A verified, pinned set has its signature and signer checked again at every run. A tool pinned before this check existed (with no record of a check) keeps running, and a notice mentions it at most once in 7 days. Tapping the notice, or choosing "Update the pin with signature and location checks…" in the menu, opens the pin dialog that shows the result of the check so you can pin again. If the new pin is refused, the reason is shown and the old pin keeps working. How the pin dialog looks on a real Mac has not been checked.

Let incoming connections over Tailscale through, even on Standard protection (off by default). Standard protection uses the Application Firewall's "Block all incoming connections", which cannot make an exception for one interface, so an SSH (Remote Login) over Tailscale is blocked too. When you turn on "Let incoming connections over Tailscale through, even on Standard protection" in the menu, then while Standard protection is in force the block is taken off (stealth stays on) and the helper uses pf to refuse only the new TCP connections that arrive on any interface other than the Tailscale tunnel (utunN). This rule only refuses and adds nothing that lets traffic in. When the tunnel is not known, it refuses on every interface. When the tunnel's name changes, the check once a minute puts the rule in again. UDP and ICMP follow the firewall's usual rules, so this is weaker than blocking all incoming connections. A confirmation appears only when you turn it on. Maximum lockdown, the Air-Gap and the kill switch stay as before and are not affected. No preset writes this choice. Who can reach this Mac through Tailscale is decided by Tailscale's authentication and ACL. It has not yet been checked with a real Tailscale (the pf rule's syntax was checked with pfctl -n).

11.3 Externally Exposed Ports

On a Mac, lists the ports that are open and accessible from outside (such as a development server you forgot to shut down). You can also check the current state of the firewall. Development ports left open unintentionally are holes that attackers easily target. Check here regularly to make sure nothing was left open.

ItemDescription
Auto-block unknown listening ports ProWhen a port you don't recognize newly opens, outside access is blocked automatically. When that port returns to listening on 127.0.0.1 only, the block is lifted automatically (blocks you set manually are not lifted). It turns on automatically when Pro is activated.
Inbound port scan detection ProDetects "port scanning," the reconnaissance attackers do before an attack. It turns on by itself when Pro is activated and automatically blocks the source address for 10 minutes. The gateway, DNS servers and this Mac's own addresses are never blocked. You can turn off the blocking alone from the menu.
SSH brute-force detection and blocking ProReads the sshd log only when Remote Login (SSH) is on. By default it notifies about sources that failed 6 times in 10 minutes, and blocks new connections to the SSH port for 1 hour (existing connections are not cut). Each repeat multiplies the period by 4, up to 7 days, and it turns on automatically when Pro is enabled. Sources that are the gateway, DNS, yourself, on the exclusion list, currently connected, or that succeeded with a public key within 30 days are not blocked, and private addresses are not exempt. If fail2ban or similar is present, it only notifies. IPv6 in the same /64 is only recorded, and external IPv6 is blocked per /64.
SSH brute-force blocking settings…Sets the number of failures and the time they are counted in, the length of the first block, the multiplier applied to each repeat, the upper limit, how long a public-key login keeps a source exempt, and the list of sources that are never blocked. It also shows the sources blocked right now and the recent SSH logins, and a block can be lifted per source or all at once. Turning detection or blocking off lifts every current block. Emergency network recovery includes these blocks as well.
Limit SSH sources ProIn "Configure SSH brute-force blocking…", enter the IPs or ranges to allow (CIDR allowed, up to 64 lines) under "Restrict SSH sources" and press "Restrict to this list only". New SSH connections from anywhere else are then refused with pf. Established sessions are not cut, and this machine itself and loopback are always allowed. It is not enabled if the list is empty or the current source is not in the list. Over Tailscale, also add 100.64.0.0/10. The VPN kill switch is not bypassed. Off by default.
Proof-based vulnerability scan (active reachability check)Tries to reach open ports to confirm they are really accessible from outside. It sends one GET each for 7 paths, such as /admin and /actuator/env, to development servers (127.0.0.1) without authentication, and reports only when 200 returns data (login pages and redirects are excluded). It does not log in, guess or fuzz; the side effects are traces in logs and a large number of requests. It is meant to find apps that do not check authorization on the server side. For nmap findings, "Verified: reachable without authentication" is not attached.
Export proof-based scan log as CSV ProExports the diagnostic results to a CSV file you can use for records and reports. So that spreadsheet software does not run them as formulas, cells that start with =, +, -, @, a tab, or a carriage return are written with ' added at the start.
Show proof-based scan status ProCheck a summary of the most recent scan results on the spot.
RoamSwitch Sensor Pairing…Links this Mac with “RoamSwitch Sensor”, a separate product installed on servers and IoT devices.

Operation

  1. To check which ports are open, hover over "Externally Exposed Ports (count)" in the Ports & Device Monitoring submenu.
  2. Choosing "RoamSwitch Sensor Pairing…" opens an input field — enter the pairing code shown on the Sensor's screen and click "Link."

11.4 Connected USB Devices / USB & BadUSB Guard

Lists the USB devices currently connected. Below that are the countermeasures against “BadUSB” attacks. BadUSB is an attack in which a device poses as a USB drive but behaves as a keyboard and types commands on its own.

If the list of connected USB devices could not be obtained, it shows that retrieval failed, with the time it was last obtained.

ItemDescription
Unauthorized USB / BadUSB physical port guard ProDetects and warns when a USB device that you have not allowed is connected.
Auto-block unauthorized USB storage ProAutomatically disables any USB storage device that isn't on your allowlist.
USB / BadUSB Guard Settings…Opens the settings window where you register and manage allowed devices.

Operation

  1. Open "USB / BadUSB Guard Settings…," select any device you'll keep using from the list, and click "Add to allowlist."
  2. Once that's set up, click "Unauthorized USB / BadUSB physical port guard" and "Auto-block unauthorized USB storage" in the Ports & Device Monitoring submenu to turn each on.

11.5 Bluetooth Auto-off Pro

A toggle that automatically turns off Bluetooth at appropriate moments, such as while you're on an untrusted network. It cuts down on the opportunity for unauthorized Bluetooth connections at close range. What's displayed here depends on your Bluetooth state and hardware support.

Operation Click the corresponding row in the Ports & Device Monitoring submenu to toggle it on or off.

Automatic Bluetooth off is Pro and you turn it on yourself. blueutil is required. If it goes missing later, the menu shows ⚠️ and the reason, and a notification is sent.

Sentinel ports, debug ports and SNMP: for incoming port-scan detection, a SYN to a Windows-type port that an ordinary Mac does not accept (135, 445, 1433, 3389, 5985, 5986), when nothing is listening there, counts as 4 closed ports (the same value as the Linux edition). Only TCP SYNs are seen; UDP and ICMP are not. The port diagnosis reports debug and proxy ports that take commands without authentication (JDWP 5005 and 8453, the Node.js inspector 9229 and 5858, PHP-FPM and Xdebug 9000, SOCKS 1080) when they listen where the network can reach them (loopback-only is not reported; a guess from the port alone is low and says so). Diagnostic item 25, snmp_exposure, reads the snmpd configuration and fails when the default community name (public or private) is allowed from every source for the whole tree (the name is never kept or shown, and nothing is sent). Detecting scans that leave this Mac (Pro, off by default, notify only): the content-filter system extension counts new TCP connections to private destinations per account and program name. When, within a 300-second window, there are 20 or more different destinations, or 100 or more different ports on one destination, it notifies once an hour (it keeps no destination list, only the top three /24 blocks). Destinations resolved by name, UDP and ICMP, and traffic from inside Docker Desktop or virtual machines are not seen. Accounts and programs can be excluded from the menu item "Internal network scan exclusions…".

11.6 Periodic connection detection Pro

Tells you when the same program keeps opening new connections to the same destination at nearly regular intervals. A malicious program that checks in with an outside controller takes this shape. It says only that the connections are periodic. Update checks, sync and health checks have the same shape, so it is off by default. It only notifies and does not stop any connection. Turn it on under the menu bar → Ports & Device Monitoring → "Periodic connection detection (Pro)". Of the settings presets, only Maximum security turns it on (section 13.1). The link guard's system extension counts only the time of each new TCP flow and reads none of the content. It needs the extension to be approved and the helper to be connected; when it is not running, the menu shows ⚠️ and the reason.

For each (user, program, destination), it counts the times of new TCP connections. It notifies when there are at least 13 observations (12 intervals), the mean interval is 20 to 900 seconds, and the spread (coefficient of variation) is 0.2 or less. The same set is notified once in 24 hours, and at most 10 notices an hour in total. A notice gives the program's path, its signature (the team ID only when the signature is valid), the destination, the mean interval, the count, the spread and the duration. It never says the program is malicious. If you do not recognise it, check where the program came from and what the destination is.

Stopping a notice. A notice carries action buttons. When the signature is valid it is "Stop notices for this company" (it covers every app of that company); when there is no signature or it is invalid it is "Stop notices for this program" (it covers only that executable's path). Only the notice stops; no connection is stopped. A stopped notice has no time limit and stays stopped until you bring it back. Interpreters, shells and network tools such as python3, node, sh, curl and ssh get no button, because stopping one would silence every script run with it. For those, add a team ID (10 letters and digits) or a path (starting with /) under "Stopped periodic connection notices…" in the menu. In that window, "Resume" on a row brings back one entry, and "Resume all stopped notices" brings back all of them. The list holds up to 64 entries; when it is full nothing more can be added (old entries are not discarded, and resuming one frees a place). The notice button can stop at most 20 a day.

Who a stopped entry covers. An entry stopped by company (team ID) stays stopped as long as the signature is valid and the team ID is the same. An entry stopped by path stays stopped even if a different file is put at the same path (a path has no signature, so there is nothing to compare). What is not counted. Programs in places protected by System Integrity Protection (/System/, /usr/libexec/ and so on) and programs of the 29 companies on the built-in signature list (browsers, sync, messaging and update software) are not counted; the list applies only while the signature is valid. RoamSwitch's own connections are not notified, but only when the signer (team ID) is the same and the signature is valid; a program with an invalid signature is notified even if it claims a team ID. What it cannot see. A connection that is kept open and reused, UDP (including QUIC), loopback, and connections with a large spread (more than about ±35%). It needs 12 intervals, so with a mean interval of 106 seconds it takes about 21 minutes to notice. It does not look at the content, so it cannot say whether periodic connections are legitimate or malicious.

Connections to the event forwarding destination. When it finds connections to RoamSwitch's own event forwarding destination (section 9.10), the notice reads differently. It says "RoamSwitch connects to its event forwarding destination at regular intervals", asks you to check the destination URL and whether it can be reached, and names the retries of a send that does not get through as the likely cause. It has no stop button. Even if the destination is on the stopped list, this notice is not stopped, so that a destination that does not work is not silenced.

12. Manual Override

RoamSwitch normally switches the security level automatically according to the network you are connected to. Use this feature when you want to fix a specific level only for now. Choose "Return to automatic detection" at the top to go back to automatic mode at any time. The security levels are listed below it, and when you choose one, you are asked how long to keep that setting.

DurationDescription
Until next network disconnect (recommended)Automatically clears when you disconnect from Wi-Fi or move to a different network. There's no risk of forgetting to switch back — the safest choice.
For 1 hour onlyAutomatically returns to automatic mode after 1 hour.
For 4 hours onlyAutomatically returns to automatic mode after 4 hours.
Keep until manually clearedStays in effect until you select "Return to automatic" yourself. Be careful not to forget to switch it back.

Operation

  1. Hover over Manual Override in the menu bar 🛡️ icon's menu.
  2. Click the security level you want to pin.
  3. From the duration list that appears next, click how long you want to keep it — it applies immediately.
  4. Whenever you want to return to automatic mode, click "Return to automatic" from the same place at any time.

13. RoamSwitch Pro

If Pro has not been purchased, “💎 Activate / Buy Pro…” is shown, and clicking it opens the license activation screen (including the purchase path). If Pro is active, “💎 RoamSwitch Pro (Active)” is shown, and clicking it lets you check the current license status. Once you activate the license here, the Pro features in chapters 9 and 11 become available together.

Operation

  1. If you have not purchased yet: click the 🛡️ icon in the menu bar → “💎 Activate / Buy Pro…”, and continue to purchase (or trial) from the window that opens.
  2. If you already have a license key: Paste your key into the license key field on the same screen and click "Activate." Once activation succeeds, the menu changes to show "💎 RoamSwitch Pro (Active)."

13.1 Settings preset (Light, Balanced, Standard security, Maximum security) Pro

At the top of the menu bar 🛡️ menu (below the status line and Wi-Fi, above the current network), "Settings preset: " switches 57 items, the guards' on/off and the intervals of the checks among them, in four groups at once. It is a Pro feature. A Free Mac shows "Settings preset (Pro)…", which opens the licence window. When Pro lapses the line reads for example "Settings preset: Light (stopped, Pro is not active)" and opens the licence window.

Steps Menu bar 🛡️ icon → hover "Settings preset" and pick one of the four (the one in effect has a check mark). One confirmation with a scrollable list of what changes appears, once. When you go on, only the guards that changed start or stop, and a notice tells you how many items changed, which items were not turned on because a condition was missing, and which need a permission or an install. The guards' own confirmations do not appear. "View contents…" lets you read how the four differ. The last application can be put back with "Undo applying 'X'…" in the same submenu (only the last one; a confirmation lists what goes back).

The confirmation for Maximum security lists, one line each, every item that adds false positives, stops work, talks to the outside or isolates, with a mark for the kind and a caution. The confirmation for Standard security says that ClickFix protection isolates the network automatically. When Accessibility is not allowed (BadUSB / physical keyboard approval) or blueutil is missing (Bluetooth), that item is not written and a note is shown instead. Full Disk Access cannot be checked from the app, so the setting is written and listed in the note. Nothing is applied while the network is isolated (Air-Gap).

A preset does not change the registered networks, the level of Default Away Protection or the manual override. It also does not write the SSH thresholds and exclusions, the VPN, Sensor pairing, event forwarding, allow-lists, watched folders, the DNS provider, the choice to let incoming connections over Tailscale through on Standard protection, or the folders excluded from ransomware detection. "Standard protection" and "Standard security" are different things. "Standard protection" is a network protection level (Maximum Lockdown, Standard protection, Trusted) that switches with the kind of network you are on. "Standard security" is a preset that switches the guards' on/off and their intervals together. Changing the preset does not change the protection level, and a change of protection level does not change the preset. When an item has been changed by hand, the menu reads "Custom (changed individually)".

A Mac newly set to Pro starts at Balanced (values the user already wrote are not overwritten). Right after the first activation, one confirmation asks you to choose "Apply Standard security" or "Stay on Balanced", once (Maximum security is never suggested). While the network is isolated, it waits for the next launch. It does not appear again after a re-authentication following expiry, or after a re-activation following a deactivation. A Mac that already has Pro changes nothing on update, and the menu reads "Default settings". Deactivating the licence forgets the choice and puts the 3 items that also run without Pro (clipboard check, snapshot interval, diagnosis interval) back to their defaults; expiry does not. After re-authenticating following expiry, the guards that are on start working again without a restart.

There are 8 new setting keys (defaults write com.tetsuharu.RoamSwitch <key> -int N, -bool for booleans): RoamSwitch.WebMailGuard.ClamAVStageEnabled (default true), RoamSwitch.Sentinel.DailyClamAVScanEnabled (true), RoamSwitch.Sentinel.DiagnosisIntervalHours (1, 2, 4, 8 or 24; default 4), RoamSwitch.WebRules.DailyFolderScanEnabled (true), RoamSwitch.StartupScriptWatch.WalkIntervalSecs (30, 60, 300 or 600; default 60), RoamSwitch.DependencyWatch.BackstopHours (6, 12, 24 or 72; default 24), RoamSwitch.AgentSetupWatch.FallbackSecs (60, 300 or 900; default 300) and RoamSwitch.ReverseShellWatch.ScanIntervalSecs (2, 4, 8 or 15; default 4). The chosen name is kept in RoamSwitch.Preset.Selected. The MCP tool get_guard_status returns preset (selected, matches, lockedByLicense, differsFromSelected). It is read-only; no MCP tool chooses a preset.

14. Launch at Login

Switches whether RoamSwitch starts automatically every time the Mac restarts or you log in. When checked, it starts at login. To keep you protected at all times, we strongly recommend leaving this on.

14.1 Self-monitoring (automatic restart after a crash)

Self-monitoring is off by default (opt-in). Choose “Self-monitoring (automatic restart after a crash): Off…” in the menu and agree to the guide, and the watcher program included in the app is registered as a login item. If System Settings, “General”, “Login Items & Extensions” asks for approval, turn on the RoamSwitch item. Self-monitoring does not work until it is on. Even after you turn it on, it starts working at your next login.

When it is on, RoamSwitch is restarted and you are notified if it crashes. While it is off, RoamSwitch is not restarted after a crash. If an old setting installed by a script exists, it is removed with your consent before registering. You can turn it off at any time from the same item. Uninstalling also removes it. The state appears in the menu and in T1562.001 of get_detection_coverage (liveState and liveStateReason).

15. Language

Choose RoamSwitch's display language with the radio buttons in the submenu. You can set a language for RoamSwitch alone, separate from the macOS system language.

Operation Click a language in the submenu, and the menus and windows switch immediately.

16. Help, About & Update Check

ItemDescription
Help & Guide…Opens the app's built-in help screen. Use it alongside this web manual.
About RoamSwitch…Shows the app's basic information, such as the version number and the developer. It is also used to check the version number when contacting support.
Check for Upgrade…Checks on the spot for whether a newer version is available.

17. Recovery & Uninstall

ItemDescription
🆘 Emergency Network Recovery…Forcibly restores the network when isolation or blocking has mistakenly continued and communication is no longer possible. It is the last resort when you “can no longer connect to the internet”. It first takes back the network actions in the action journal (SSH source blocks, port-scan blocks, Air-Gap isolation), newest first.
⏸ Paused Processes…Lists the processes RoamSwitch paused, and lets you keep them paused or resume them all. If ransomware is still suspected, do not resume them.
🛠 Start a maintenance window…Choose 1, 2 or 4 hours, enter a reason and start it with an administrator's password. During it, notifications that are not protected are kept in the history without being shown, and one summary is shown when it ends. A decoy read and changes to sudoers, PAM or root's authorized_keys are still notified. Detection and automatic actions do not stop. Once started, the item becomes "End the maintenance window (until …)…".
Limits for automatic responses…Changes, with an administrator's password, how far automatic actions go (nothing automatic, up to blocking a source, up to pausing a process, up to Air-Gap isolation; all by default) and the hourly limits (blocking a source 60, pausing a process 20, Air-Gap isolation 6; 1–1000). Actions past a limit are not carried out, and a notice says the automatic action was made a recommendation only (once an hour per action). Actions you take yourself are not limited.
🗑 Uninstall RoamSwitch…Completely removes the RoamSwitch app, helper and related files, following the correct procedure. This includes auxiliary programs that would be left behind by drag-and-drop in the Finder alone.
Dragging it to the Trash in Finder isn't enough
RoamSwitch has a helper that runs with administrator privileges and a login item, so simply moving the app itself to the Trash leaves some components behind. When removing it, always use this “Uninstall…”.

Operation

  1. Emergency recovery when you lose connectivity: Click the menu bar 🛡️ icon → "🧰 Recovery & Uninstall" → "🆘 Emergency Network Recovery…," then choose "Recover" in the confirmation dialog.
  2. To uninstall: From the same submenu, click "🗑 Uninstall RoamSwitch…". Enter the administrator password when asked, and choose "Uninstall" in the confirmation dialog, and the app itself, the helper and all related files are deleted. For details, see Uninstall steps.

17.1 Maintenance window

Under "🧰 Recovery and uninstall" → "🛠 Start a maintenance window…", choose a length of 1, 2 or 4 hours, write a reason (required, up to 200 characters) and start. An administrator password is required, and the privileged helper saves it with root privileges. Meanwhile, threat alerts show no banner and play no sound and are kept in the notification history only; when the window ends (it runs out, is ended early, or is replaced by another), one summary shows the reason, how many alerts were not shown and up to 5 of their titles. Protected detections (reading a decoy credential, and changes to sudoers, sudoers.d, PAM and root's authorized_keys) are still notified. Detection, recording, automatic responses and network-state notices go on. To end it early, choose the menu's end item for the maintenance window.

17.2 Limits on automatic responses and their record

"Limits for automatic responses…" sets how far automatic responses go (none, up to blocking a source, up to pausing a process, up to Air-Gap isolation) and how many may run per hour (by default 60 source blocks, 20 pauses and 6 Air-Gap isolations; 1–1000). Beyond that nothing is done, and a notice says the automatic response was left as a recommendation (once an hour per kind). A person's own actions are not limited. Changing it needs an administrator password, and an AI agent (MCP) cannot change it.

For SSH source blocks, port-scan source blocks, Air-Gap isolation, process pauses and web server account locks, the privileged helper records the moments before and after in /Library/Application Support/RoamSwitch/action_journal.jsonl (read and written by root only). After each action the pf rules (pfctl -sr) or the process state are read again, and the action counts as done only when it is in effect. If the helper restarted part-way, the record is settled at start from the real state. File quarantine is kept in the app's own record. "🆘 Recover the network now…" first takes back the recorded network actions (Air-Gap isolation, SSH source blocks, port-scan source blocks), newest first, and then restores the usual items. Paused processes and locked accounts are restored from their own screens.

17.3 Protected detections and the gap between alerts of the same kind

Alerts of the same kind that differ only in their values (port numbers, addresses and the like) show a banner and sound once every 10 minutes, and the ones not shown are still kept in the notification history each time. Protected detections and isolation-state notices are not held back by this. A change under a protected detection is never taken into the baseline automatically. A PAM change after a macOS update is also only marked in the alert as found after the update; only "Accept Current State of Critical Files…" takes it in.

17.4 The incident record chain and the system state record

Incident records are chained by the hash (SHA-256) of the record before. When part of the record was rewritten or removed and the chain does not match, a band appears in the activity log window, and chain and chainBreak in the MCP tool get_incident_timeline show it. It uses no key by design and is meant to catch records that were partly rewritten or removed. A record gets blindNear when the input of the detection that made it had a gap from 5 minutes before to 1 minute after it. Records from the same source address (within 60 minutes) and from the same SSH session are shown linked.

Once a day (the first one of the day, up to 90 days) the app records the listening ports, Homebrew packages and versions, and hashes of the main configuration files in ~/Library/Application Support/RoamSwitch/system_timeline.json (0600). The content of the settings is not stored, and nothing is sent anywhere. The changes from day to day and against now are read with the MCP tool get_system_timeline (since is yyyy-MM-dd or 7d).

Who can read the detection history and the guards' state. Another ordinary user on the same Mac cannot see the detection history, the state of the guards, or the link guard's history and allow list. These files written by the helper are mode 0600, readable only by root: the port-scan detection history, the per-guard record of gaps and restarts, the system events log (sudo and ssh logins, changes to accounts and permissions), the link guard's block and warning logs, the records of scans of internal networks and periodic connections, the link guard's allow list and extra block list, and their setting files. The temporary files of the pf rules being applied are also created as 0600, and any left over are removed at start-up. The app and MCP read them through the helper's XPC. Files that an earlier version wrote as 0644 are fixed to 0600 when the helper starts. The Endpoint Security extension and the link guard extension are not replaced in this update, so for a short time between the extension recreating a log and the helper fixing it to 0600, the file may be 0644. For MCP there are three changes. (1) While the app is not running, the state of the helper-backed guards becomes "unknown" after 10 minutes. (2) While the app is closed, the link guard's event list cannot be read. (3) search_exec_events returns only this account's records and the root processes this account started (its own sudo and what follows). Root daemons started by launchd and the like are not visible through MCP; investigate them in the app's search window. Refusal of reads by another user, the MCP and helper XPC behaviour, and the trust check with a signed extension have not yet been checked on a real Mac or in a VM.

18. Quit

Quits RoamSwitch. While it is quit, neither automatic network assessment nor the protection features work. If you only want to stop it temporarily, you can instead, without quitting, pin the level you need with “Manual Override” in chapter 12.

← Setup Guide Go to Linux Manual →