huggingface-llm-trainer
Audited by Socket on Aug 26, 2026
2 alerts found:
Anomalyx2SUSPICIOUS: The skill is largely coherent with its stated Hugging Face training purpose and mainly uses official Hugging Face/Astral/PyPI channels, so it does not look malicious. However, it authorizes autonomous billable job submission, forwards HF_TOKEN into remote job code, and permits execution of mutable remote scripts from GitHub/Gist, making the overall security posture medium risk.
No direct indicators of embedded malware are present in this fragment (it performs model merge → GGUF conversion/quantization → upload). However, the script deliberately creates high-impact supply-chain and remote-code-execution risk by (1) using trust_remote_code=True when loading remote Hugging Face model/tokenizer code and (2) cloning an unpinned llama.cpp repository at runtime, installing its Python requirements via pip, and executing its conversion/quantization tooling. Treat this as a security alert for supply-chain integrity: pin exact revisions, minimize/disable trust_remote_code where possible, and control/validate the environment-provided model identifiers and OUTPUT_REPO.