tao-generate-anomalies
Pass
Audited by Gen Agent Trust Hub on Dec 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute local scripts and Python modules for the anomaly generation pipeline, including training, inference, and evaluation commands. - Evidence:
SKILL.mdrequestsallowed-tools: Read Bashand provides various command snippets such as${ANOMALYGEN_SCRIPTS}/run_sdg.shandpython3 -m scripts.utilities.*. - [PRIVILEGE_ESCALATION]: The documentation describes using
sudoto modify host directory permissions when bind-mounting to Docker containers running with non-root users. - Evidence:
references/docker.mdsuggests runningsudo chown -R 10000:10000 "$WORK"orchmod -R 777 "$WORK"as a fallback for permission issues. - [CREDENTIALS_UNSAFE]: The skill requires a Hugging Face access token for model downloads and mounts sensitive host system files into its Docker container environment.
- Evidence:
references/setup.mdnotes the requirement forHF_TOKEN.references/docker.mdspecifies mounting/etc/passwdand/etc/groupread-only to resolve user identities for libraries liketorch.compile. - [EXTERNAL_DOWNLOADS]: The skill fetches pretrained models, encoders, and datasets from Hugging Face and GitHub repositories.
- Evidence:
references/setup.mdandreferences/datasets.mddocument downloads fromnvidia/Cosmos-AnomalyGen-*(Hugging Face) andabin24/Magnetic-tile-defect-datasets(GitHub). - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided defect specifications and natural language prompts that drive its internal region-of-interest (ROI) detection and sampling logic.
- Evidence:
SKILL.mdandreferences/prep-testcase.mddescribe processingdefect_spec.jsonlwhereroi_prompt_defect_locationstrings are used by thetext2roibranch (Qwen VL + SAM2).
Audit Metadata