wjs-publishing-wechat
Fail
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/fetch-comments-via-gstack.shdynamically generates JavaScript and executes it within a browser environment using a subprocess call to thegstack browseutility. This allows for automated interaction with authenticated web sessions but introduces a surface for arbitrary script execution based on local configuration. - [DYNAMIC_EXECUTION]: Several scripts, such as
gen-cover-ai.shandgen-illustration.sh, invoke external Node.js scripts (gpt_image_2_skill.cjs) and utilize complex instructions to orchestrate remote AI models for image generation. - [EXTERNAL_DOWNLOADS]: The
README.mdand installation instructions require cloning third-party repositories, specificallyWangnov/gpt-image-2-skill, which is a dependency for the skill's image generation functionality. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill ingests untrusted data from the
mp.weixin.qq.comcomment API and processes user-provided article drafts. - Boundary markers: No explicit delimiters or instructions to ignore embedded commands were found in the scripts that process external text.
- Capability inventory: The skill possesses capabilities for file writing (
article.md,publish.json), network requests to WeChat APIs, and command execution via shell and Node.js. - Sanitization: External content from comments is formatted for Markdown output but is not sanitized for downstream prompt injection risks.
- [DATA_EXFILTRATION]: The
scripts/upload-draft.shscript automatically performsgit add,commit, andpushoperations on the article directory, exfiltrating local content to a remote Git repository whenever an article is prepared for publishing. - [CREDENTIALS_UNSAFE]: The skill's operation relies on
WECHAT_APPIDandWECHAT_SECRETenvironment variables. The documentation explicitly instructs users to configure these secrets, which are subsequently handled by multiple scripts in thescripts/directory.
Recommendations
- HIGH: Downloads and executes remote code from: unknown (check file) - DO NOT USE without thorough review
Audit Metadata