triton-pytorch-model-repository

Warn

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill describes the use of the MODEL_INIT_LIBRARY parameter within the parameters block of a Triton configuration. As detailed in references/parameters.md and references/torch-aoti.md, this feature allows the Triton backend to dynamically load a shared library (.so file) from a provided path and execute its initialization and finalization hooks (triton_pytorch_model_init and triton_pytorch_model_fini). This utilizes dlopen and allows for arbitrary binary code execution within the server process.
  • [COMMAND_EXECUTION]: The instructions include examples of shell commands for launching the Triton server and performing model inference using curl. While these are standard operational procedures for the tool's intended use case, they demonstrate the agent's ability to execute commands that interact with the host network and file system.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface related to processing external, potentially untrusted model files (.pt, .pt2) and configuration metadata. Malicious content within these files could potentially influence the agent's logic during model debugging or deployment tasks.
  • Ingestion points: Loads and analyzes PyTorch models and config.pbtxt files from user-controlled directories (SKILL.md).
  • Boundary markers: None explicitly implemented to separate model data from instructional context.
  • Capability inventory: Ability to execute shell commands (curl, tritonserver), run Python export scripts, and load binary libraries.
  • Sanitization: Relies on documented validation steps and Triton's internal error handling as described in references/errors.md and references/naming.md.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 22, 2026, 07:00 PM