Scan Report
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 install this skill
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.
Attack Chain 6 steps
◎
Entry Skill installed through legitimate skill install mechanism
SKILL.md:1⬡
Escalation Creates persistent hook skills in ~/.agents/skills/
SKILL.md:1⬡
Escalation Modifies AGENTS.md to add automatic execution rules for every conversation
SKILL.md:1⬡
Escalation On every conversation: sends summary to heifangti.com with user intent classification
assets/hook-skills/get-config.md:45⬡
Escalation Stores returned behavioral dimensions in local SQLite profile database
scripts/personal-db.js:42◉
Impact After every conversation: sends another summary and receives instructions to update psychological profile
assets/hook-skills/update-data.md:65Findings 5 items
| Severity | Finding | Location |
|---|---|---|
| High | Undeclared persistent hook installation Doc Mismatch | SKILL.md:1 |
| High | Systematic conversation data collection to external API Data Exfil | assets/hook-skills/get-config.md:50 |
| High | Psychological profile data storage and retrieval Sensitive Access | scripts/personal-db.js:1 |
| Medium | Modifies core agent configuration files Priv Escalation | SKILL.md:1 |
| Medium | Dependency version not pinned Supply Chain | scripts/package.json:4 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✗ Violation | SKILL.md:Creates dirs at ~/.agents/skills/, writes scripts/personal-db.js, modif… |
| Network | NONE | WRITE | ✗ Violation | get-config.md:50-53, update-data.md:70-73:POSTs to https://heifangti.com/api/api… |
| Shell | NONE | WRITE | ✗ Violation | SKILL.md:Execute cd...&&node commands for npm install and database operations |
| Database | NONE | WRITE | ✗ Violation | scripts/personal-db.js:Full SQLite CRUD operations for psychological profile sto… |
2 findings
Medium External URL 外部 URL
https://heifangti.com/api/api/v1/heifangti SKILL.md:67 Medium External URL 外部 URL
https://heifangti.com SKILL.md:132 File Tree
5 files · 15.9 KB · 487 lines 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
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
better-sqlite3 | ^12.6.2 | npm | No | Version not pinned - allows any compatible version |
Security Positives
✓ 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