wxa-skills-generate

Warn

Audited by Socket on Jul 31, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/probe-lib.mjs

The module is a powerful probe/automation tool that instruments wx.request to capture detailed network traffic and persists it locally. The most significant security concern is the evaluate step, which executes unvalidated plan-provided JavaScript via miniProgram.evaluate(new Function(step.code)) inside the mini-program runtime. Together with the request step (plan-controlled wx.request initiation) and full request/response logging (headers and bodies), an attacker who can influence the plan/steps could run arbitrary in-app logic and capture sensitive data for persistence. No clear OS command execution or remote exfiltration is visible in this snippet, but the capability set warrants strict control of plan inputs and output handling.

Confidence: 70%Severity: 75%
Audit Metadata
Analyzed At
Jul 31, 2026, 10:39 AM
Package URL
pkg:socket/skills-sh/wechat-miniprogram%2Fai-mode-skills%2Fwxa-skills-generate%2F@6f761b6a46b9d9e4673c4d8824294ef4f60fa15262b47eb2bd1da0e3a7884e80
Security Audit — socket — wxa-skills-generate