微信小程序自动化测试

Security checks across malware telemetry and agentic risk

Overview

This skill appears to do what it claims—automate WeChat Mini Program testing—but it can execute local automation scripts, control DevTools, submit UI actions, and save logs or screenshots.

Install only if you are comfortable giving the skill local automation control over WeChat DevTools. Use test projects and accounts, verify the npm dependency, review batched scripts before they run, and treat generated screenshots/log reports as potentially sensitive.

VirusTotal

VirusTotal findings are pending for this skill version.

View on VirusTotal

Risk analysis

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

#
ASI02: Tool Misuse and Exploitation
Low
What this means

Automated clicks and inputs may create test data, submit forms, or trigger real app actions.

Why it was flagged

The predefined form test can submit a form inside the Mini Program. This is expected for UI testing, but it can mutate app state if pointed at a live environment.

Skill content
runner.click("button[type='submit']").wait(2)
Recommendation

Use a test project, test backend, and test account; review batched actions before running them.

#
ASI05: Unexpected Code Execution
Low
What this means

Running the skill executes locally generated automation code on the user's machine.

Why it was flagged

The automation engine generates temporary JavaScript files and executes them with Node. This is central to the testing workflow, but it is still local code execution.

Skill content
with open(script_path, "w", encoding="utf-8") as f:\n            f.write(automation_script)\n...\nsubprocess.run(\n                ["node", script_path],
Recommendation

Run only with trusted test parameters and review generated or planned scripts when actions affect important projects.

#
ASI04: Agentic Supply Chain Vulnerabilities
Low
What this means

Users must install and trust an external npm package and local Node tooling for the skill to work.

Why it was flagged

The skill relies on an external global npm package. This dependency is documented, but the registry install spec and required binaries are not declared.

Skill content
Install: `npm install -g miniprogram-automator`
Recommendation

Install dependencies from trusted sources, check package provenance, and consider pinning versions in your own environment.

#
ASI07: Insecure Inter-Agent Communication
Low
What this means

The local DevTools service port lets automation inspect and control the running Mini Program session.

Why it was flagged

The skill connects to a local WebSocket service exposed by WeChat DevTools. This is expected for automation, but it is a control/data channel into the DevTools session.

Skill content
Enable "Service Port" ... ws_endpoint="ws://localhost:9420"
Recommendation

Enable the service port only when needed and keep the endpoint local and trusted.

#
ASI06: Memory and Context Poisoning
Low
What this means

Screenshots, logs, and reports may preserve sensitive test data on disk.

Why it was flagged

The console reader can export project paths and collected logs into local reports. This is expected for debugging, but logs may contain sensitive app or user data.

Skill content
"project_path": self.project_path,\n            "total_logs": len(logs),\n            "logs": [log.to_dict() for log in logs]
Recommendation

Avoid using production secrets or real user data in tests, and clean up generated screenshots/reports when no longer needed.