harness-creator-v4

Warn

Audited by Socket on Jul 30, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
templates/init.sh

No direct indicators of intentional malware (e.g., exfiltration, backdoors, credential theft) are present in the shown fragment. The dominant security concern is the explicit use of eval on data loaded from harness/environment.md, which can become arbitrary command execution if that file or its contents are attacker-influenced. Additionally, the script executes high-privilege verification steps by installing dependencies (with lifecycle hook exposure) and running repository-defined scripts/tests/build tooling, which inherently increases supply-chain execution risk typical of CI harnesses. Overall: not clearly malicious by itself, but security posture is weakened by eval and by execution of untrusted code via install/test/build workflows.

Confidence: 72%Severity: 56%
AnomalyLOW
examples/react-harness/init.sh

This fragment is primarily a CI/test harness, not a standalone application. It contains a significant execution risk due to `eval "$check"` on expressions read from harness/environment.md; if that file is modified or attacker-controlled in the supply chain/CI environment, it enables arbitrary shell command execution on the host. The remaining steps (installing dependencies and running package.json scripts) are standard for harnesses but substantially widen the impact if dependencies or repository scripts are compromised. No explicit malware behaviors (exfiltration, backdoors, miners, or destructive actions) are evident in the provided code alone.

Confidence: 72%Severity: 62%
Audit Metadata
Analyzed At
Jul 30, 2026, 06:37 AM
Package URL
pkg:socket/skills-sh/Charikshith%2Fharness%2Fharness-creator-v4%2F@cc96690d7fb8e3677702502c71a3268c63ff93ad1e3ba4e0638d133ebdb8c3c0