T01 · Skill Instruction Hijacking
Note
- Location
- SKILL.md:149
- Finding
- Fixed Third-Party Branding Injected into Generated Images<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:149` **Vulnerability Type**: Output integrity violation through undisclosed fixed branding **Risk Level**: Low ### Vulnerable Code Snippet ```html <span style="color:#1D3557; font-size:24px;">🦞 定积出品</span> ``` ### Technical Analysis The general-purpose course-note template contains a hardcoded third-party attribution. When the template is used without modification, this attribution becomes part of the generated image even if the user did not request branding. This does not provide system access or code-execution privileges. However, it changes the integrity of the user's output and can cause users to publish promotional or misleading attribution unknowingly. Because the branding is embedded directly in the reusable template rather than represented by an optional placeholder, normal use of the documented template triggers the behavior. ### Attack Path 1. A user requests a course-note image or another output suited to Template A. 2. The agent selects the documented template. 3. The template is rendered without removing the fixed footer. 4. The generated image contains the third-party attribution. 5. The user may distribute the image without noticing that unrelated branding was inserted. ### Impact Assessment The issue affects the integrity and presentation of generated images. It does not grant filesystem, network, or operating-system privileges. Its scope is limited to outputs generated from the affected template, but it may create reputational, attribution, or content-authenticity concerns for users who publish those outputs. ]]>
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the fixed attribution from the default template. - If attribution is a legitimate feature, replace it with an optional placeholder such as `${footerAttribution}`. - Disable attribution by default and render it only after explicit user consent. - Clearly preview or disclose all footer content before generating the final image. - Add a template review test that rejects undeclared fixed branding or promotional text. ]]>
