nv-generate-mr-brain

Pass

Audited by Gen Agent Trust Hub on Dec 3, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local commands using subprocess.run to interact with Git and launch the MRI synthesis engine. It implements an environment filter to prevent leaking parent process secrets to these child processes.
  • [EXTERNAL_DOWNLOADS]: The skill downloads model weights from Hugging Face and clones the inference source code from the NVIDIA-Medtech official GitHub repository.
  • [REMOTE_CODE_EXECUTION]: The skill executes the downloaded upstream Python module scripts.diff_model_infer to perform image generation.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data which creates an attack surface for indirect prompt injection. 1. Ingestion points: The skill accepts a JSON configuration file via the model_config positional argument in scripts/run_mr_brain.py. 2. Boundary markers: Instructions in SKILL.md tell the agent to use the wrapper exactly as documented and not to replace it with a handwritten implementation. 3. Capability inventory: The skill uses subprocess.run to execute Git commands and the inference engine, and performs file writes for output volumes and results. 4. Sanitization: Input JSON is parsed and validated against a whitelist of allowed keys and specific type/range constraints in the _validate_inference_config function.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 3, 2026, 06:05 PM