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.quoteto sanitize user-provided inputs such as model paths and network architectures before interpolation into commands. Evidence includes thejob_payload_buildertemplates inreferences/code-templates.yamland theumask 0prefix applied to container entrypoints. - [CREDENTIALS_UNSAFE]: The skill is designed to handle sensitive environment variables including
HF_TOKEN,WANDB_API_KEY, andTAO_API_KEY. While it enforces a strict rule inSKILL.mdto avoid hardcoding or prompting for these values, opting instead for runtime access viaos.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
Bashto start containers and makes network requests viaurllib.requestorcurlto send data to the services (documented inreferences/code-templates.yaml). - Sanitization: The skill uses
shlex.quotefor shell commands andjson.dumpsfor 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.mdand managed via vendor-provided scripts likeresolve_tao_image.py.
Audit Metadata