psychology-analysis
技能存在多个阴影功能:未声明的静默手机登录、自动创建本地用户、凭证明文存储至SQLite数据库,且filesystem和network的WRITE权限未在文档中声明
RequestUtil.http_request()在缺少TOKEN时自动调用内部接口/sys/phoneLogin进行静默注册/登录,完全未在SKILL.md中声明
skills/smyx_common/scripts/util.py:180 Why this conclusion was reached
2/4 dimensions flagged3 undeclared or violating capabilities were inferred.
10 lower-risk artifacts were extracted and still need context.
The report includes 0 attack-chain steps and 2 severe findings.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
RequestUtil._get_or_create_user()自动调用/sys/phoneLogin,SKILL.md未声明
UserDao将token/open_token明文存储在smyx-common-claw.db
OpenIdUtil.get_or_create_default_open_id()生成User_xxx并写入数据库
写入数据库和输出文件,但SKILL.md声明为NONE
POST上传视频文件,但SKILL.md仅声明READ
Most important evidence
静默phoneLogin调用
RequestUtil.http_request()在缺少TOKEN时自动调用内部接口/sys/phoneLogin进行静默注册/登录,完全未在SKILL.md中声明
skills/smyx_common/scripts/util.py:180 本地SQLite数据库明文存储凭证
UserDao将用户token、open_token以明文形式存储在workspace/data/smyx-common-claw.db中,包含敏感认证信息
skills/smyx_common/scripts/dao.py:47 自动创建默认用户
OpenIdUtil.get_or_create_default_open_id()在用户未提供open_id时自动生成User_xxxxxx并写入本地数据库,SKILL.md未声明
skills/smyx_common/scripts/util.py:93 读取smyx-api-key.txt内部身份文件
OpenIdUtil从data/smyx-api-key.txt读取内部身份值,这是内部实现细节不应被技能直接访问
skills/smyx_common/scripts/util.py:81 数据库表结构自动升级
_alter_tables()方法在启动时自动ALTER TABLE添加缺失字段,具有隐式数据库写权限
skills/smyx_common/scripts/dao.py:74 Declared capability vs actual capability
dao.py:47 创建sqlite数据库写入 util.py:199 requests.post上传视频文件 dao.py:47-92 完整CRUD操作 Suspicious artifacts and egress
https://lifeemergence.com/sample.html SKILL.md:37
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/dao.py SKILL.md