fire-detection-analysis
火情烟雾检测技能为合法AI分析工具,具有完整的文档说明,但存在注释掉的subprocess代码和依赖无版本锁定等轻微瑕疵。
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
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
skills/smyx_common/scripts/skill.py中存在被注释的subprocess.run调用,未实际执行
skills/smyx_analysis/requirements.txt中requests>=2.28.0使用范围版本
skills/smyx_common/scripts/dao.py使用SQLite存储用户身份信息,用于身份持久化
Most important evidence
依赖包版本未锁定
requirements.txt中使用范围版本指定依赖(如requests>=2.28.0),可能导致安装不同版本引入潜在风险
skills/smyx_analysis/requirements.txt:1 注释掉的subprocess代码
skills/smyx_common/scripts/skill.py中存在被注释的subprocess.run调用(ai_chat方法),虽未实际执行但属于阴影功能
skills/smyx_common/scripts/skill.py:30 本地数据库存储用户身份
使用SQLite本地数据库存储用户token、open_token等凭证信息,用于身份持久化和复用
skills/smyx_common/scripts/dao.py:1 声明权限与实际能力存在差异
SKILL.md未声明本地数据库写入能力和结果文件输出能力,但代码实际使用了这些功能
scripts/fire_detection_analysis.py:66 Declared capability vs actual capability
skills/smyx_analysis/scripts/skill.py:91-97 文件读取 scripts/fire_detection_analysis.py:66 本地文件写入用于结果保存 skills/smyx_common/scripts/util.py:305-314 HTTP请求到API端点 skills/smyx_common/scripts/skill.py:30-45 subprocess代码被注释 skills/smyx_common/scripts/dao.py:1-10 SQLite用户数据库 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 | 无版本锁定,建议锁定具体版本 |
| pydash | 8.0.6 | pip | No | 版本已锁定 |
| SQLAlchemy | 2.0.46 | pip | No | 版本已锁定 |
| yaml | 6.0.3 | pip | No | 版本已锁定 |
File composition
skills/smyx_common/scripts/dao.py SKILL.md scripts/fire_detection_analysis.py skills/smyx_common/scripts/skill.py