lora-training-2026

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill downloads standard machine learning libraries, including transformers, peft, trl, and bitsandbytes, from official package registries. It also installs the unsloth library directly from its official GitHub repository (github.com/unslothai/unsloth.git). These are well-known resources within the AI research community.
  • [COMMAND_EXECUTION]: Several scripts utilize subprocess calls to perform essential tasks such as hardware detection (nvidia-smi, sysctl), remote environment synchronization (ssh, rsync), and cloud-based training orchestration (modal). These operations are consistent with the skill's primary purpose of facilitating model training across various local and cloud environments.
  • [DYNAMIC_EXECUTION]: The skill supports the trust_remote_code parameter when loading models from Hugging Face. This feature allows the execution of arbitrary modeling code provided by a model's author. The implementation correctly defaults this to false and includes explicit documentation warnings (e.g., in scripts/train_lora.py and assets/run.example.yaml) about the risks of enabling it.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of training datasets.
  • Ingestion points: Datasets in JSONL format are loaded in scripts/prepare_dataset.py, scripts/visualize_dataset.py, and scripts/train_lora.py.
  • Boundary markers: The skill expects structured data and includes logic in scripts/prepare_dataset.py to detect and warn about "chat-template residue" or potential label leakage.
  • Capability inventory: The skill has the capability to execute shell commands via subprocess.run and perform model training/inference via torch and transformers.
  • Sanitization: While the scripts validate JSON structure and verify that assistant responses are properly formatted, they do not sanitize the natural language content of the training data itself, which is a standard characteristic of fine-tuning tools.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 01:56 AM