This skill runs a comprehensive, read-only security scan of a macOS machine and produces a detailed report. It is safe to run — it only reads system state and never modifies anything.
Tell the user:
sudo,
but all checks work without it.Ask: "Ready to run the scan? And do you want to run it with sudo for deeper results, or without sudo to keep it simple?"
Once the user confirms, run:
bash
python3 scripts/scan.py [--sudo] --out ~/Desktop/security_report.md
Pass --sudo only if the user agreed to it. The script handles all checks
and writes the report file.
After the script finishes, read the report and give the user a plain-English verdict in chat:
Always remind the user: this scan is a good first check, but it is not a replacement for dedicated antivirus software.
Tell them the report has been saved to ~/Desktop/security_report.md and
they can open it in any text editor or share it with a professional.
CategoryWhat is checkedKeyloggers & input monitorsProcesses with Accessibility / Input Monitoring permissions; IOHIDFamily kernel extensionsSuspicious background processesRunning processes cross-referenced against a known-bad list; processes with no bundle ID hiding in temp foldersLaunch agents & daemonsStartup items in all LaunchAgent / LaunchDaemon directories, flagging unknown or recently added itemsNetwork connectionsActive connections, listening ports, and processes making outbound connections to non-Apple IPsRecently installed softwareApps and packages installed in the last 14 daysLogin itemsItems set to launch at login via System SettingsKernel extensions (kexts)Third-party kexts loaded into the kernelBrowser extensionsInstalled extensions for Safari, Chrome, and FirefoxPrivacy permissionsApps with Camera, Microphone, Screen Recording, Accessibility, Full Disk AccessSystem Integrity ProtectionWhether SIP is enabled (disabled SIP is a red flag)GatekeeperWhether Gatekeeper is enforcing app signingFileVaultWhether disk encryption is active
Guide the user using these thresholds:
Green (normal)
/tmp, /var/folders, or home-directory hidden foldersYellow (worth investigating)
Red (act now)
scripts/scan.py bad-list)