smart-image-loader

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

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.

ConcernMedium Confidence
ASI02: Tool Misuse and Exploitation
What this means

A maliciously crafted image path or URL could potentially cause the agent to run an unintended shell command or delete more than the intended temporary file, depending on how the exec tool executes the command.

Why it was flagged

The workflow tells the agent to run shell-style commands using image URLs/paths and then remove a returned path. Because those values can be influenced by the user or URL filename, the artifacts should require safe quoting or argv-based execution; otherwise shell metacharacters in a path or URL could be interpreted as commands.

Skill content
Run: `python3 scripts/smart_image_loader.py https://example.com/photo.jpg` ... Use `exec` with `rm <file_path>` for cleanup
Recommendation

Avoid composing shell strings with user-controlled paths. Use argv-safe command execution, quote/escape all paths, validate filenames, and prefer Python-based cleanup such as `os.remove()` on the exact temporary file.

What this means

A very large or non-image response could consume disk or memory or fail later when displayed.

Why it was flagged

The helper downloads arbitrary user-supplied HTTP/HTTPS URLs to a temporary file. This is aligned with the skill’s purpose, but the code does not show size limits or content-type validation.

Skill content
urllib.request.urlretrieve(url, filepath) ... out_file.write(response.read())
Recommendation

Only use trusted image URLs, and consider adding maximum download size, timeout, and content-type checks.

What this means

The skill may not work in environments without Python 3 even though the metadata does not warn about that requirement.

Why it was flagged

The registry metadata declares no required binaries or install step, while the skill documentation instructs running `python3 scripts/smart_image_loader.py`. This appears to be an under-declared runtime dependency rather than hidden behavior.

Skill content
Required binaries (all must exist): none ... Install specifications: No install spec — this is an instruction-only skill.
Recommendation

Declare Python 3 as a required binary or document the runtime requirement clearly in the metadata.