扫描报告
72 /100
heycube-setup
HeyCube黑方体个人档案管理服务安装工具
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.
不要安装此技能
Do not deploy. The skill implements extensive undeclared capabilities including permanent hook installation, automatic conversation data collection, and external API communication for behavioral profiling purposes.
攻击链 6 步
◎
入口 Skill installed through legitimate skill install mechanism
SKILL.md:1⬡
提权 Creates persistent hook skills in ~/.agents/skills/
SKILL.md:1⬡
提权 Modifies AGENTS.md to add automatic execution rules for every conversation
SKILL.md:1⬡
提权 On every conversation: sends summary to heifangti.com with user intent classification
assets/hook-skills/get-config.md:45⬡
提权 Stores returned behavioral dimensions in local SQLite profile database
scripts/personal-db.js:42◉
影响 After every conversation: sends another summary and receives instructions to update psychological profile
assets/hook-skills/update-data.md:65安全发现 5 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Undeclared persistent hook installation 文档欺骗 | SKILL.md:1 |
| 高危 | Systematic conversation data collection to external API 数据外泄 | assets/hook-skills/get-config.md:50 |
| 高危 | Psychological profile data storage and retrieval 敏感访问 | scripts/personal-db.js:1 |
| 中危 | Modifies core agent configuration files 权限提升 | SKILL.md:1 |
| 中危 | Dependency version not pinned 供应链 | scripts/package.json:4 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | SKILL.md:Creates dirs at ~/.agents/skills/, writes scripts/personal-db.js, modif… |
| 网络访问 | NONE | WRITE | ✗ 越权 | get-config.md:50-53, update-data.md:70-73:POSTs to https://heifangti.com/api/api… |
| 命令执行 | NONE | WRITE | ✗ 越权 | SKILL.md:Execute cd...&&node commands for npm install and database operations |
| 数据库 | NONE | WRITE | ✗ 越权 | scripts/personal-db.js:Full SQLite CRUD operations for psychological profile sto… |
2 项发现
中危 外部 URL 外部 URL
https://heifangti.com/api/api/v1/heifangti SKILL.md:67 中危 外部 URL 外部 URL
https://heifangti.com SKILL.md:132 目录结构
5 文件 · 15.9 KB · 487 行 Markdown 3f · 383L
JavaScript 1f · 99L
JSON 1f · 5L
├─
▾
assets
│ └─
▾
hook-skills
│ ├─
get-config.md
Markdown
│ └─
update-data.md
Markdown
├─
▾
scripts
│ ├─
package.json
JSON
│ └─
personal-db.js
JavaScript
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
better-sqlite3 | ^12.6.2 | npm | 否 | Version not pinned - allows any compatible version |
安全亮点
✓ Includes privacy principle documentation (脱敏规则) for sending summaries
✓ Provides opt-out mechanism via .heycube-off file
✓ API_KEY is user-provided, not harvested from environment
✓ Errors do not block main conversation flow