微信公众号自动发布器

WarnAudited by ClawScan on May 10, 2026.

Overview

The skill’s publishing workflow is coherent, but unsafe shell command construction around user-controlled text makes it risky to run without review.

Install only if you trust the dependent skills and are comfortable granting WeChat publishing credentials. Review the generated article and images before the final publish/draft step, avoid confidential content, and prefer a fixed version that replaces shell-string execSync calls with safe argument-based execution.

Findings (6)

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

A malicious or accidental search term could cause unintended local commands to run in the agent environment.

Why it was flagged

The search query comes from command-line/user input and is inserted into a shell command inside single quotes. A crafted query containing a single quote could alter the shell command.

Skill content
const query = process.argv[2]; ... execSync(`python3 ~/.openclaw/workspace/skills/baidu-search/scripts/search.py '${JSON.stringify(requestBody)}'`,
Recommendation

Replace execSync shell strings with execFile/spawn using an argument array, and validate or safely encode user-provided query text.

What this means

If an attacker can influence the article filename/path, they may be able to inject shell syntax during publishing.

Why it was flagged

The article file path is interpolated into a shell command. Although normal use passes examples/article.md, the script accepts a user-supplied path.

Skill content
execSync(`node "${publishScript}" "${articleFile}"`, {
Recommendation

Invoke Node with execFile/spawn and pass publishScript and articleFile as separate arguments instead of building a shell command string.

What this means

The workflow can put generated content into a WeChat Official Account publishing flow, so a user should review the article before the final publish/draft action.

Why it was flagged

The skill discloses a high-impact publishing step and says the user should be asked before continuing each step.

Skill content
按顺序执行以下步骤,每步完成后询问用户是否继续 ... ### 步骤 5: 发布到公众号
Recommendation

Keep an explicit final confirmation before publishing and clearly distinguish draft creation from public posting.

What this means

Anyone running the skill with these credentials may be able to create/publish WeChat account content through the configured account.

Why it was flagged

The skill requires WeChat account credentials for the publishing integration, which is expected but grants account-level authority.

Skill content
export WECHAT_APP_ID=你的 APP_ID; export WECHAT_APP_SECRET=你的 APP_SECRET
Recommendation

Use dedicated credentials where possible, restrict IP/permissions in WeChat settings, and avoid exposing secrets in logs or shared sessions.

What this means

The behavior and credential handling also depend on those external skills and their installed versions.

Why it was flagged

The skill depends on separately installed skills to search, generate images, and publish, but the artifacts do not pin specific versions.

Skill content
clawhub install baidu-search; clawhub install wanx-image-generator; clawhub install wechat-toolkit
Recommendation

Install dependent skills only from trusted sources and verify their versions and permissions before using this publisher.

What this means

Draft content or prompts may leave the local agent environment through Baidu, Alibaba/Wanx, or WeChat integrations.

Why it was flagged

The workflow sends prompts, search queries, generated article content, and images through other skills/providers.

Skill content
调用 wanx-image-generator 技能(通义万相)生成图片 ... 调用百度搜索获取实时信息 ... 调用 wechat-toolkit 发布
Recommendation

Do not use confidential or unpublished sensitive material unless you are comfortable sending it to the configured providers.