tao-run-deft-aoi-cosmos3
Warn
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/patch_eval_image_cap.pyimplements dynamic source code modification. It executesdocker runtocata library file (cosmos_rl/evaluation/base.py) from a container image, applies a regular expression to modify thelimit_mm_per_promptconstant, and writes the resulting code to the local filesystem so it can be mounted back into subsequent container runs. - [DATA_EXFILTRATION]: The script
scripts/align_token_usage.pyaccesses sensitive local data by scanning the~/.claude/projects/directory. It reads through session transcript JSONL files to extract and aggregate token usage metrics and assistant message history, which is then written to a state file. - [COMMAND_EXECUTION]: The skill acts as an orchestrator and frequently executes system commands via
subprocess.run. scripts/deft_exec.pyis a wrapper used to execute arbitrary shell commands while enforcing a local security policy for air-gapped environments.scripts/patch_eval_image_cap.pyusessubprocess.runto interact with the Docker daemon.- [EXTERNAL_DOWNLOADS]: The skill instructions and scripts facilitate the download of large model weights and container images from external sources.
references/cosmos-reason.mdcontains instructions for using the Hugging Face CLI (hf download) to fetch models fromnvidia/Cosmos3-Nano.scripts/init_deft_state.pyresolves and references container images from NVIDIA's registries.- [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection as it ingests untrusted data from user-supplied annotation files (
proxy_kpi.json,benchmark_kpi.json). - Ingestion points: Annotations are loaded in
scripts/check_annotations.pyandscripts/validate_sharegpt.py. - Boundary markers: Absent; the skill relies on the expectation that the data follows a specific schema.
- Capability inventory: The skill has file-write access and can execute arbitrary shell commands via its orchestration scripts.
- Sanitization: The validation scripts check for schema compliance but do not sanitize the natural language content of the prompts or labels processed by the models.
Audit Metadata