Skills/ClawHub/macos-desktop-control-zhang

macos-desktop-control-zhang@1.5.3

CAUTION· install only

Publisher claims: "macOS 桌面控制工具。截屏、进程管理、系统信息、剪贴板、应用控制。macOS desktop control via native tools (screencapture, ps, AppleScript). 仅支持 macOS。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher asa-zhang · publishing for 229 daysInstalls 969Last detonated 2 h ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 8 of 29 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-19 and scored it 70/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: OS command execution function call detected; Destructive file system command detected; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 4 s · 3 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
0.5sprocessexec /usr/bin/dirname
0.5sprocessexec /usr/bin/chmod
0.5sprocessexec /usr/bin/mkdir
0.5sprocessexec /tmp/ks-detonate-N6vLSw/setup/home/work/acme-api/.claude/skills/macos-desktop-control/scripts/check_permissions.sh
0.5sprocessexec /usr/bin/grep
0.5sprocessinstall script run in the sandbox
1.0sprocessexec /usr/bin/dirname
1.0sprocessexec /usr/bin/chmod
1.0sprocessexec /usr/bin/mkdir
1.0sprocessexec /tmp/ks-detonate-N6vLSw/setup/home/work/acme-api/.claude/skills/macos-desktop-control/scripts/check_permissions.sh
1.0sprocessexec /usr/bin/grep
1.0sprocessbundled script run in the sandbox with no arguments
1.1sprocessbundled script run in the sandbox with no arguments
1.1sprocessexec /usr/bin/dirname
1.1sprocessbundled script run in the sandbox with no arguments
1.3sprocessexec /usr/bin/dirname
1.3sprocessexec /usr/bin/grep
1.3sprocessexec /usr/bin/mkdir
1.3sprocessbundled script run in the sandbox with no arguments
1.5sprocessexited 1: ModuleNotFoundError: No module named 'requests'
1.5sprocessbundled script run in the sandbox with no arguments
1.6sprocessbundled script run in the sandbox with no arguments
1.8sprocessbundled script run in the sandbox with no arguments
2.1sprocessbundled script run in the sandbox with no arguments
2.2sprocessexited 1:
2.2sprocess8 of 29 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
2.2sprocessscript backend runs setup only
2.3sprocessscript backend runs setup only
2.6sprocesssecond launch, clock +45 days, CI unset
3.1sprocessexec /usr/bin/dirname
3.1sprocessexec /usr/bin/chmod
3.1sprocessexec /usr/bin/mkdir
3.1sprocessexec /tmp/ks-detonate-N6vLSw/later/home/work/acme-api/.claude/skills/macos-desktop-control/scripts/check_permissions.sh
3.1sprocessexec /usr/bin/grep
3.9sprocessexec /usr/bin/dirname
3.9sprocessexec /usr/bin/chmod
3.9sprocessexec /usr/bin/mkdir
3.9sprocessexec /tmp/ks-detonate-N6vLSw/later/home/work/acme-api/.claude/skills/macos-desktop-control/scripts/check_permissions.sh
3.9sprocessexec /usr/bin/grep

Static findings

CRITICAL
OS command execution function call detectedscripts/control_memory.py:275 · OS command execution function call detectedos.system(f"python3 {sync_script}")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/check_permissions.sh:53 · Destructive file system command detectedrm -f /tmp/permission_test_check.pngFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/reset_permissions.sh:3 · Privileged sudo command — agent may execute with elevated privileges# 用法:sudo bash reset_permissions.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/reset_permissions.sh:13 · Privileged sudo command — agent may execute with elevated privilegesecho " sudo bash $0"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:328 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/window_snap.sh full '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:323 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/window_snap.sh right '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:309 · Python subprocess execution detectedsubprocess.run(cmd, shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:318 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/window_snap.sh left '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:313 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/screenshot.sh -s", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandscripts/reset_permissions.sh:12 · Privileged sudo command — agent may execute with elevated privilegesecho "❌ 请使用 sudo 运行:"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandscripts/reset_permissions.sh:53 · Privileged sudo command — agent may execute with elevated privilegessudo -u "$SUDO_USER" open "x-apple.systempreferences:com.apple.preference.security"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:333 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/window_snap.sh center '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:368 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/system_info.sh --short", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:389 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/clipboard.sh set \"{text}\"", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/voice_recognition_vosk.py:179 · Python subprocess execution detectedsubprocess.run(["python3", natural_lang_script, text])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/review_system.py:103 · Python subprocess execution detectedresult = subprocess.run(script, shell=True, capture_output=True, text=True, timeout=30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:347 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/app_control.sh close '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:354 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/app_control.sh close '{app}'", shell=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:372 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/processes.sh -g", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:380 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/automation_workflows.sh focus", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:364 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/../../../scripts/qq-send-auto.sh '{buddy}' '{message}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:384 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/automation_workflows.sh cleanup", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/voice_recognition_vosk.py:60 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/operation_search.py:249 · Python subprocess execution detectedresult = subprocess.run(script, shell=True, capture_output=True, text=True, timeout=30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:376 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/automation_workflows.sh morning", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandSKILL.md:171 · File permission modification command — agent changes file ownership/permissionschmod +x scripts/*.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/voice_recognition_vosk.py:82 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:339 · Python subprocess execution detectedsubprocess.run(f"bash {SCRIPT_DIR}/app_control.sh open '{app}'", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/natural_language.py:393 · Python subprocess execution detectedsubprocess.run(f"python3 {SCRIPT_DIR}/desktop_ctrl.py mouse position", shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandSKILL.md:209 · File permission modification command — agent changes file ownership/permissionschmod +x scripts/*.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedscripts/voice_recognition_vosk.py:90 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandscripts/install.sh:43 · File permission modification command — agent changes file ownership/permissionschmod +x "$SCRIPT_DIR"/*.shFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05

Cost to the agent

Instructions loaded
≈1,030 tok
1 file · 60 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

10 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  2. Unclaimed publisher≈ +8 on the totalClaim asa-zhang: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Destructive file system command detected≈ +4 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  4. Privileged sudo command≈ +4 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
  5. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  6. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim asa-zhangPropose a patch to the maintainer