testing
Audited by Socket on Feb 16, 2026
1 alert found:
Obfuscated FileThis script is a benign-looking test runner wrapper but contains high-risk patterns: principally the use of eval on a configurable/test-detected command and writing to a fixed world-writable temp location without hardening. These enable command injection and local tampering if the configuration file or repository under test is untrusted. There are no direct indicators of network-oriented malware or obfuscation in the logic, but the script should not be run against untrusted repositories or configs without isolation and the following mitigations: avoid eval (use arrays/exec), use mktemp -d and restrictive permissions, validate or allowlist TEST_CMD values, escape JSON output, and run tests in an isolated environment (container or dedicated low-privilege user).