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.
Why this conclusion was reached
2/4 dimensions flagged4 undeclared or violating capabilities were inferred.
2 lower-risk artifacts were extracted and still need context.
The report includes 6 attack-chain steps and 3 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:1
installation · SKILL.md:1
installation · SKILL.md:1
Escalation · assets/hook-skills/get-config.md:45
Escalation · scripts/personal-db.js:42
Impact · assets/hook-skills/update-data.md:65
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
https://heifangti.com/api/api/v1/heifangti SKILL.md:67
https://heifangti.com SKILL.md:132
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| better-sqlite3 | ^12.6.2 | npm | No | Version not pinned - allows any compatible version |
File composition
SKILL.md assets/hook-skills/get-config.md scripts/personal-db.js scripts/package.json