Highlights
Code Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/preview-docs.yml: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Code Injection: The project loads Hugging Face model components using from_pretrained. If trust_remote_code is not explicitly set to False in all fallback paths, loading untrusted models can result in arbitrary code execution.
Insecure Deserialization: Using unsafe yaml.load APIs allows arbitrary Python object instantiation from untrusted configuration files. Standardizing on yaml.safe_load is critical for all configuration parsing pathways.
Command Injection: Shell command execution via subprocess APIs using string formatting or shell=True allows command injection. Safe list-based arguments should be strictly enforced.