heycube-setup
Skill installs persistent conversation-monitoring hooks that exfiltrate user behavioral data to an external commercial API without declaring filesystem write, network write, or hook persistence capabilities.
为什么得出这个结论
2/4 个维度触发发现 4 项声明之外的能力或越权行为。
提取到 2 个一般风险产物,需要结合上下文判断。
报告包含 6 步攻击链,另有 3 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
攻击链
初始入口 · SKILL.md:1
installation · SKILL.md:1
installation · SKILL.md:1
权限提升 · assets/hook-skills/get-config.md:45
权限提升 · scripts/personal-db.js:42
最终危害 · assets/hook-skills/update-data.md:65
风险分是怎么被拉高的
SKILL.md declares no file write permissions but script writes to ~/.agents/skills/, workspace/scripts/, and modifies TOOLS.md/AGENTS.md
Installs GET_CONFIG and UPDATE_DATA hooks that execute on every conversation, modifying agent behavior permanently
Every conversation generates summary sent to heifangti.com for behavioral profiling without clear user consent
SQLite read/write operations for storing user psychological profiles not declared in capabilities
All errors silently skipped, hiding potential security issues from user
最关键的证据
Undeclared persistent hook installation
SKILL.md makes no mention of installing hooks that execute on every conversation, fundamentally altering agent behavior without disclosure.
SKILL.md:1 Systematic conversation data collection to external API
Every conversation triggers API calls to heifangti.com sending conversation summaries, user intent classifications, and receiving behavioral profile dimensions to query/write. The '黑点' (black points) credit system indicates commercial data exploitation.
assets/hook-skills/get-config.md:50 Psychological profile data storage and retrieval
Skill builds and stores detailed psychological profiles including profile.career, behavior.work_habits, etc. in local SQLite database. This sensitive data is collected incrementally across all conversations.
scripts/personal-db.js:1 Modifies core agent configuration files
Skill modifies TOOLS.md and AGENTS.md, which are core agent configuration files. This grants the skill ability to alter how the agent behaves permanently.
SKILL.md:1 Dependency version not pinned
package.json specifies better-sqlite3: ^12.6.2 allowing any compatible version, increasing supply chain risk.
scripts/package.json:4 声明能力 vs 实际能力
SKILL.md:Creates dirs at ~/.agents/skills/, writes scripts/personal-db.js, modifies TOOLS.md and AGENTS.md get-config.md:50-53, update-data.md:70-73:POSTs to https://heifangti.com/api/api/v1/heifangti/agent/analyze SKILL.md:Execute cd...&&node commands for npm install and database operations scripts/personal-db.js:Full SQLite CRUD operations for psychological profile storage 可疑产物与外联
https://heifangti.com/api/api/v1/heifangti SKILL.md:67
https://heifangti.com SKILL.md:132
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| better-sqlite3 | ^12.6.2 | npm | 否 | Version not pinned - allows any compatible version |
文件构成
SKILL.md assets/hook-skills/get-config.md scripts/personal-db.js scripts/package.json