llama-cpp
Audited by Socket on May 12, 2026
1 alert found:
Obfuscated FileNo direct malicious code found in this module (no encoded payloads, reverse shell, credential exfiltration, or eval-based dynamic execution). The primary security concern is supply-chain and execution risk: the script automatically clones and pip-installs code from the llama.cpp GitHub repository and runs conversion binaries/scripts and other CLI tools from PATH. If those external sources are compromised or replaced, arbitrary code execution and data exfiltration are possible. Recommendations: run under least privilege, inspect and pin the llama.cpp commit before allowing automatic clone/install, prefer pre-installed, vetted tools rather than automatic pip installs from clones, verify binaries (checksums/signatures), and validate the behavior of ollama_model_path.sh and other helper scripts before use.