smyx-aggressive-behavior-detection-analysis
畜禽争斗行为识别技能,包含未激活的 subprocess 远程执行代码(已注释)和环境变量读取逻辑,声明-行为存在偏差但无直接恶意证据。
Why this conclusion was reached
2/4 dimensions flagged4 undeclared or violating capabilities were inferred.
10 lower-risk artifacts were extracted and still need context.
The report includes 4 attack-chain steps and 0 severe findings.
Dependencies are present but no obvious high-risk issue stands out.
Attack Chain
Entry · SKILL.md:1
Escalation · skills/smyx_common/scripts/config.py:77
Escalation · skills/smyx_common/scripts/dao.py:88
Impact · skills/smyx_analysis/scripts/skill.py:85
What drove the risk score up
skills/smyx_common/scripts/skill.py 包含已注释的 subprocess.run(openclaw agent) 调用,虽未激活但代码存在
config.py 读取 OPENCLAW_SENDER_OPEN_ID, OPENCLAW_SENDER_USERNAME, FEISHU_OPEN_ID 等环境变量
OpenIdUtil 自动生成 User_ 前缀用户并通过 /sys/phoneLogin API 注册
Most important evidence
已注释的 subprocess 远程执行代码
skills/smyx_common/scripts/skill.py 中存在已注释的 subprocess.run(['openclaw', 'agent', ...]) 调用,可执行外部命令。虽当前未激活,但代码存在即构成风险。
skills/smyx_common/scripts/skill.py:37 环境变量敏感信息读取
config.py 读取 OPENCLAW_SENDER_OPEN_ID、OPENCLAW_SENDER_USERNAME、FEISHU_OPEN_ID 等环境变量,用于身份解析。未在 SKILL.md 中声明。
skills/smyx_common/scripts/config.py:77 本地 SQLite 数据库存储用户凭证
dao.py 在工作区 data 目录创建 smyx-common-claw.db 数据库,存储 username、token、open_token 等敏感信息。
skills/smyx_common/scripts/dao.py:88 网络能力声明与实际不符
SKILL.md 声明 'analysis requests through server-side API',未明确说明文件上传(HTTP POST with multipart/form-data)和自动注册用户的网络写操作。
SKILL.md:1 自动用户创建机制
OpenIdUtil 在 resolve_current_open_id() 中自动通过 /sys/phoneLogin API 创建用户,可能绕过身份验证流程。
skills/smyx_common/scripts/util.py:298 Declared capability vs actual capability
SKILL.md:脚本仅读取视频文件,无写操作 skills/smyx_common/scripts/util.py:298 通过 HTTP POST 上传文件到 API skills/smyx_common/scripts/skill.py:37 存在已注释的 subprocess.run(openclaw agent) skills/smyx_common/scripts/config.py:77-82 读取 OPENCLAW_SENDER_OPEN_ID 等变量 skills/smyx_common/scripts/dao.py 本地 SQLite 存储用户凭证 Suspicious artifacts and egress
https://lifeemergence.com/sample.html SKILL.md:29
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 |
|---|---|---|---|---|
| pydash | 8.0.6 | pip | No | 版本已锁定 |
| SQLAlchemy | 2.0.46 | pip | No | 版本已锁定 |
| PyYAML | 6.0.3 | pip | No | 版本已锁定 |
File composition
skills/smyx_common/scripts/util.py skills/smyx_common/scripts/config.py skills/smyx_common/scripts/dao.py SKILL.md skills/smyx_common/scripts/skill.py