T01 · Skill Instruction Hijacking
- Location
skill.md:133- Finding
Mandatory Promotional Content and Attribution Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a real WeChat formatter, but it automatically uses web lookups, rehosts images to a public service, and injects fixed publication branding and reviewer text into every output.
Install only if you specifically want the 谓无名 WeChat publication workflow, including its fixed footer/reviewer convention and public image-hosting behavior. Do not use it on confidential drafts, private image links, unpublished media, or content where added branding/attribution would be inappropriate unless the workflow is changed to ask before web searches and uploads.
skill.md:133Mandatory Promotional Content and Attribution Injection
scripts/extract_docx.py:70Unbounded Decompression and XML Parsing of Uploaded DOCX Files
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
---
name: wechat-formatter
description: |
Convert uploaded .doc/.docx files or pasted text into WeChat article markdown using the "谓无名" editor syntax.
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
---
name: wechat-formatter
description: |
Convert uploaded .doc/.docx files or pasted text into WeChat article markdown using the "谓无名" editor syntax.
The skill description and rules direct the agent to upload images to a public host, but they do not require an explicit up-front user warning or consent at the point of use. A user may provide a private manuscript or embedded images without realizing that source-derived media will be republished to a public URL.
This instruction explicitly requires publishing uploaded or source-derived images to a public image host and inserting the returned public URLs into the output. If the document contains sensitive, copyrighted, personal, or unpublished material, the workflow can disclose that content outside the user's environment without meaningful consent controls.
These steps operationalize a repeated download-and-republish pipeline to a public host, expanding the exposure surface and normalizing exfiltration of media gathered from the source document or web searches. The repeated instructions to persist files locally, upload them externally, and reuse returned URLs make accidental data leakage more likely and harder for users to notice.
The workflow mandates taking source-provided hosted images, downloading them, re-uploading them to another public host, and then reporting those public links back. This can republish content in ways the original source or user did not authorize, and it creates an unnecessary disclosure trail in the final response.
The instructions require the 编者按 to be written in Chinese and prescribe a specific editorial tone, and later validation requires it for every article. This is a natural-language locale constraint that does not present any user opt-in or justified region-specific limitation in the file.
The follow section contains fixed Chinese text and the rules say it is mandatory for every article and must not be modified. This enforces a specific language/locale without offering choice or documenting a justified regional constraint.
With no manifest available, the only stated purpose comes from the module docstring: extracting structured content from Word documents. Spawning LibreOffice via subprocess is a materially broader capability than in-process parsing, because it executes an external program on attacker-controlled input rather than only reading the document structure directly.
The trigger phrases are broad enough that the skill may activate for general document formatting or article-writing requests that do not clearly imply the user's intent to use this specific workflow. That increases the chance the agent will apply invasive behaviors such as web searching and image handling to content the user did not mean to process with this skill.
This code invokes an external executable (soffice/libreoffice) on a user-supplied document, which is a safety-relevant operation for a code file. Although the module docstring mentions normalization through LibreOffice, there is no runtime disclosure, confirmation, or explicit user-facing warning near the subprocess execution or CLI flow.
Detected: suspicious.obfuscated_code