mac-diagnostics-mcp@0.6.0
CAUTIONPublisher claims: "FastMCP server exposing macOS diagnostic scripts as MCP tools" Observed in sandbox: calls pypi.org only, touches nothing outside the project, writes no memory.
Coverage
Server started and answered tools/list.- Tested
- MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
- Not tested
- what the tools do when called with real credentials
Behavior
In our sandbox run on 2026-11-26, [email protected] read no files and called 1 host, and its code names 3 environment variables. Coverage: full.
Files read
None recorded.
Hosts called
- pypi.orgdeclared
Environment variables its code names
MAC_DIAG_STATE_DIR, MCP_APPLY, XDG_STATE_HOME
Names only, read from the code. We never hold a value.
Tools offered
backup_audit, check_network_addons, check_software_updates, inspect_node_packages, investigate_battery, investigate_cpu_memory, investigate_crashes, investigate_disk, investigate_network, investigate_sleep, investigate_startup_items, list_mcp_servers, quick_health_check, security_audit, storage_breakdown, triage, update_node_packages, wifi_quality
Changes since the prior version
No prior version with a result to compare.
What we did not test
- what the tools do when called with real credentials
| Run date | 2026-11-26 |
| Coverage | full |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try mac-diagnostics-mcp |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso apple.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · reached only pypi.org
- What we could not test
- what the tools do when called with real credentials
Connect it under the guard; read the third-party hosts first. The code names apple.com as well as its own vendor. The guard pins the network to the hosts the honeypot saw.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-26 and scored it 74/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Privileged sudo command. Summary: calls pypi.org only, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 42 s · 2 scenariosStatic findings
sudo powermetrics --samplers smc,battery -n 1Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# exact sudo command for manual use — the script itself never sudo's.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- If backup stalls: sudo tmutil stopbackup && sudo tmutil startbackupFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo purge (clears disk cache — not harmful, temporary)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# and set -e would kill the script (happens on machines with noFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.traffic log) is reported with the manual sudo command instead. TheFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.print("No npx servers found.")Fix: Pin versions and sources; vendor anything fetched at install time.section "Health check: npx servers"Fix: Pin versions and sources; vendor anything fetched at install time.sudo littlesnitch export-model ~/ls-model.json # full JSON backupFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# du gets a per-directory timeout: one slow directory must not kill theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.up = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# .ips (JSON) crash reports, JetsamEvent-*.ips kill reports, andFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo pmset restoredefaultsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.print(f"npx binary: {npx_path or 'NOT FOUND'}")Fix: Pin versions and sources; vendor anything fetched at install time.sudo littlesnitch log-traffic # recent connectionsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.(CRIT only inside the window), JetsamEvent memory-pressure kill filesFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.finding --suggest "investigate_cpu_memory(since=1h)" WARN memory "${oom} memory-pressure kill report(s) (JetsamEvent files) in the last ${SINCE}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo killall -HUP mDNSResponderFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.finding INFO addons "Little Snitch rules/traffic-log export is root-gated — run manually: sudo littlesnitch export-model ~/ls-model.json"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Flush: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Even the post-kill communicate() can itself hang (e.g. aFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.(python-venv / npx / uvx / docker / ssh), command, args, and whether keyFix: Pin versions and sources; vendor anything fetched at install time.- JetsamEvent-*.ips files are the on-disk evidence — one per killFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.npx server not working:Fix: Pin versions and sources; vendor anything fetched at install time.sudo littlesnitch list-preferences # incl. DNS encryptionFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Fix: sudo networksetup -setdnsservers Wi-Fi 1.1.1.1 8.8.8.8Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Note: without sudo this sees only the current user's processes — rootFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "Running: npx health checks" >&2Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for mac-diagnostics-mcp@0.6.0 as of 3d ago. This is the package itself, not its dependencies.
What would make this Verified
6 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim docdyhr: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.