T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:93
- Finding
- Mandatory Third-Party Branding Alters User-Requested Output<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:93-98` and `SKILL.md:511-516` **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: Medium ### Complete Code Snippet ```markdown #### 1.4 报告生成 - 整合所有数据 - **必须包含数据时效声明** - 添加虾哥 AI Research 水印 - 记录所有数据来源URL ``` The requirement is repeated in the final checklist: ```markdown 6. ⚠️ **必须包含**:数据时效声明 7. ✅ 保留 `虾哥 AI Research` 水印 8. ✅ 记录所有数据来源URL 9. ✅ 默认数据覆盖至 current_date(用户可覆盖) 10. ✅ 默认搜索速率 1次/秒(用户可覆盖) ``` ### Technical Analysis The Skill requires every generated report to include the third-party “Xia Ge AI Research” watermark, regardless of whether the user requested that attribution. The requirement is presented as mandatory and reinforced by the compliance checklist. This modifies the output objective of the current Agent session by adding promotional or attribution content unrelated to the core research and Feishu-upload operation. Because the instruction is automatically applied whenever the Skill is used, users may unknowingly publish documents carrying a third party's branding. There is no parameter for disabling the watermark and no requirement to obtain the user's informed consent before adding it. ### Attack Path 1. A user invokes the Skill to generate a research report. 2. The Skill loads its mandatory report-generation instructions. 3. The Agent generates the requested research content. 4. The mandatory watermark instruction causes the Agent to insert third-party branding. 5. The altered report is uploaded and imported into the user's Feishu workspace. 6. The branded document may subsequently be distributed as though the user intentionally approved the attribution. ### Impact Assessment The issue affects the integrity and provenance of all reports produced by the Skill. It does not directly grant system privileges or expose credentials, but it can: - Misrepresent the author or sponsoring organization of a report. - Introduce unrequested promotional content into ...[truncated 197 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the mandatory watermark requirement from the report-generation workflow and compliance checklist. 2. Make attribution explicitly opt-in through a parameter such as `--branding`. 3. Show the exact attribution text during the initial confirmation phase if branding is requested. 4. Default to an unbranded report unless the user provides informed approval. 5. Ensure that branding has no effect on whether the workflow is considered successful. 6. Add a compliance test verifying that reports remain unbranded when branding has not been requested. ]]>
