Skill Trust Decision

smyx-respiratory-rate-abnormal-detect-analysis

宠物呼吸频率监测技能存在多处文档-行为差异,涉及视频数据外传、用户身份静默注册、凭证本地存储等未声明操作,具有中等隐私风险。

Install decision first Source: ClawHub Scanned: 12 days ago
Files 29
Artifacts 10
Violations 4
Findings 7
Most direct threat evidence
High Data Exfil
视频数据静默上传第三方

SKILL.md声明'通过摄像头分析',实际代码将用户视频文件通过HTTP POST上传到https://open.lifeemergence.com/smyx-open-api服务器

skills/smyx_analysis/scripts/skill.py:88

Why this conclusion was reached

2/4 dimensions flagged
Block
Declared vs actual capability

4 undeclared or violating capabilities were inferred.

Review
Hidden execution and egress

10 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 0 attack-chain steps and 3 severe findings.

Review
Dependencies and supply chain hygiene

1 dependency or supply-chain issues need attention.

What drove the risk score up

文档-行为差异:视频外传未声明 +15

SKILL.md声明本地分析,实际代码将视频上传到lifeemergence.com服务器

文档-行为差异:用户身份静默注册 +15

OpenIdUtil在用户不知情时自动创建User_{hash}账号并注册到第三方服务

文档-行为差异:凭证本地存储 +10

未声明SQLite数据库存储用户token、open_token等敏感凭证

敏感路径访问 +5

访问工作区data目录读写配置和凭证

Most important evidence

High Data Exfil

视频数据静默上传第三方

SKILL.md声明'通过摄像头分析',实际代码将用户视频文件通过HTTP POST上传到https://open.lifeemergence.com/smyx-open-api服务器

skills/smyx_analysis/scripts/skill.py:88
在SKILL.md中明确声明视频数据会上传至第三方服务处理
High Doc Mismatch

用户身份静默注册机制

OpenIdUtil.resolve_current_open_id()在用户不知情时自动生成User_xxxx格式的username,并通过/sys/phoneLogin接口静默注册到第三方服务lifeemergence.com

skills/smyx_common/scripts/util.py:237
在SKILL.md中明确声明自动用户创建机制或提供退出选项
High Credential Theft

凭证本地数据库存储

UserDao创建SQLite数据库存储用户token、open_token等敏感凭证,存储路径为工作区data目录

skills/smyx_common/scripts/dao.py:54
评估本地存储凭证的必要性,考虑加密存储或使用系统密钥链
Medium Sensitive Access

环境变量遍历读取

config.py从环境变量读取OPENCLAW_SENDER_OPEN_ID、OPENCLAW_SENDER_USERNAME、FEISHU_OPEN_ID等敏感标识

skills/smyx_common/scripts/config.py:165
审查环境变量读取的必要性,限制敏感变量访问
Medium Doc Mismatch

内部身份参数隐藏

SKILL.md明确说明'不得询问或暴露身份参数',但open_id通过argparse.SUPPRESS隐藏传递,代码中有多处## ARK_CLAW ##注释标记

scripts/smyx_respiratory_rate_abnormal_detect_analysis.py:50
透明化身份参数处理流程
Low Supply Chain

依赖版本部分锁定

smyx_analysis/requirements.txt中requests依赖未指定版本,可能引入恶意版本风险

skills/smyx_analysis/requirements.txt:1
锁定所有依赖版本
Low Supply Chain

硬编码API密钥

config.yaml中硬编码了app-id和tenant-code

skills/smyx_common/scripts/config.yaml:1
使用环境变量或密钥管理服务

Declared capability vs actual capability

Filesystem Block
Declared READ
Inferred WRITE
scripts/smyx_analysis.py:88 写入output文件
Network Block
Declared READ
Inferred WRITE
skills/smyx_common/scripts/util.py:280 上传视频文件到外部API
Environment Block
Declared NONE
Inferred READ
skills/smyx_common/scripts/config.py:165 读取OPENCLAW_SENDER_OPEN_ID等环境变量
Database Block
Declared NONE
Inferred WRITE
skills/smyx_common/scripts/dao.py:54 创建并操作SQLite数据库

Suspicious artifacts and egress

Medium External URL
https://lifeemergence.com/sample.html

SKILL.md:38

Medium External URL
http://192.168.1.234:9601/smyx-open-api

skills/smyx_common/scripts/config-dev.yaml:2

Medium External URL
http://192.168.1.234:4100

skills/smyx_common/scripts/config-dev.yaml:3

Medium External URL
http://192.168.1.234:7070/jeecg-boot-xzgz

skills/smyx_common/scripts/config-dev.yaml:4

Medium External URL
https://livemonitortest.lifeemergence.com/smyx-open-api

skills/smyx_common/scripts/config-test.yaml:2

Medium External URL
http://livemonitortest.lifeemergence.com

skills/smyx_common/scripts/config-test.yaml:3

Medium External URL
https://healthtest.lifeemergence.com/jeecg-boot-xzgz

skills/smyx_common/scripts/config-test.yaml:4

Medium External URL
https://lifeemergence.com/jeecg-boot-xzgz

skills/smyx_common/scripts/config.yaml:4

Medium External URL
https://open.lifeemergence.com/smyx-open-api

skills/smyx_common/scripts/config.yaml:5

Medium External URL
http://livemonitor.lifeemergence.com

skills/smyx_common/scripts/config.yaml:6

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
requests >=2.28.0 pip No 无版本锁定,存在供应链风险
pydash 8.0.6 pip No 版本已锁定
SQLAlchemy 2.0.46 pip No 版本已锁定
yaml 6.0.3 pip No PyYAML版本已锁定

File composition

29 files · 2646 lines
Python 18 files · 2363 linesMarkdown 3 files · 248 linesYAML 6 files · 29 linesText 2 files · 6 lines
Files of concern · 6
skills/smyx_common/scripts/util.py Python · 718 lines
用户身份静默注册机制
skills/smyx_common/scripts/config.py Python · 399 lines
环境变量遍历读取
skills/smyx_common/scripts/dao.py Python · 499 lines
凭证本地数据库存储
SKILL.md Markdown · 209 lines
https://lifeemergence.com/sample.html
skills/smyx_analysis/scripts/skill.py Python · 175 lines
视频数据静默上传第三方
scripts/smyx_respiratory_rate_abnormal_detect_analysis.py Python · 102 lines
内部身份参数隐藏
Other files · smyx_analysis.py · api_service.py · skill.py · api_service.py · config.py · api_doc.md

Security positives

代码结构清晰,模块化设计良好
使用HTTPS进行网络通信
依赖版本大部分已锁定(pydash、SQLAlchemy)
文件大小和格式有校验(10MB限制,支持mp4/avi/mov)
数据库隔离机制(workforce data目录)
debug模式可控制敏感日志输出