ray-wechat
Warn
Audited by Socket on Jul 30, 2026
1 alert found:
AnomalyAnomalyscripts/wechat_egress.py
LOWAnomalyLOW
scripts/wechat_egress.py
This code does not show direct malware characteristics (no credential theft, persistence, or dynamic payload execution). However, it is security-critical because it can redirect outbound HTTPS traffic through an SSH dynamic SOCKS5 tunnel to a config-driven ssh_host, and it relies on a local config/ENV for that control. If the config path or config contents are attacker-influenced, the module can be repurposed as an egress pivot/redirection mechanism during the context lifetime. The public-IP verification provides some integrity for the observed egress, but ssh_host is not allowlisted here and expected_ip could be manipulated if an attacker can control the config.
Confidence: 62%Severity: 55%
Audit Metadata