← 返回
未分类 中文

macos-security-scan

Scans a macOS computer for signs of tampering, malware, keyloggers, and suspicious activity — especially useful after a device has been sent for repair or ha...
Scans a macOS computer for signs of tampering, malware, keyloggers, and suspicious activity — especially useful after a device has been sent for repair or ha...
vincentyao vincentyao 来源
未分类 clawhub v1.0.0 1 版本 99781.2 Key: 无需
★ 0
Stars
📥 456
下载
💾 0
安装
1
版本
#latest

概述

macOS Security Scan Skill

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.


Workflow

Step 1 — Explain to the user what will happen

Tell the user:

  • The scan is read-only and safe. Nothing will be changed or deleted.
  • Some checks (marked with ⚠️) produce richer results when run with sudo,

but all checks work without it.

  • The scan takes about 30–60 seconds.
  • A report file will be saved when done.

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?"

Step 2 — Run the scan script

Once the user confirms, run:

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.

Step 3 — Summarise findings in chat

After the script finishes, read the report and give the user a plain-English

verdict in chat:

  • Looks clean — No significant threats found. Briefly note what was

checked.

  • ⚠️ Needs attention — List the specific findings that look suspicious,

explain what each one means in plain language, and recommend next steps.

  • 🚨 Serious concern — If any high-confidence indicators are found

(active keylogger, known malware process, suspicious kernel extension),

say so clearly and recommend they contact Apple Support or a security

professional before using the device for sensitive tasks.

Always remind the user: this scan is a good first check, but it is not a

replacement for dedicated antivirus software.

Step 4 — Point the user to the report file

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.


What the Scan Checks

CategoryWhat is checked
------
Keyloggers & input monitorsProcesses with Accessibility / Input Monitoring permissions; IOHIDFamily kernel extensions
Suspicious background processesRunning processes cross-referenced against a known-bad list; processes with no bundle ID hiding in temp folders
Launch agents & daemonsStartup items in all LaunchAgent / LaunchDaemon directories, flagging unknown or recently added items
Network connectionsActive connections, listening ports, and processes making outbound connections to non-Apple IPs
Recently installed softwareApps and packages installed in the last 14 days
Login itemsItems set to launch at login via System Settings
Kernel extensions (kexts)Third-party kexts loaded into the kernel
Browser extensionsInstalled extensions for Safari, Chrome, and Firefox
Privacy permissionsApps with Camera, Microphone, Screen Recording, Accessibility, Full Disk Access
System Integrity ProtectionWhether SIP is enabled (disabled SIP is a red flag)
GatekeeperWhether Gatekeeper is enforcing app signing
FileVaultWhether disk encryption is active

Interpreting Results

Guide the user using these thresholds:

Green (normal)

  • SIP enabled, Gatekeeper on, FileVault on
  • No unknown kexts
  • No processes in /tmp, /var/folders, or home-directory hidden folders
  • Launch agents all belong to known software the user recognises
  • No unusual Accessibility or Screen Recording permissions

Yellow (worth investigating)

  • Apps with Screen Recording or Accessibility access the user doesn't recognise
  • Launch agents with random-looking names or paths in unusual locations
  • Software installed in the days around the repair that the user didn't install
  • Open ports the user doesn't expect

Red (act now)

  • SIP disabled
  • Unknown kernel extensions
  • Processes actively keylogging (IOHIDFamily hooks from unknown processes)
  • Known malware process names (see scripts/scan.py bad-list)
  • Outbound connections from hidden processes to non-standard IPs

Notes for the Agent

  • Never make the user feel panicked unnecessarily. Many yellow flags are

legitimate (e.g. Logi Options has Accessibility access, Zoom has Screen

Recording). Always say "check whether you recognise this" before calling

something suspicious.

  • If the user asks what a specific process or item is, look it up or explain

it — don't just say "unknown".

  • If the user wants to remove something, do NOT do so automatically. Guide

them to System Settings or explain the manual removal steps. The scan is

read-only; remediation is a separate, deliberate action.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 10:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Tmux

steipete
通过发送按键和抓取窗格输出,远程控制交互式 CLI 的 tmux 会话。
★ 45 📥 29,428
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,511
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,846