llm-fine-tuning
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell commands and Python scripts to configure and run training jobs.
- Runs
pip installto manage the local Python environment and install training frameworks. - Executes inline Python scripts using `python
- <<'EOF'` to define model configurations and training loops for QLoRA and DPO.
- Launches multi-GPU training processes using
accelerate launchanddeepspeedCLI tools. - Defines a Kubernetes
Jobresource to orchestrate containerized training on A100/H100 clusters. - [EXTERNAL_DOWNLOADS]: The skill fetches software dependencies and model weights from well-known repositories.
- Downloads core machine learning libraries (e.g.,
transformers,peft,bitsandbytes) from PyPI. - Retrieves base LLM weights from Meta's official Hugging Face Hub repositories (e.g.,
meta-llama/Llama-3.1-8B-Instruct). - Pulls standard training container images from NVIDIA's official registry (
nvcr.io). - [INDIRECT_PROMPT_INJECTION]: The skill represents an ingestion surface for untrusted external data during the training phase.
- Ingestion points: Uses
datasets.load_datasetto pull training and preference data from external sources. - Boundary markers: No explicit instructions or markers are used to separate training data from training logic in the scripts.
- Capability inventory: Can execute Python code, run shell commands, and interact with Kubernetes APIs.
- Sanitization: No input validation or content filtering is performed on the ingested datasets before processing.
Audit Metadata