tao-finetune-huggingface-model

Pass

Audited by Gen Agent Trust Hub on Nov 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes Docker commands on the host to manage training containers, including building images and running detached jobs with GPU access.
  • Evidence: SKILL.md and references/docker-runs.md detail docker build and docker run --gpus all commands used throughout the workflow.
  • [DYNAMIC_EXECUTION]: The skill generates multiple Python scripts (e.g., train.py, prepare_data.py) and a Dockerfile at runtime, populating them with logic derived from templates and external research.
  • Evidence: references/workflow-generate-train.md describes Phase 4, where the agent writes the project files and builds a custom Docker image to execute them.
  • [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it ingests and processes untrusted external data from model cards and GitHub repositories during its research phase.
  • Ingestion points: references/research-priorities.md instructs the agent to fetch model cards from huggingface.co and example scripts from raw.githubusercontent.com/huggingface/transformers.
  • Boundary markers: The instructions prioritize extraction of technical recipes, but do not explicitly use delimiters for the fetched content.
  • Capability inventory: The skill can execute generated code via Docker and write files to the host.
  • Sanitization: The workflow includes a 1-step "smoke test" in a container to validate the generated scripts before full execution.
  • [EXTERNAL_DOWNLOADS]: The skill fetches configuration and example scripts from HuggingFace's official GitHub repository and downloads Docker images from the NVIDIA NGC registry.
  • Evidence: references/research-priorities.md lists official HuggingFace documentation and repository URLs as primary sources for training recipes.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 25, 2026, 01:57 PM