xiaozhi-esp32-server/main/xiaozhi-server/core
tuanaiseo d77f12db31 fix(security): dynamic module loading uses unsanitized class name
Multiple factory helpers build import paths from `class_name` and only gate with `os.path.exists(...)`. If `class_name` can be influenced by configuration or user-controlled input, an attacker may load unintended modules or traverse paths, resulting in arbitrary code execution through import side effects.

Affected files: llm.py

Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com>
2026-04-08 06:32:40 +07:00
..
api add:测试页面增加拍照识物功能 2026-02-02 15:08:24 +08:00
handle Merge pull request #3060 from xinnan-tech/py_test_end 2026-04-03 17:31:56 +08:00
providers Merge pull request #3060 from xinnan-tech/py_test_end 2026-04-03 17:31:56 +08:00
utils fix(security): dynamic module loading uses unsanitized class name 2026-04-08 06:32:40 +07:00
auth.py update: 2025-10-13 17:52:28 +08:00
connection.py 补充sql,增加错误详情上报 2026-04-01 14:32:47 +08:00
http_server.py update:从vision_url配置里读取域名和端口号 2025-12-18 17:37:20 +08:00
websocket_server.py feat: 为多个模块添加类型注解以增强代码可读性 2026-01-25 17:47:52 +08:00