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.runto 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_inferto 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_configpositional argument inscripts/run_mr_brain.py. 2. Boundary markers: Instructions inSKILL.mdtell the agent to use the wrapper exactly as documented and not to replace it with a handwritten implementation. 3. Capability inventory: The skill usessubprocess.runto 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_configfunction.
Audit Metadata