deepstream-import-vision-model

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill downloads model weights, configurations, and labels from established and trusted repositories: huggingface.co and ngc.nvidia.com. These operations are performed over secure HTTPS connections using TLS 1.2 and implement revision pinning to ensure the integrity of the downloaded artifacts.
  • [COMMAND_EXECUTION]: The skill orchestrates the execution of several system tools including docker, trtexec, g++, and deepstream-app. To mitigate command injection risks, the skill performs rigorous validation of model names and path components using regular expressions before they are interpolated into shell commands.
  • [PRIVILEGE_ESCALATION]: Setup scripts (setup.sh and build-existing-pyds.sh) may invoke sudo apt-get to install necessary system dependencies within the execution environment. This use of elevated privileges is localized to package management tasks essential for bootstrapping the DeepStream container environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it parses JSON metadata (config.json) from external model repositories to generate build flags and task-specific configurations. While this is a vulnerability surface, the skill implements numerous safety gates, such as ONNX checker validation and numeric parity checks, to verify model behavior before deployment.
  • [DYNAMIC_EXECUTION]: The skill dynamically generates model-specific task adapters and DeepStream configuration files at runtime. It utilizes importlib to load these generated components. This dynamic behavior is a core functional requirement of the skill's purpose to adapt to a wide range of model architectures and task types.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 09:41 PM