mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
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> |
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||