A Swift utility auto-dismisses the macOS 'Allow app to find devices on local networks?' popup within 0.25 seconds. The tool runs with zero CPU idle and survives reboots, requiring only one Swift file with no dependencies. It targets the persistent prompt issue where apps like Chromium browsers recreate bundles at launch, causing OS keys to treat them as new apps.
The agent registers an Accessibility observer to detect the system notification window and presses 'Don't Allow' automatically. Users receive a notification each time a prompt is dismissed, and can configure an allowlist or grace period for apps that genuinely need network access. Installation via Homebrew or compilation creates a per-user launchd agent.
The tool also provides commands to view the system's Local Network rule store, pause functionality, and uninstall the agent entirely, offering a solution to the privacy clutter caused by repeated, often misattributed, permission prompts.
Source: Hacker News · Summarized by HeadlinesBriefing