harness
Audited by Socket on Mar 29, 2026
2 alerts found:
AnomalySecurityThis is primarily a workflow/orchestration wrapper with no direct malicious behavior visible in the shown code. The main supply-chain/security concern is that user-controlled task text flows into subprocess invocations (route-task.sh and spawn-agent.sh) and is also embedded into a YAML state file without escaping, increasing the chance of downstream injection, unintended actions, or state-parsing failures depending on helper-script implementations. Treat this as moderate risk until the referenced helper scripts are reviewed for unsafe command construction, eval/dynamic execution, and any data exfiltration behavior.
No overt malware payload (network exfiltration, credential theft, reverse shells, or persistence) is present in this fragment. However, the script repeatedly executes dynamically generated python3 code where CLI arguments are directly interpolated into Python source (including into string-literal contexts). If any of these parameters can be influenced by an attacker, this provides a plausible arbitrary-code-execution vector in the harness runtime, making the module a high supply-chain security risk in realistic CI/pipeline threat models. Additionally, JSON parsing via grep/sed is fragile and stdout embeds raw values, increasing integrity/operational impact.