wechat-mp

Warn

Audited by Socket on Aug 13, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/lib/wechat_api.py

No clear malware/backdoor behavior is evident in this fragment; it is an API helper that uploads local images and creates drafts through explicit HTTP calls. However, it has a significant security risk: the request destination (API_BASE) is controlled by environment variables with no domain validation, so if those env vars are attacker-influenced the tool can exfiltrate credentials (appid/secret) and local image bytes to an arbitrary host. Additionally, the token subcommand prints access tokens to stdout, increasing the chance of token leakage via logs/CI artifacts. The HTML <img> parsing regex appears incomplete in the provided snippet, limiting certainty about how thoroughly local image sources are discovered, but the core exfiltration-relevant upload path remains clear.

Confidence: 66%Severity: 60%
Audit Metadata
Analyzed At
Aug 13, 2026, 02:21 AM
Package URL
pkg:socket/skills-sh/kedoupi%2Fwechat-mp-skill%2Fwechat-mp%2F@6d5ac50ff6681d4daa618ff747e0d02696753a8e29d87c0e8240a6fdd22d32a0
Security Audit — socket — wechat-mp