file-batcher-tool

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.

What this means

A user asking to convert images could lose the original files unexpectedly.

Why it was flagged

The conversion command removes the original image after creating the new format. The SKILL.md describes this as image conversion but does not disclose that originals will be deleted.

Skill content
convert "$file" "${file%.*}.$format" && rm "$file" && ((count++))
Recommendation

Disclose that conversion replaces/removes originals, or preserve originals by default. Add an explicit confirmation or dry-run mode before deleting files.

What this means

A mistaken or adversarial size argument could cause unintended filesystem behavior when searching for large files.

Why it was flagged

The user-controlled size value is inserted into a find command without validation or quoting, so malformed input could alter the find expression rather than only set a size threshold.

Skill content
local size="${2:-100M}" ... find "$folder" -type f -size +$size -exec ls -lh {} \;
Recommendation

Parse the --size option correctly, validate it against a strict size pattern, and pass it as a single quoted argument such as -size "+$size".

What this means

The conversion feature may fail until the user installs an external package.

Why it was flagged

The script requires ImageMagick for conversion at runtime, but the registry requirements declare no required binaries.

Skill content
if ! command -v convert &> /dev/null; then ... Install: brew install imagemagick
Recommendation

Declare ImageMagick as an optional or required dependency and advise users to install it only from trusted package managers.