Trust Assessment
huggingface-llm-trainer received a trust score of 0/100, placing it in the Untrusted category. This skill has significant security findings that require attention before use in production.
SkillShield's automated analysis identified 11 findings: 4 critical, 5 high, 2 medium, and 0 low severity. Key findings include Arbitrary command execution, Dangerous call: subprocess.run(), Suspicious import: urllib.request.
The analysis covered 4 layers: Manifest Analysis, Static Code Analysis, Dependency Graph, LLM Behavioral Safety. The Manifest Analysis layer scored lowest at 0/100, indicating areas for improvement.
Last analyzed on October 1, 2026 (commit 80f9fa53). SkillShield performs automated 4-layer security analysis on AI skills and MCP servers.
Layer Breakdown
Behavioral Risk Signals
Security Findings11
| Severity | Finding | Layer | Location | |
|---|---|---|---|---|
| CRITICAL | Arbitrary command execution Python shell execution (os.system, subprocess) Review all shell execution calls. Ensure commands are static (not built from user input), use absolute paths, and are strictly necessary. Prefer library APIs over shell commands. | Manifest | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:55 | |
| CRITICAL | Arbitrary command execution Python shell execution (os.system, subprocess) Review all shell execution calls. Ensure commands are static (not built from user input), use absolute paths, and are strictly necessary. Prefer library APIs over shell commands. | Manifest | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:63 | |
| CRITICAL | Arbitrary command execution Python shell execution (os.system, subprocess) Review all shell execution calls. Ensure commands are static (not built from user input), use absolute paths, and are strictly necessary. Prefer library APIs over shell commands. | Manifest | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:64 | |
| CRITICAL | Arbitrary command execution Python shell execution (os.system, subprocess) Review all shell execution calls. Ensure commands are static (not built from user input), use absolute paths, and are strictly necessary. Prefer library APIs over shell commands. | Manifest | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:81 | |
| HIGH | Dangerous call: subprocess.run() Call to 'subprocess.run()' detected in function 'run_command'. This can execute arbitrary code. Avoid using dangerous functions like exec/eval/os.system. Use safer alternatives. | Static | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:81 | |
| HIGH | Dangerous call: subprocess.run() Call to 'subprocess.run()' detected in function 'check_system_dependencies'. This can execute arbitrary code. Avoid using dangerous functions like exec/eval/os.system. Use safer alternatives. | Static | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:55 | |
| HIGH | Dangerous call: subprocess.run() Call to 'subprocess.run()' detected in function 'check_system_dependencies'. This can execute arbitrary code. Avoid using dangerous functions like exec/eval/os.system. Use safer alternatives. | Static | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:63 | |
| HIGH | Dangerous call: subprocess.run() Call to 'subprocess.run()' detected in function 'check_system_dependencies'. This can execute arbitrary code. Avoid using dangerous functions like exec/eval/os.system. Use safer alternatives. | Static | skills/huggingface-llm-trainer/scripts/convert_to_gguf.py:64 | |
| HIGH | Arbitrary Code Execution via trust_remote_code=True The script loads a user-specified base model and adapter model from Hugging Face Hub with `trust_remote_code=True`. If an attacker can control the `BASE_MODEL` or `ADAPTER_MODEL` environment variables, they can supply a malicious model repository containing custom code (e.g., in `modeling.py` or `configuration.py`) which will be automatically executed on the host system during model loading. Avoid setting `trust_remote_code=True` when loading models from untrusted or user-controlled sources. If custom code is required, validate the model repository or require explicit user confirmation before execution. | LLM | scripts/convert_to_gguf.py:114 | |
| MEDIUM | Suspicious import: urllib.request Import of 'urllib.request' detected. This module provides network or low-level system access. Verify this import is necessary. Network and system modules in skill code may indicate data exfiltration. | Static | skills/huggingface-llm-trainer/scripts/dataset_inspector.py:24 | |
| MEDIUM | Suspicious import: urllib.request Import of 'urllib.request' detected. This module provides network or low-level system access. Verify this import is necessary. Network and system modules in skill code may indicate data exfiltration. | Static | skills/huggingface-llm-trainer/scripts/hf_benchmarks.py:27 |
Scan History
Embed Code
[](https://skillshield.io/report/8f567a10a6aba17f)
Powered by SkillShield