Scan Report
15 /100
imutils-skill
Batch image processing skill for rotate, resize, translate, and skeletonize operations
A benign image processing skill with undocumented shell execution via execSync, but with limited attack surface due to external CLI dependency and no credential/data exfiltration behavior.
Safe to install
Document the shell:WRITE permission requirement in SKILL.md and add input path sanitization to prevent path traversal attacks. Pin the cli-anything-imutils dependency version.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Medium | SKILL.md does not declare required permissions Doc Mismatch | SKILL.md:1 |
| Low | execSync with unvalidated user input paths RCE | scripts/rotate.js:30 |
| Low | External CLI dependency not declared Supply Chain | SKILL.md:22 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | READ | ✓ Aligned | scripts/rotate.js:30 - execSync reads input image file |
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/rotate.js:30 - execSync writes output image file |
| Shell | NONE | WRITE | ✗ Violation | scripts/rotate.js:3, scripts/resize.js:3, scripts/translate.js:3, scripts/skelet… |
7 findings
Medium External URL 外部 URL
https://img.shields.io/badge/License-MIT-yellow.svg README.md:5 Medium External URL 外部 URL
https://opensource.org/licenses/MIT README.md:5 Medium External URL 外部 URL
https://img.shields.io/github/stars/PyImageSearch/imutils?label=imutils README.md:6 Medium External URL 外部 URL
https://opencv.org/ README.md:112 Medium External URL 外部 URL
https://numpy.org/ README.md:113 Medium External URL 外部 URL
https://docs.opencv.org/ SKILL.md:259 Medium External URL 外部 URL
https://www.pyimagesearch.com/ SKILL.md:260 File Tree
8 files · 16.4 KB · 722 lines Markdown 2f · 451L
JavaScript 4f · 216L
JSON 1f · 29L
Ignore 1f · 26L
├─
▾
scripts
│ ├─
resize.js
JavaScript
│ ├─
rotate.js
JavaScript
│ ├─
skeleton.js
JavaScript
│ └─
translate.js
JavaScript
├─
.gitignore
Ignore
├─
package.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
cli-anything-imutils | not declared | external CLI (must be pre-installed) | No | Dependency not listed in package.json - must be installed separately per SKILL.md instructions |
Security Positives
✓ No credential harvesting or sensitive file access detected
✓ No network requests to external IPs observed
✓ No base64 encoding, eval(), or obfuscation detected
✓ No persistence mechanisms (cron, startup hooks) present
✓ No prompt injection instructions in documentation
✓ Standard image processing tool with clear, documented use case