plant-wilting-monitoring-analysis
这是一个合法的植物枯萎监测分析技能,功能正常但存在配置文件暴露API凭证和环境变量读取行为的安全瑕疵。
为什么得出这个结论
0/4 个维度触发声明资源与推断能力基本一致。
提取到 12 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
依赖结构存在,但暂未看到明显高危告警。
风险分是怎么被拉高的
config.yaml包含App-ID、飞书App-ID等配置
ConstantEnum.init()读取OPENCLAW_SENDER_OPEN_ID等环境变量
requirements.txt中pydash、SQLAlchemy、PyYAML均无版本锁定
最关键的证据
配置文件包含API凭证
skills/smyx_common/scripts/config.yaml 包含 App-ID (x1a3s4nwy1s2r4se)、飞书App-ID (cli_a93d769369badcb1) 等配置信息
skills/smyx_common/scripts/config.yaml:1 读取环境变量获取用户标识
ConstantEnum.init() 从环境变量读取 OPENCLAW_SENDER_OPEN_ID、OPENCLAW_SENDER_USERNAME、FEISHU_OPEN_ID 用于身份关联
skills/smyx_common/scripts/config.py:96 依赖包版本未锁定
requirements.txt 中 pydash==8.0.6、SQLAlchemy==2.0.46、PyYAML==6.0.3 使用精确版本,但 skills/smyx_analysis/requirements.txt 中使用了 == 锁定版本
skills/smyx_analysis/requirements.txt:1 本地数据库存储用户信息
使用SQLite本地数据库 (smyx-common-claw.db) 存储用户token、open_token等敏感信息
skills/smyx_common/scripts/dao.py:85 声明能力 vs 实际能力
scripts/plant_wilting_monitoring_analysis.py:61 写入输出文件 RequestUtil.http_request() 仅调用外部API 未发现subprocess/popen调用 skills/smyx_common/scripts/config.py:96-103 读取OPENCLAW_SENDER_OPEN_ID等 可疑产物与外联
https://lifeemergence.com/sample.html SKILL.md:35
https://clawhub.ai/user/smyx-sunjinhui skill-card.md:9
https://clawhub.ai/smyx-sunjinhui/skills/smyx-plant-wilting-monitoring-analysis skill-card.md:39
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
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| pydash | 8.0.6 | pip | 否 | 精确版本锁定 |
| SQLAlchemy | 2.0.46 | pip | 否 | 精确版本锁定 |
| yaml (PyYAML) | 6.0.3 | pip | 否 | 包名不标准(应为PyYAML),但版本已锁定 |
文件构成
skills/smyx_common/scripts/config.py skills/smyx_common/scripts/dao.py SKILL.md skill-card.md