Scan Report
This report was generated in Chinese. Some content may be in Chinese.
20 /100
china-stock-sentiment
A 股舆情分析 + 百度热搜 + 新闻情感分析技能
该技能为合法的 A 股舆情分析工具,存在轻微的文档-行为差异(未声明的 subprocess 调用),但用途合理且无恶意行为。
Safe to install
建议在 SKILL.md 中补充声明使用 subprocess 调用其他技能的能力,其余功能正常。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | subprocess 调用未在文档中声明 Doc Mismatch | index.js:58 |
| Info | 开发状态与代码不完全匹配 Doc Mismatch | index.js:15 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ/WRITE | WRITE | ✓ Aligned | SKILL.md 声明存储到 memory/stock-sentiment/,index.js:138 fs.writeFileSync 实现了文件写入 |
| Shell | NONE | READ | ✗ Violation | index.js:58 execSync('openclaw skill run baidu-hot-cn') 调用子进程,但未在 SKILL.md 声明 |
| Network | READ | NONE | ✓ Aligned | SKILL.md 声明使用 web_fetch/web_search,但代码中未实现实际网络请求 |
2 findings
Medium External URL 外部 URL
https://clawhub.ai/skills/china-stock-sentiment/docs README.md:87 Info Email 邮箱地址
[email protected] README.md:85 File Tree
3 files · 11.5 KB · 454 lines Markdown 2f · 232L
JavaScript 1f · 222L
├─
index.js
JavaScript
├─
README.md
Markdown
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
Node.js standard library only | N/A | bundled | No | 仅使用 fs, path, child_process 内置模块 |
Security Positives
✓ 无外部依赖,仅使用 Node.js 标准库 (fs, path, child_process),降低了供应链风险
✓ 未发现凭证收割、敏感文件访问、base64 编码等高危模式
✓ 情感分析为简单关键词匹配,无复杂恶意逻辑
✓ 文件写入路径固定在 memory/stock-sentiment/ 目录内,范围可控
✓ execSync 调用的命令是封闭的工具接口 (openclaw skill run),非任意 shell 命令