tao-run-inference-service

Pass

Audited by Gen Agent Trust Hub on Nov 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill generates and executes complex shell commands to manage containerized services on local Docker, Brev, Slurm, and Kubernetes platforms. It uses shlex.quote to sanitize user-provided inputs such as model paths and network architectures before interpolation into commands. Evidence includes the job_payload_builder templates in references/code-templates.yaml and the umask 0 prefix applied to container entrypoints.
  • [CREDENTIALS_UNSAFE]: The skill is designed to handle sensitive environment variables including HF_TOKEN, WANDB_API_KEY, and TAO_API_KEY. While it enforces a strict rule in SKILL.md to avoid hardcoding or prompting for these values, opting instead for runtime access via os.environ, the skill still requires access to these secrets for its primary function of model inference.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection by processing external data.
  • Ingestion points: User-provided prompts and media URIs (HTTP or data URIs) are ingested during inference requests (Section 6.1).
  • Boundary markers: No explicit boundary markers or instruction-ignoring warnings are used when interpolating user content into the inference request body.
  • Capability inventory: The skill uses Bash to start containers and makes network requests via urllib.request or curl to send data to the services (documented in references/code-templates.yaml).
  • Sanitization: The skill uses shlex.quote for shell commands and json.dumps for constructing request bodies, providing protection against command and JSON injection, though not necessarily against the semantic logic of embedded instructions.
  • [EXTERNAL_DOWNLOADS]: The skill resolves and pulls container images from NVIDIA's official registry (nvcr.io) and other specified sources. This behavior is documented in Section 2 of SKILL.md and managed via vendor-provided scripts like resolve_tao_image.py.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 25, 2026, 07:22 AM