team-room
Audited by Socket on Sep 4, 2026
2 alerts found:
Anomalyx2This code is a complex CLI “room” client/relay that reads local credentials/config, enriches outbound requests with git/session data, queues outgoing posts, and sends them to a remote service (and mirrors) over HTTPS. It also reads attachments and transmits them (base64). No obvious malware primitives (eval/exec, obfuscated payload execution, backdoor/reverse shell, cryptomining) are present in the provided fragment. The highest-risk aspects are (1) potential privacy/data exfiltration of user content and attachments to remote servers, (2) deletion of locally supplied handoff evidence/capture files based on CLI-provided paths, and (3) subprocess worker spawning that re-runs the same script. Overall: likely legitimate tooling, but security/privacy and supply-chain hardening should be reviewed.
Within this fragment, there is no direct evidence of covert malware (no network, persistence, or explicit credential theft). However, the module is a powerful execution adapter: it runs caller-supplied external commands via subprocess.Popen without any allowlisting/validation in the shown code and forwards untrusted JSON payloads into EvidenceEvent objects. The main security risk is upstream compromise or attacker-controlled command/session inputs turning this into an execution vehicle, plus robustness/availability risk from unhandled malformed JSON and potential stderr content leakage on errors.