grinders-farm
The skill contains severe doc deception with start.sh implementing completely unrelated infrastructure code (Docker scheduler, tiny_sage) hidden from SKILL.md, plus undeclared shell execution that contradicts documentation claims of 'no shell/exec'.
start.sh implements Docker scheduler infrastructure with tiny_sage, cloudbuild paths, and unrelated integrations - nothing to do with farming
start.sh:1 为什么得出这个结论
2/4 个维度触发发现 2 项声明之外的能力或越权行为。
当前没有明显的高危外联或执行信号。
报告包含 4 步攻击链,另有 2 项高危或严重发现。
发现 3 项需要关注的依赖或供应链线索。
攻击链
初始入口 · SKILL.md:1
delivery · start.sh:1
权限提升 · src/index.ts:58
权限提升 · src/index.ts:42
风险分是怎么被拉高的
start.sh contains unrelated code for Docker scheduler, tiny_sage, cloudbuild - completely different from farming game described in SKILL.md
SKILL.md states '不用 shell/exec/cargo 等其它执行路径' but code uses spawnSync/spawn for openclaw, npx tsx, ps commands
Multiple files use spawnSync to execute external binaries without documentation
listRunningAutoWorkerPids() runs 'ps' command to enumerate processes
最关键的证据
start.sh contains completely unrelated code
start.sh implements Docker scheduler infrastructure with tiny_sage, cloudbuild paths, and unrelated integrations - nothing to do with farming
start.sh:1 SKILL.md claims no shell execution but code violates this
SKILL.md explicitly states '不用 shell/exec/cargo 等其它执行路径' but src/index.ts, openclaw-push.ts, and openclaw-plugin/index.ts use spawnSync/spawn
SKILL.md:6 Undeclared subprocess execution via npx tsx
Code spawns 'npx tsx' processes to run TypeScript workers without documentation
src/index.ts:58 Process enumeration via ps command
listRunningAutoWorkerPids() runs 'ps -Ao pid,command' to enumerate processes
src/index.ts:42 Access to home directory for config files
Skill reads/writes to ~/.grinders-farm/ directory
src/storage/local-storage.ts:20 声明能力 vs 实际能力
SKILL.md declares no exec, but src/index.ts:58 spawns processes SKILL.md explicitly says '不用 shell/exec' but multiple files use spawn/spawnSync openclaw-push.ts sends messages via openclaw CLI 可疑产物与外联
没有提取到明显 IOC。
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| @napi-rs/canvas | ^0.1.97 | npm | 否 | Image rendering library, version not pinned |
| tsx | ^4.21.0 | npm devDependency | 否 | TypeScript executor, version not pinned |
| typescript | ^5.9.3 | npm devDependency | 否 | TypeScript compiler, version not pinned |
文件构成
src/storage/local-storage.ts