vllm-bench-serve

Warn

Audited by Socket on Apr 18, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
scripts/run_batch.sh

This module is a benchmark orchestration wrapper rather than an obviously malicious payload: there are no direct indicators of credential theft, persistence, or network exfiltration in the snippet. However, it has a significant security weakness: it constructs a shell command string (FULL_CMD) by concatenating untrusted input from --common-args and arbitrary JSON fields, then executes it via bash -c without proper quoting/escaping. Additionally, case_name is used directly in output filenames, enabling potential path traversal/overwrite if case_name contains unsafe characters. Treat this script as unsafe when CONFIG or COMMON_ARGS are attacker-controlled; otherwise risk is largely mitigated by strict trust boundaries and input validation outside this module.

Confidence: 70%Severity: 72%
SecurityMEDIUM
scripts/run_bench.sh

No direct indicators of hidden malware (e.g., backdoors, exfiltration, persistence, or obfuscated behavior) are present in this script fragment. The dominant security concern is architectural: it executes a caller-provided shell command string via `bash -c` (optionally wrapped by `timeout`) and also derives filesystem write/read locations from unvalidated flags embedded in that same command. If `$1` is not strictly trusted, this becomes a straightforward arbitrary command execution and filesystem manipulation risk.

Confidence: 78%Severity: 72%
Audit Metadata
Analyzed At
Apr 18, 2026, 03:07 AM
Package URL
pkg:socket/skills-sh/ascend-ai-coding%2Fawesome-ascend-skills%2Fvllm-bench-serve%2F@7e110b25ff265c52cbe5e034d9bde9bb4ff5cd74
Security Audit — socket — vllm-bench-serve