ort-transformers-gpu-pytest

Pass

Audited by Gen Agent Trust Hub on Aug 19, 2026

Risk Level: SAFE
Full Analysis
  • [Environment Configuration]: The skill recommends using LD_PRELOAD and LD_LIBRARY_PATH to manage shared library resolution. This is a standard technical approach for resolving conflicts between different versions of CUDA/cuDNN libraries bundled with packages like PyTorch and ONNX Runtime.
  • [Process Isolation Best Practices]: It explicitly advises against running tests in the repo root or shared /tmp directories to prevent module shadowing and potential code injection from shared directories. Recommending mktemp -d is a security-conscious practice for managing temporary files.
  • [Low-Level Output Capture]: The instructions include a Python snippet that uses os.dup2 to redirect native file descriptors. This technique is used here for a legitimate technical purpose: capturing C++ level debug logs that standard Python redirection cannot access, which is necessary for verifying hardware kernel dispatch.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 19, 2026, 11:40 PM
Security Audit — agent-trust-hub — ort-transformers-gpu-pytest