wallpaper-auto-switch-pro-executable

WarnAudited by ClawScan on May 18, 2026.

Overview

The skill’s wallpaper and launchd behavior is mostly purpose-aligned, but its path handling can allow unintended local command execution and should be reviewed before use.

Use this only after fixing or reviewing the unsafe path handling. If installed, it will create a user-level launchd task that keeps rotating wallpapers until you run the uninstall script.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A malicious or malformed wallpaper folder path could run unintended commands on the user's Mac.

Why it was flagged

The script uses eval on a user-supplied directory argument when it begins with ~. A crafted path containing shell metacharacters could execute arbitrary shell commands as the current user.

Skill content
if [[ "$input" == ~* ]]; then
    eval "printf '%s' $input"
Recommendation

Remove eval and implement safe tilde expansion, for example only translating exactly '~' or '~/...' to $HOME, and reject paths containing unsafe control characters.

What this means

A specially named image file in the wallpaper folder could cause the wallpaper change command to fail or run unintended AppleScript behavior.

Why it was flagged

The selected file path is interpolated directly into an AppleScript string without escaping. Wallpaper filenames containing quotes or newlines could break the script syntax and potentially inject AppleScript commands.

Skill content
set targetFile to POSIX file "$file"
Recommendation

Pass file paths to osascript through argv or escape AppleScript string values safely before interpolation.

What this means

The skill can keep running after installation to change wallpapers automatically until the LaunchAgent is removed.

Why it was flagged

The install script creates a launchd job that persists and runs automatically on an interval. This is disclosed and aligned with the wallpaper rotation purpose, but users should notice the persistence.

Skill content
<key>StartInterval</key>
  <integer>$((INTERVAL_MINUTES * 60))</integer>
  <key>RunAtLoad</key>
  <true/>
Recommendation

Install the LaunchAgent only if recurring wallpaper changes are desired, and use the provided uninstall script to stop it.

What this means

The skill may not work as installed on some Macs even if the declared gshuf dependency is present.

Why it was flagged

The registry requirements list gshuf, while the script calls shuf. On macOS this mismatch can cause failure or require a local alias/wrapper.

Skill content
printf '%s
' "$list" | shuf -n 1
Recommendation

Update the dependency declaration or script to consistently use the same shuffle binary, and verify required tools before running.