child-emotion-recognition-analysis
合法的儿童情绪识别云分析技能,所有代码执行均为云端 API 调用,subprocess 调用已全部注释禁用,核心逻辑为标准 HTTP 请求。无恶意行为发现,数据库操作用于自身身份管理而非凭证收割。存在依赖声明不完整和文档未披露本地数据库两项轻微瑕疵。
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
10 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
1 dependency or supply-chain issues need attention.
What drove the risk score up
skill 实际使用本地 SQLite (smyx-common-claw.db) 存储用户 token 和身份信息,SKILL.md 未提及,存在阴影功能
SKILL.md 仅声明 requests>=2.28.0,但代码实际依赖 pydash、SQLAlchemy、PyYAML 未写入 requirements.txt,存在 supply_chain 风险
文档声明调用 python -m scripts.child_emotion_recognition_analysis,实际入口脚本位于 skills/smyx_analysis/scripts/smyx_analysis.py,不影响安全但表明文档维护不足
AgentSkill.ai_chat() 中所有 subprocess 调用均为注释状态,为死代码不构成威胁,降低整体评分
Most important evidence
SKILL.md 未声明本地 SQLite 数据库存储
技能使用本地 SQLite 数据库 (smyx-common-claw.db) 存储用户 token、username、open_id 等身份信息,数据库路径强制重定向到工作区 data 目录。SKILL.md 完全未提及此行为。数据库仅用于技能自身身份管理,token 不外传,但属于文档-行为差异。
skills/smyx_common/scripts/dao.py:60 SKILL.md 依赖声明不完整
SKILL.md 前置准备仅列出 requests>=2.28.0,但 skills/smyx_analysis/requirements.txt 和 skills/smyx_common/requirements.txt 中实际还有 pydash==8.0.6、SQLAlchemy==2.0.46、PyYAML==6.0.3。依赖声明不完整可能导致安装遗漏。
SKILL.md:52 requests 依赖使用通配符版本
skills/smyx_analysis/requirements.txt 中 requests 使用通配符 requests>=2.28.0(pydash、SQLAlchemy、PyYAML 则有明确版本锁定),未锁定版本存在引入兼容性问题或安全漏洞的风险。
skills/smyx_analysis/requirements.txt:1 Declared capability vs actual capability
scripts/child_emotion_recognition_analysis.py:58 将结果写入 --output 指定路径,dao.py:60 写入 SQLite 数据库 skills/smyx_common/scripts/util.py:356 仅发送 HTTP POST/GET 请求到 lifeemergence.com,API 端点在 config.yaml 中明确声明 skills/smyx_common/scripts/skill.py:49-73 所有 subprocess 调用均已注释禁用,为死代码 config.py:155 仅读取 OPENCLAW_SENDER_OPEN_ID/OPENCLAW_SENDER_USERNAME/FEISHU_OPEN_ID 用于身份解析,属正常内部参数传递 dao.py:60-80 使用 SQLite 本地数据库存储用户 token,无外部传输,用于自身身份管理 Suspicious artifacts and egress
https://lifeemergence.com/sample.html SKILL.md:33
http://192.168.1.234:9601/smyx-open-api skills/smyx_common/scripts/config-dev.yaml:2
http://192.168.1.234:4100 skills/smyx_common/scripts/config-dev.yaml:3
http://192.168.1.234:7070/jeecg-boot-xzgz skills/smyx_common/scripts/config-dev.yaml:4
https://livemonitortest.lifeemergence.com/smyx-open-api skills/smyx_common/scripts/config-test.yaml:2
http://livemonitortest.lifeemergence.com skills/smyx_common/scripts/config-test.yaml:3
https://healthtest.lifeemergence.com/jeecg-boot-xzgz skills/smyx_common/scripts/config-test.yaml:4
https://lifeemergence.com/jeecg-boot-xzgz skills/smyx_common/scripts/config.yaml:4
https://open.lifeemergence.com/smyx-open-api skills/smyx_common/scripts/config.yaml:5
http://livemonitor.lifeemergence.com skills/smyx_common/scripts/config.yaml:6
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | >=2.28.0 | pip | No | 通配符版本未锁定;仅在 SKILL.md 中声明 |
| pydash | 8.0.6 | pip | No | 在 skills/ 子目录 requirements.txt 中,未在 SKILL.md 声明 |
| SQLAlchemy | 2.0.46 | pip | No | 在 skills/ 子目录 requirements.txt 中,未在 SKILL.md 声明 |
| PyYAML | 6.0.3 | pip | No | 在 skills/ 子目录 requirements.txt 中,未在 SKILL.md 声明 |
File composition
skills/smyx_common/scripts/dao.py SKILL.md