Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

weixin mp push 微信公众号图文生成与推送技能

v3.0.3

支持通过AI生成符合公众号规范的图文(文章和贴图),并推送到公众号草稿箱,兼容其它SKILL生成的图文、图片进行推送。通过配置向导扫码授权,支持多账号。无需泄露公众号Secret密钥,无需配置公众号IP白名单。

1· 346·0 current·0 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
技能声明的目标是生成并推送公众号图文;包含的脚本 (push-to-wechat-mp.js) 与 SKILL.md 的推送流程、配置文件要求及外部 API 调用相符。没有请求与该用途不相干的云凭据或高权限环境变量。
!
Instruction Scope
运行时指令要求将向导生成的 config.json(含 openId、accounts、可选 apiBase)保存到技能目录并将完整 HTML/封面(thumbImageContent)通过 POST 发送到第三方 apiBase(默认 https://api.pcloud.ac.cn/openClawService)。SKILL.md 还记录了能触发的清空草稿箱(cleanupDrafts)操作。说明文件中出现了 unicode 控制字符(prompt‑injection 信号),可能用于操控代理的行为或注入不可见指令。
Install Mechanism
无安装脚本或远程下载,只有打包的 JS 文件和文档(instruction-only + bundled code)。没有从不可信 URL 下载或在安装阶段写入额外二进制的行为,安装面较小。
Credentials
技能不要求环境变量或云密钥,但依赖用户把 config.json 放到技能目录:该文件含 openId、accounts 以及可自定义的 apiBase。将文章 HTML、封面 HTML 与 openId 传给第三方服务是功能需要但会泄露完整内容与用户标识到外部服务,用户应评估对该第三方的信任度。
Persistence & Privilege
技能不是 always:true;不会修改系统或其它技能配置. 但它会 persist(在技能目录)保存 config.json(含敏感标识 openId),并能通过远端接口执行可能破坏性操作(cleanupDrafts),所以在允许代理自主调用时需谨慎。
Scan Findings in Context
[unicode-control-chars] unexpected: SKILL.md 被检测出包含 unicode 控制字符(prompt‑injection 信号)。这不是推送公众号功能所必需,可能用于试图隐藏或注入不可见的文本来操控代理或绕过审查——建议人工检查并移除不可见控制字符。
What to consider before installing
What to check and do before installing: - Understand data flow: this skill sends the full HTML content and the user's openId (from config.json) to a third‑party API by default (https://api.pcloud.ac.cn/openClawService). If you are uncomfortable uploading draft content or identifiers to that endpoint, do not install or change apiBase to a trusted endpoint you control. - Inspect and control config.json: the skill requires you paste the configuration file into the skill directory. Check exactly what fields the config contains (openId, appId, etc.) and avoid including any secrets you don't want stored on disk. Consider storing config.json in a controlled location and reviewing its contents before running the script. - Be aware of destructive actions: documentation exposes a cleanupDrafts action (clearing the draft box). If the agent can invoke the skill autonomously, it could trigger deletions. Limit autonomous use or require explicit confirmation for destructive operations. - Prompt‑injection signal: SKILL.md contains unicode control characters that may be attempts to hide or alter instructions. Manually open SKILL.md in a trusted editor, remove any non‑printing/control characters, and verify the text matches expected instructions. - Verify the maintainer and endpoint: there is no homepage and the source is unknown. Confirm the identity and trustworthiness of the endpoint (api.pcloud.ac.cn) and the maintainer before uploading content or authorizing accounts. - Run in sandbox/least privilege: if you decide to try it, run the skill in a sandbox or test account first (not a production WeChat account), and avoid granting broad autonomous permissions until you are satisfied with behavior. If you want, I can: - highlight the exact lines in SKILL.md or push-to-wechat-mp.js that send data externally or create files - produce a safe checklist to sanitize config.json and remove control characters - suggest a minimally modified workflow that posts to your own server instead of the default apiBase

Like a lobster shell, security has layers — review code before you run it.

latestvk97cat70bw1504db3g5eyf2vm1854m6w
346downloads
1stars
28versions
Updated 6h ago
v3.0.3
MIT-0

weixin-mp-push · 微信公众号图文生成与推送技能

文件路径与作用

文件位置作用
SKILL.mdweixin-mp-push 目录/本说明
design.md同上HTML格式规范
config.json同上配置向导生成后的真实配置
config.example.json同上字段说明(fieldsHelp)+ 示例
push-to-wechat-mp.js同上推送脚本

第一步:配置向导

内容
配置向导地址https://app.pcloud.ac.cn/design/weixin-mp-push.html
流程AI发送配置向导给用户 → 用户微信扫码 → 用户选择推送账号 → 用户复制发给AI

AI检查在 weixin-mp-push 目录 下是否存在 config.json。如果不存在,则无法使用本技能,AI需要发送配置向导地址给用户扫码授权。


第二步:配置文件

AI将配置向导得到的配置参数保存为 weixin-mp-push 目录 下的 config.json,编码 UTF-8

在已进入该目录时,可:

cat > config.json << 'EOF'
{ … 粘贴配置向导 JSON … }
EOF

(Windows 可用编辑器在该目录新建 config.json 并粘贴)


config.jsonaccounts 说明:选平台提供时仅一项平台账号;选自己的公众号时仅为已授权自定义账号列表。


第三步:写公众号图文

  1. 用户发送图文创作要求给AI,AI必须根据 design.md 规范生成标准的 HTML 文件。若涉及到文本文章内容生成,AI必须根据 Humanizer-zh.md 规范生成文本文章内容,用于去除AI味道。有二种创作类型:
  • 文章:通用类型,页面默认宽度 677px
  • 贴图:图文卡片类型(俗称小绿书,类似小红书),页面默认宽度 375px,固定分页比例(默认 3:4)。推送到公众号时, 后台会自动把 HTML 内容转换为图片
  1. 生成HTML文件后,若页面中没有引用图片,则需继续根据HTML文件的title生成对应的封面HTML文件:
  • 文件名:${主HTML文件名}_title.html
  • 注意:_title 是固定常量,不是变量,无论主 HTML 文件名是什么,_title 部分均保持固定不变
  • 版式:页面尺寸固定 900×383px,采用信息流栏目头图风格,页面柔和、清爽、现代,不暗沉,不沉重,不压抑,用于微信公众号文章封面;
  • 文案:主题文案视觉居中(水平垂直居中,允许轻微光学微调);主题文案颜色和背景色需要有反差,避免因主题文案文字颜色与背景相近导致文字看不清;可搭配描边、投影或渐变色提升视觉冲击力;

⚠️ 注意: 不管是创作 文章 还是 贴图 ,必须先阅读 design.md,按其规范生成标准的 HTML 文件。后续在推送图文过程中,标准的 HTML 会自动适配公众号格式。封面HTML不需要遵守 design.md 规范,请自由发挥


第四步:推送到公众号

推送方式:html 模式传入生成的 HTML 文件(本技能在第三步生成的HTML,也可以是用户或其它技能提供的HTML,非HTML内容可先按 design.md 整理成 HTML);img 模式传入公网可访问的图片 URL 数组及标题、正文。注意 此模式仅适合用户或其它技能保证所提供的图片可以直接推送,无需本技能基于提供的内容进行创作

推送 HTML

AI 调用脚本:首参为目标公众号 AppID,第二参为 html,再传与脚本同目录下的 HTML 文件名:

cd weixin-mp-push
node push-to-wechat-mp.js targetAppId html 你的文件.html

推送图片链接

AI 调用脚本:首参为目标公众号 AppID,第二参为 img,第三参为图片链接的 JSON 数组字符串(整段一个参数;Bash 与 PowerShell 都可用单引号包住整段 JSON,例如 '["https://...","https://..."]')。再依次传标题、正文。

cd weixin-mp-push
node push-to-wechat-mp.js targetAppId img '["https://cdn.example.com/1.png","https://cdn.example.com/2.png"]' "标题" "正文"

标题、正文(命令行各一个参数,含空格时用英文双引号):标题和正文可为空。

说明

目标公众号 AppID:若用户未声明具体要发送的公众号,则选择 config.jsonaccountsselected: true 的账号。

  • 接口说明(供查阅):请求地址为 config.json 中的 apiBase(缺省 https://api.pcloud.ac.cn/openClawService),POSTContent-Type: application/json,Body 含 action: sendToWechatopenIdtitlecontentimg 模式另含 imgUrls;推送到自定义公众号时 Body 含 appId
  • 超时说明:推送链路较长,若返回「超时」可视为已成功,勿重复狂推;请用户看服务通知或草稿箱。

其它功能

清空草稿箱

发送 POST 请求,https://api.pcloud.ac.cn/openClawService,传参数:

{
  "action": "cleanupDrafts",
  "openId": "",
  "appId": ""
}
  • 超时说明:草稿箱图文可能较多,若返回「超时」可视为已成功;请用户看在公众号中查看草稿箱情况。

Comments

Loading comments...