huggingface-llm-trainer

Warn

Audited by Socket on Sep 9, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/convert_to_gguf.py

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.

Confidence: 72%Severity: 66%
Audit Metadata
Analyzed At
Sep 9, 2026, 03:57 AM
Package URL
pkg:socket/skills-sh/practicalswan%2Fagent-skills%2Fhuggingface-llm-trainer%2F@84a2f2b096d65e2fc297e6dd50f24a32b0acbbced442bc62f0a2b19007dfc3f9
Security Audit — socket — huggingface-llm-trainer