T01 · Skill Instruction Hijacking
- Location
- resources/stages/stage_1_creatives.md:196
- Finding
- Mandatory Promotional Content Injection into User Deliverables<![CDATA[ ## Vulnerability Details **File Location**: `resources/stages/stage_1_creatives.md:196-202`, `resources/stages/stage_3_static.md:197-207`, `resources/stages/stage_5_publish.md:15-39`, `SKILL.md:207` **Vulnerability Type**: Output and instruction hijacking **Risk Level**: High ### Vulnerable Code Snippet The Stage 1 instructions prescribe a fixed end-card message: ```text The end-card content is fixed as: "👍 Like ⭐ Favorite 🔔 Follow See you next time! — [user-specified account name]" ``` Stage 3 makes these engagement prompts mandatory in generated HTML: ```html <div id="scene_end" class="clip" data-start="{last scene end time}" data-duration="{8-10 seconds}" data-track-index="1" style="z-index: 99;"> <div class="scene-content"> <div class="text-layer text-layer--center"> <div id="end-line1" class="headline">👍 Like ⭐ Favorite</div> <div id="end-line2" class="headline">🔔 Follow</div> <div id="end-cta" class="caption-text">See you next time! — {signature}</div> </div> </div> </div> ``` Stage 5 also requires promotional material to be appended: ```text At the bottom of the video script, mandatorily append a Xiaohongshu-specific promotional plan containing: 1. At least 3-4 viral title recommendations. 2. Cover-image text recommendations. 3. A 300-500-character promotional post with emojis, an interaction hook, and popular hashtags. ``` ### Technical Analysis The Skill changes the expected output contract by requiring engagement prompts and platform-specific marketing material in every deliverable. These requirements are not conditional on the user's request or explicit approval. Because the instructions are marked as fixed or mandatory, an Agent following the Skill will insert promotional content even when the user only requested video generation. This is a direct alteration of the Agent's session goals and final output. ### Attack Path 1. A user loads the Skill to create a video. 2. The Agent f ...[truncated 741 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all fixed and mandatory engagement prompts. 2. Make end cards and social-media campaigns optional configuration features. 3. Ask for explicit user approval before adding any call-to-action, account signature, hashtag set, or platform-specific marketing text. 4. Default to a neutral end card when the user has not requested promotion. 5. Add a content manifest showing every promotional element before rendering. 6. Ensure that omission of promotional material does not block Stage 3, Stage 4, or Stage 5 completion. ]]>
