低风险 — 风险评分 15/100
上次扫描:1 天前 重新扫描
15 /100
zhy-markdown2wechat
Converts Markdown to WeChat-compatible inline HTML with theme styles
The skill is a legitimate Markdown-to-WeChat HTML converter with minor documentation gaps but no malicious behavior detected.
技能名称zhy-markdown2wechat
分析耗时32.1s
引擎pi
可以安装
The skill is safe to use. Consider documenting the npm install behavior explicitly in SKILL.md for full transparency.

安全发现 2 项

严重性 安全发现 位置
低危
Shell execution not explicitly declared 文档欺骗
SKILL.md describes node execution but doesn't explicitly mention that child_process.execSync is used for npm package installation. While '零部署' implies this behavior, explicit declaration would improve transparency.
cp.execSync(`npm install ${packageName} --no-save`, { cwd: tempDir, stdio: 'ignore' })
→ Add a note in SKILL.md: 'Script automatically installs marked@4 and juice@8 dependencies to a temp directory using npm install.'
scripts/convert.js:12
低危
Implicit network access for npm packages 供应链
The script downloads marked@4 and juice@8 from npm registry at runtime. While versions are pinned and this is the intended 'zero deployment' feature, network access is not declared.
cp.execSync(`npm install ${packageName} --no-save`
→ Document that network access to npm registry is required for first-time execution.
scripts/convert.js:10
资源类型声明权限推断权限状态证据
文件系统 READ,WRITE READ,WRITE ✓ 一致 SKILL.md declares reading markdown/css and writing output HTML; scripts/convert.…
命令执行 NONE WRITE ✓ 一致 scripts/convert.js line 12 uses child_process.execSync for npm install
网络访问 NONE READ ✓ 一致 npm install implicitly accesses npm registry, documented as '零部署' feature

目录结构

10 文件 · 41.7 KB · 2084 行
CSS 7f · 1956L Markdown 2f · 73L JavaScript 1f · 55L
├─ 📁 resources
│ └─ 📁 themes
│ ├─ 📄 apple.css CSS 212L · 4.4 KB
│ ├─ 📄 blue.css CSS 330L · 5.9 KB
│ ├─ 📄 dark.css CSS 333L · 5.7 KB
│ ├─ 📄 default.css CSS 336L · 6.0 KB
│ ├─ 📄 green.css CSS 330L · 5.9 KB
│ ├─ 📄 notion.css CSS 195L · 3.8 KB
│ └─ 📄 vibrant.css CSS 220L · 4.7 KB
├─ 📁 scripts
│ └─ 📜 convert.js JavaScript 55L · 1.8 KB
├─ 📝 README.md Markdown 35L · 972 B
└─ 📝 SKILL.md Markdown 38L · 2.5 KB

依赖分析 2 项

包名版本来源已知漏洞备注
marked 4 npm (runtime install) Version pinned, installed to temp directory
juice 8 npm (runtime install) Version pinned, installed to temp directory

安全亮点

✓ Dependencies are version-pinned (marked@4, juice@8) preventing supply chain attacks
✓ Temporary directory is cleaned up after execution (finally block)
✓ No credential theft or sensitive file access
✓ No obfuscation or base64-encoded content
✓ No network exfiltration or C2 communication
✓ CSS files are static resources with no dynamic code
✓ Input paths are validated (checks for mdPath and cssPath)
✓ Temp directory created with predictable name in cwd (low impact)