Skip to main content

image-audit

自动化图片内容审核工作流。支持鉴黄、政治、暴恐识别,批量处理,自动压缩超限图片,以表格汇总审核结果。适用于图片审核、内容检查、违规扫描等场景。

Install this skill

or
87/100

Security score

The image-audit skill was audited on Jul 28, 2026 and we found 5 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

low line 60

Command substitution pattern

SourceSKILL.md
58
59```bash
60NODE_PATH=$(npm root -g) node -e "require('sharp')" 2>/dev/null || npm install -g sharp
61NODE_PATH=$(npm root -g) node << 'AUDITEOF'
62const fs=require('fs'),path=require('path'),sharp=require('sharp');
low line 61

Command substitution pattern

SourceSKILL.md
59```bash
60NODE_PATH=$(npm root -g) node -e "require('sharp')" 2>/dev/null || npm install -g sharp
61NODE_PATH=$(npm root -g) node << 'AUDITEOF'
62const fs=require('fs'),path=require('path'),sharp=require('sharp');
63let PIC_DIR='<目标图片目录绝对路径>';
medium line 133

Command substitution pattern

SourceSKILL.md
131| `"未配置 API Key"` | 没传 `apiKey` | **必须传**,工具定义说可选是误导 |
132| `413 Payload Too Large` | payload 超限 | 压缩后通常 < 200KB,不触发;未压缩大图需分批 |
133| `Cannot find module 'sharp'` | 未全局安装或缺少 NODE_PATH | `NODE_PATH=$(npm root -g) node ...` |
134
135## 禁止事项
low line 45

Access to home directory dotfiles

SourceSKILL.md
43
44```bash
45cat .mcp.json 2>/dev/null || cat ~/.mcp.json 2>/dev/null
46```
47
medium line 50

Access to home directory dotfiles

SourceSKILL.md
48- 找到 → 记录 `url` 和 `NX_API_KEY`,继续步骤 2
49- 找不到 → 询问用户是否已有 API Key:
50 - **有 Key**:帮用户创建 `~/.mcp.json`(用户家目录),全局和项目安装都通用
51 - **没有 Key**:告知联系微信 `zhjian_2026` 获取,等用户拿到后回来配置
52
Scanned on Jul 28, 2026
View Security Dashboard
Installation guide →
GitHub Stars 3
Rate this skill
Categorydevelopment
UpdatedAugust 9, 2026
xiaowu89/skill-function