wx-mp-hunter

Warn

Audited by Socket on Aug 14, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/wx_mp_keepalive.mjs

This code is a repeating external-process launcher that is configured via unvalidated command-line inputs (especially the executable selected via argv[3]) and instructs the spawned tool to run an eval-like action while suppressing all output and swallowing errors. In isolation it shows no explicit exfiltration, but the combination of arbitrary executable selection, eval-like command arguments, and stealthy observability strongly warrants security review of invocation controls and the behavior of the external CLI.

Confidence: 66%Severity: 72%
AnomalyLOW
scripts/wx_mp_hunter.ts

Overall, this module is not typical malware (no clear backdoor/exfil to attacker-controlled domains), but it is security-sensitive automation that harvests and persists WeChat authentication material (cookies + token + UA), prints the token to stdout, and uses a powerful camoufox-cli interface with an eval-like command. The biggest concrete risk in this fragment is that cmdFetch() accepts arbitrary URLs and sends the authenticated cookie jar to that URL, which can cause credential leakage if misused or if upstream tooling passes untrusted URLs. Treat the package as high-risk for privacy/account-abuse and review how it is deployed and how inputs (especially --fetch url) are controlled.

Confidence: 61%Severity: 62%
Audit Metadata
Analyzed At
Aug 14, 2026, 01:22 AM
Package URL
pkg:socket/skills-sh/teamwiseflow%2Fxiaobei%2Fwx-mp-hunter%2F@41730c3d6ca088b44c7d944933991df20226206d0e6f550aafc7698c064b8fa5
Security Audit — socket — wx-mp-hunter