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.mdandreferences/docker-runs.mddetaildocker buildanddocker run --gpus allcommands used throughout the workflow. - [DYNAMIC_EXECUTION]: The skill generates multiple Python scripts (e.g.,
train.py,prepare_data.py) and aDockerfileat runtime, populating them with logic derived from templates and external research. - Evidence:
references/workflow-generate-train.mddescribes 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.mdinstructs the agent to fetch model cards fromhuggingface.coand example scripts fromraw.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.mdlists official HuggingFace documentation and repository URLs as primary sources for training recipes.
Audit Metadata