llm-torch-profiler-analysis

Warn

Audited by Socket on Aug 28, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/run_vllm_torch_profile_host.sh

This snippet does not show obvious direct malware behavior, but it is a high-risk supply-chain runner/orchestrator. The optional --trust-remote-code flag can enable execution of code originating from remote model repositories, and the script passes Hugging Face authentication tokens into the container while also mounting a writable host directory ($RUN_DIR). Combined with host-network exposure and a broadly accessible server binding, compromise of the image/model (or of MODEL/TRUST_REMOTE_CODE inputs) would have elevated impact by granting untrusted code access to credentials and host-writable artifacts.

Confidence: 60%Severity: 75%
AnomalyLOW
scripts/run_trtllm_pytorch_profile_host.sh

No clear evidence of overt malware (no reverse shell, no outbound exfiltration endpoints, no explicit persistence). However, the script contains high-risk behaviors for supply-chain security: it can enable model repository code execution (--trust_remote_code) and it executes a dynamically assembled bash command string inside the container using interpolated variables (potential command injection if inputs are attacker-controlled). It also injects Hugging Face tokens into the container environment and allows optional host-controlled code override via OVERRIDE_PY_EXECUTOR mount.

Confidence: 66%Severity: 55%
Audit Metadata
Analyzed At
Aug 28, 2026, 02:44 AM
Package URL
pkg:socket/skills-sh/bbuf%2Fai-infra-auto-driven-skills%2Fllm-torch-profiler-analysis%2F@065efd063c31f5904e0187e123f212aba46afed4956758846cf4bd2d15cf4d58
Security Audit — socket — llm-torch-profiler-analysis