auto-skill-hunter
技能声称仅需filesystem权限,实际使用network/shell执行未声明操作,包括会话历史读取和外部脚本执行
Why this conclusion was reached
2/4 dimensions flagged4 undeclared or violating capabilities were inferred.
8 lower-risk artifacts were extracted and still need context.
The report includes 6 attack-chain steps and 3 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · claw.json:1
Escalation · src/hunt.js:240
Escalation · src/hunt.js:118
Escalation · src/hunt.js:475
Escalation · src/hunt.js:530
Impact · ../../feishu-evolver-wrapper/report.js:1
What drove the risk score up
fetchJson 访问 clawhub.com API,SKILL.md 未声明
execSync git clone 和 node --self-test,SKILL.md 未声明
读取 SESSIONS_DIR/*.jsonl 暴露用户对话上下文
sendHunterReport 调用 ../../feishu-evolver-wrapper/report.js,行为未知
ensureRunnableShim 动态生成 index.js 和 SKILL.md
Most important evidence
文档未声明网络请求能力
fetchJson 函数访问 clawhub.com API 端点,但 SKILL.md 和 claw.json 均未声明 network 权限
src/hunt.js:240 文档未声明Shell执行能力
installSkill 函数通过 execSync 执行 git clone 和 node --self-test,SKILL.md 未声明 shell 权限
src/hunt.js:475 未声明的会话历史读取
collectRecentUserMessages 读取 agents/main/sessions/*.jsonl,暴露用户近期对话内容
src/hunt.js:118 外部脚本执行能力
sendHunterReport 通过 spawnSync 执行 ../../feishu-evolver-wrapper/report.js,该脚本行为未知且可能外发数据
src/hunt.js:530 git clone 无版本锁定
installSkill 直接克隆 repoUrl,无 commit/tag 锁定,可能引入恶意版本
src/hunt.js:476 动态代码生成与执行
ensureRunnableShim 在安装目录生成 index.js 和 SKILL.md,可植入任意代码
src/hunt.js:355 用户画像和人格状态读取
extractAgentProfileKeywords 和 getPersonalityProfile 读取 USER.md 和 personality_state.json
src/hunt.js:206 Declared capability vs actual capability
src/hunt.js:4-14 读取/写入工作区文件 src/hunt.js:240-255 fetchJson 访问 clawhub.com API src/hunt.js:475-477 execSync git clone src/hunt.js:62-65 读取 SKILL_HUNTER_* 环境变量 src/hunt.js:430-450 安装外部技能到 SKILLS_DIR Suspicious artifacts and egress
https://clawhub.ai/wanng-ide/memory-mesh-core README.md:7
https://clawhub.ai/user/terrycarter1985 skill-card.md:9
https://clawhub.ai/terrycarter1985/skills/wanng-ide-auto-skill-hunter skill-card.md:39
https://clawhub.com/api/v1/skills/trending?limit=30 src/hunt.js:16
https://clawhub.com/api/v1/skills?sort=trending&limit=30 src/hunt.js:17
https://clawhub.com/api/v1/skills?limit=30 src/hunt.js:18
https://clawhub.com/api/v1/skills/search?q= src/hunt.js:22
https://clawhub.com/api/v1/skills?q= src/hunt.js:23
Dependencies and supply chain
There are no structured dependency warnings.
File composition
src/hunt.js README.md skill-card.md