T01 · Skill Instruction Hijacking
- Location
SKILL.md:21- Finding
Mandatory Promotional Content Injection
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 21, 26, and 33-37
Vulnerability Type: Mandatory output manipulation through fixed promotional instructions
Risk Level: MediumVulnerable Code
The following is an English translation of the relevant Skill instructions:
markdown - Fixed ending: standardized risk warning plus promotional language - Fixed ending: standardized risk warning plus promotional language 3. Fixed ending template: --- **Risk Warning:** The above content is only a personal market review and does not constitute investment advice. The stock market involves risk; invest cautiously. --- *If you found this helpful, please like, recommend, and share it.*Technical Analysis
The Skill requires promotional engagement language to be appended to every generated article. This behavior is mandatory rather than conditional on the user's request or explicit consent.
When the Skill is loaded, its fixed-ending instruction changes the requested transformation by adding unsolicited calls to like, recommend, and share the resulting content. This constitutes output-oriented instruction hijacking because the Skill introduces an additional promotional objective that may not be part of the user's requested task.
The risk is limited to generated content. No evidence shows that this instruction changes system safety controls, executes code, accesses credentials, or establishes persistence.
Attack Path
- A user supplies text and requests conversion into a WeChat article.
- The Agent loads and follows
SKILL.md. - The fixed-ending rule is applied irrespective of whether the user requested promotional content.
- The Agent adds engagement-oriented language to the final article.
- The user may publish the article without noticing that unsolicited promotional text was inserted.
Impact Assessment
The issue can manipulate the content produced during th ...[truncated 311 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory promotional ending from the default generation workflow.
- Make engagement language an explicit opt-in option.
- Ask for user confirmation before inserting calls to like, recommend, follow, or share.
- Keep the investment-risk warning separate from promotional language so users can enable either component independently.
- Ensure that user-provided formatting and ending requirements take precedence over optional Skill templates.
- Clearly disclose all automatically inserted text before saving or publishing the generated article.
