Unvalidated Output Injection
- Category
- Output Handling
- Confidence
- 85% confidence
- Finding
Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.
- Content
python import subprocess result = subprocess.run( ["python3", "/path/to/scripts/sdxl_generate.py", "--prompt", "一只狐狸在森林里", "--negative", "模糊, 低质量",
