tao-run-deft-pas
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill employs
os.execveinscripts/run_deft_cli.pyto replace the current process with a validated TAO CLI entrypoint. This is protected by opening the target withO_NOFOLLOWand verifying its SHA-256 hash and shebang against a prepared action request. Additionally,patches/sitecustomize.pyusesimportliband aMetaPathFinderhook to allow loading legacy checkpoints in newer versions of PyTorch. - [COMMAND_EXECUTION]: Multiple scripts, including
scripts/run_deft_container.pyandscripts/manage_pas_virtualenv.py, usesubprocess.runto manage the execution environment. These calls are constrained to specific, allowlisted commands and are part of the core functionality for running training and evaluation tasks. - [EXTERNAL_DOWNLOADS]: The skill fetches container images from
nvcr.ioand model weights fromhuggingface.co. It also allows installing dependencies viapipinscripts/manage_pas_virtualenv.py, but this requires a hash-locked requirements file and explicit user approval. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted dataset metadata and labels. It mitigates risk through the use of structured data (JSON/Parquet), strict schema validation, and a dedicated linter (
scripts/redact_secrets.py) that scans logs for sensitive information before finalization.
Audit Metadata