wechat-styler

Warn

Audited by Socket on Oct 22, 2026

3 alerts found:

SecurityAnomalyx2
SecurityMEDIUM
scripts/components.mjs

This module formats Markdown components as HTML and does not show malware behavior, data exfiltration, or unauthorized system access. It has a significant HTML injection/XSS risk when untrusted Markdown or theme values reach the generated output, especially through entity decoding and reinsertion in `applyComponentsPostMarkdown`. Severity is medium to high depending on whether callers render the returned strings as trusted HTML; no suspicious domains, URLs, IPs, file paths, or targeted credentials are present.

Confidence: 98%Severity: 76%
AnomalyLOW
scripts/wechat-image-pipeline.mjs

This code implements remote image optimization and PicGo upload, with no clear evidence of malware or covert data theft. Untrusted image URLs can trigger requests to internal or local destinations, and remote bodies are buffered and written without a size cap, so SSRF and resource-exhaustion risks warrant review. The expected upload destination defaults to http://127[.]0[.]0[.]1:36677; severity is moderate when image URLs or configuration are attacker-controlled.

Confidence: 96%Severity: 58%
AnomalyLOW
scripts/generate-preview.mjs

No clear malicious behavior is present. However, shell command construction from user-controlled paths creates a command-injection risk, and the output-path-derived recursive deletion can remove existing files. Use spawn/execFile with an argument array and validate or constrain output paths.

Confidence: 98%Severity: 67%
Audit Metadata
Analyzed At
Oct 22, 2026, 12:18 AM
Package URL
pkg:socket/skills-sh/zjp1997720%2Fzhijian-skills%2Fwechat-styler%2F@6012d5166658023669be1347ac6b62f95cb452d79e15b305eeb5b67ccbde0430