Skills/ClawHub/zhy-wechat-publish

zhy-wechat-publish@0.1.0

VERIFIED· install only

Publisher claims: "Use when publishing HTML articles to WeChat Official Account drafts, especially when you need cover upload, automatic cover generation, body image rewriting,..." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher zhylq · publishing for 250 daysInstalls 1,011Last detonated 27 min ago
$clawhub install zhy-wechat-publish
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
3 of 3 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-20 and scored it 85/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sprocessexited 1: node publish_with_cover.js --article "article.md" --html "post.html" [--title "标题"] [--author "作者"] [--source-url "原文链接"]
0.1sprocessbundled script run in the sandbox with no arguments
0.1sprocessexited 1: 错误: 未找到微信 API 凭证。请检查 .env 文件。
0.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 1: 请配置 WECHAT_APP_ID 和 WECHAT_APP_SECRET 环境变量,或者放在当前技能目录的 .env 文件中。
0.2sprocess3 of 3 bundled scripts run with no arguments
0.2sprocessscript backend runs setup only
0.2sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

MEDIUM
File type combined with upload actionscripts/upload_image.js:141 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(`2. 正在上传图片: [${fileToUpload}] 到永久素材库...`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
HIGH
Access to sensitive file pathsscripts/upload_image.js:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '.env'), // Skill 目录(最优先)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/wechat_draft.js:19 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(process.cwd(), '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/publish_with_cover.js:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:15 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files3. 技能目录下 `.env` 至少包含:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/wechat_draft.js:18 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:132 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 上传封面图并把 media_id 回写 .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/upload_image.js:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '..', '..', '..', '.env'), // 项目根目录Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/publish_with_cover.js:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '..', '..', '..', '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files| `--thumb` | 否 | 封面 `media_id`,不传时读取 `.env` 默认值 |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/upload_image.js:15 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(process.cwd(), '.env'), // 当前工作目录Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/wechat_draft.js:392 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconsole.error('请配置 WECHAT_APP_ID 和 WECHAT_APP_SECRET 环境变量,或者放在当前技能目录的 .env 文件中。');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:31 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files安装后请在本地 skill 目录手动创建 `.env`,不要将真实凭据提交回仓库。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/upload_image.js:121 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconsole.error('错误: 未找到微信 API 凭证。请检查 .env 文件。');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/publish_with_cover.js:15 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(process.cwd(), '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/upload_image.js:130 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconsole.error(' --write-env 上传成功后自动将 media_id 写入 .env 的 WECHAT_DEFAULT_THUMB_MEDIA_ID');Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/wechat_draft.js:20 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath.resolve(skillDir, '..', '..', '..', '.env'),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:117 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- `[40013] invalid appid`:检查 `.env` 中 `WECHAT_APP_ID`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packageSKILL.md:29 · npx invocation of non-well-known package — may execute untrusted code本 skill 适合与 `npx skills add ... --skill zhy-wechat-publish` 一起安装到 OpenCode、Claude Code 等支持 `SKILL.md` 的 agent 工具中。Fix: Pin versions and sources; vendor anything fetched at install time.
AST06

Cost to the agent

Instructions loaded
≈830 tok
1 file · 6 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.