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> |
||
|---|---|---|
| .. | ||
| cache | ||
| asr.py | ||
| audioRateController.py | ||
| auth.py | ||
| context_provider.py | ||
| current_time.py | ||
| dialogue.py | ||
| gc_manager.py | ||
| intent.py | ||
| llm.py | ||
| memory.py | ||
| modules_initialize.py | ||
| opus_encoder_utils.py | ||
| output_counter.py | ||
| p3.py | ||
| prompt_manager.py | ||
| textUtils.py | ||
| tts.py | ||
| util.py | ||
| vad.py | ||
| vllm.py | ||
| voiceprint_provider.py | ||
| wakeup_word.py | ||