huggingface-llm-trainer

Warn

Audited by Socket on Aug 10, 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
Aug 10, 2026, 01:30 PM
Package URL
pkg:socket/skills-sh/the-utopia-studio%2Fskills%2Fhuggingface-llm-trainer%2F@f27bad631faa2605ca0b0aacc3f2306e70465fa785437dd73e507c4f36dd2a4f
Security Audit — socket — huggingface-llm-trainer