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_PRELOADandLD_LIBRARY_PATHto 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
/tmpdirectories to prevent module shadowing and potential code injection from shared directories. Recommendingmktemp -dis a security-conscious practice for managing temporary files. - [Low-Level Output Capture]: The instructions include a Python snippet that uses
os.dup2to 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