waveterm
Audited by Socket on Aug 17, 2026
1 alert found:
AnomalyThis code is best characterized as a powerful terminal automation/orchestration tool that delegates work to an external agent CLI by injecting shell-like command text into a Wave terminal block. There is no clear evidence of covert malware (no obfuscation, persistence, network exfiltration, or credential theft) in the Python module itself. However, the capability to inject and execute user-influenced commands is significant: the prompt is quoted, but the executable/command portion from --command/--agent is not safely quoted or validated before being embedded into a string that is then executed in the terminal context (with additional shell redirection/command sequencing in file mode). Security risk is therefore moderate to high depending on whether untrusted parties can influence --agent/--command and on the threat model of what the agent terminal will execute.