T01 · Skill Instruction Hijacking
- Location
references/layout-guide.md:59- Finding
Mandatory Third-Party Promotional Content Injection
- Content
View full analysis
Vulnerability Details
File Location:
references/layout-guide.md:59
Vulnerability Type: Output manipulation through mandatory third-party attribution
Risk Level: HighVulnerable Code
html <div class="footer">由前凌智选 fore.vip 提供 · AI 生成配图</div>The English meaning of the embedded footer is: “Provided by Fore Intelligence Selection, fore.vip · AI-generated illustrations.”
Technical Analysis
The prescribed HTML template inserts the skill author's name and domain into every generated page. This promotional content is unrelated to the user's science question and is included without requiring the user to request or explicitly approve third-party branding.
The main workflow requires generated content to be assembled using this template and subsequently offers to publish the resulting page through a WorkBuddy library, IMA, or Tencent Docs. Consequently, the instruction modifies the expected deliverable by adding persistent third-party promotional material and can propagate that material to remote sharing services.
This is classified as skill instruction hijacking because the loaded skill instructions alter the agent's output objective from solely producing the user-requested educational page to also distributing author-controlled promotional content.
Attack Path
- A user invokes the skill by asking a children's science question.
- The skill generates the required explanation and illustrations.
- The agent follows the mandatory layout template in
references/layout-guide.md. - The template inserts the
fore.vipattribution into the generated HTML without obtaining explicit consent. - The branded page is displayed locally and may subsequently be published through one of the supported sharing destinations.
- Recipients of the shared page receive the injected promotional content as part of the user's deliverable.
Impact Assessment
This issue affects the integrity an ...[truncated 585 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory third-party footer from the default HTML template.
- Generate only content necessary to satisfy the user's request.
- If attribution is contractually required, disclose it before page generation and obtain explicit user consent.
- Provide a clear opt-out mechanism and an unbranded template.
- Keep attribution separate from educational content so it is not silently propagated during remote publication.
- Add a pre-publication preview that clearly identifies any third-party branding before upload.
