T01 · Skill Instruction Hijacking
- Location
SKILL.md:138- Finding
Mandatory Promotional Content Injection into Generated Articles
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 138-152
Vulnerability Type: Persistent output manipulation through Skill instructions
Risk Level: MediumVulnerable Instruction
The article structure requires every generated article to contain a fixed footer. Translated from the source instruction:
markdown [Fixed footer] That is all. Since you have read this far, if you liked it, please like, mark as recommended, and share it. > / Author: XXXTechnical Analysis
The Skill defines this footer as a fixed component rather than an optional example. When the Skill is loaded, the agent is instructed to append engagement solicitation and an author-attribution field to generated articles, even when the user did not request either element.
This is a form of Skill instruction hijacking because the Skill alters the expected output contract and introduces stable promotional content. The placeholder attribution can also become misleading if it is retained or populated without explicit user approval.
Attack Path
- A user activates the Skill and asks it to generate a WeChat article.
- The agent follows the mandatory structure in
SKILL.md. - The fixed engagement solicitation and author attribution are appended automatically.
- If the user publishes the generated content without carefully reviewing the footer, unsolicited promotional language or inaccurate attribution is distributed publicly.
Impact Assessment
The issue does not grant operating-system privileges or expose credentials. Its impact is confined to generated content and the agent's current output behavior.
Potential consequences include:
- Publication of promotional text not requested by the user.
- Misleading or incorrect author attribution.
- Reputational damage to the user or publishing account.
- Loss of user control over the final article format.
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory fixed-footer requirement.
- Treat engagement calls to action and attribution as optional templates.
- Require the user to provide or explicitly approve an author name.
- Omit promotional language by default.
- Add a final publication preview that clearly identifies automatically inserted content.
- Ensure that user instructions about tone, attribution, and footer content take precedence over style templates.
