公众号自动发布

PassAudited by ClawScan on May 10, 2026.

Overview

This skill appears to do what it says—create WeChat Official Account drafts—but users should notice that it uses account credentials, uploads selected content/media to WeChat, and documents optional scheduled automation.

Install only if you are comfortable giving the skill WeChat Official Account API credentials. Verify the article HTML, digest, title, and cover image path before running it, keep the .env file private, and use the cron example only if you intentionally want recurring automated draft creation.

Findings (4)

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.

What this means

Anyone or any process with access to those environment variables could potentially use the WeChat app credentials to create drafts or upload materials for that account.

Why it was flagged

The skill requires WeChat account credentials and recommends exporting them into the shell environment. This is expected for the WeChat API, but it grants delegated access to the configured Official Account and is broader than the registry metadata indicates.

Skill content
WECHAT_APPID=你的AppID
WECHAT_SECRET=你的AppSecret
...
set -a; source ~/.openclaw/workspace/skills/mp-draft-push/.env; set +a
Recommendation

Store the .env file carefully, avoid exposing the secret broadly, rotate the secret if it is leaked, and confirm the OpenClaw credential/env metadata before relying on it.

What this means

If the wrong path or article content is supplied, the skill may upload unintended media or create an unwanted draft in the WeChat account.

Why it was flagged

The helper script uploads a caller-supplied local file path as WeChat media and posts the draft JSON to WeChat. This is the core purpose of the skill, but it is still an account-changing file-upload/API action.

Skill content
curl -s -X POST "https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${token}&type=image" -F "media=@${image_path}"
...
curl -s -X POST "https://api.weixin.qq.com/cgi-bin/draft/add?access_token=${token}" ... -d @"${json_file}"
Recommendation

Use this skill only with intended article content and cover image paths, and inspect the created WeChat draft before publishing it publicly.

What this means

If enabled, the account may receive new AI-generated drafts on the schedule until the cron job is removed.

Why it was flagged

The README documents an optional persistent scheduled job that would invoke draft creation automatically. It is user-directed and disclosed, but it changes the skill from on-demand use to recurring autonomous operation.

Skill content
openclaw cron add \
  --name "daily-mp-push" \
  --cron "0 9 * * *" \
  --message "生成今日 AI 简报并发布到草稿箱;不要提问,直接执行"
...
Cron 需要 OpenClaw Gateway 常驻运行。
Recommendation

Enable the cron example only if you want ongoing automation, and consider adding a review/notification step before creating or publishing any generated content.

What this means

A user may need to create the .env file manually and should not assume credential-protection files are present unless they verify them locally.

Why it was flagged

The README relies on referenced setup/ignore files for credential handling, while the provided manifest only includes SKILL.md, README.md, and scripts.sh. This is a setup/provenance gap rather than evidence of malicious behavior.

Skill content
cp .env.example .env
...
`.env` 已加入 `.gitignore`,不会提交到仓库
Recommendation

Before adding WeChat secrets, confirm that .env is excluded from version control or store the credentials outside the skill directory.