T01 · Skill Instruction Hijacking
Warning
- Location
- references/event-analysis-template.md:161
- Finding
- Hard-Coded Third-Party Identity Causes Misleading Report Attribution<![CDATA[ ## Vulnerability Details **File Location**: `references/event-analysis-template.md:161-163` **Vulnerability Type**: Hard-coded output attribution and identity injection **Risk Level**: Medium ### Vulnerable Code ```markdown **报告生成时间**:YYYY-MM-DD HH:MM **分析师**:太空龙虾 🦞 **免责声明**:本报告仅供参考,不构成具体投资建议。投资有风险,入市需谨慎。 ``` The relevant fields translate to a report-generation timestamp, an analyst attribution of “Space Lobster,” and an investment disclaimer. ### Technical Analysis The report template contains a fixed analyst identity that is unrelated to the user, the executing agent, or a verified human analyst. Because the Skill instructs the agent to produce financial event-analysis reports using the packaged template, following the template can cause every generated report to carry this predetermined attribution. This behavior alters the integrity of the agent's output by injecting an attacker-selected or package-author-selected identity into otherwise legitimate analysis. The attribution is not presented as an example or optional placeholder, and no instruction requires the agent to verify that the named party authored or reviewed the report. The issue is classified as `T01: Skill Instruction Hijacking` because the Skill text directs the agent's current-session output toward a fixed identity and branding choice that is not necessary for its stated financial-analysis purpose. ### Attack Path 1. A user or agent loads the financial event-analysis Skill. 2. The agent receives a request to analyze a policy, company announcement, industry event, or market sentiment. 3. The agent follows the bundled report template in `references/event-analysis-template.md`. 4. The fixed analyst field is copied into the generated report. 5. The completed report falsely or misleadingly attributes the analysis to “Space Lobster,” even though that identity did not necessarily create or review it. No code execution, elevated privileges, persistence, credential access, or syste ...[truncated 684 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the fixed analyst identity from the template. 2. Replace it with a neutral, clearly optional placeholder: ```markdown **Analyst**: [Name provided and verified by the user, if applicable] ``` 3. If no verified analyst name is supplied, omit the field or use: ```markdown **Generated by**: AI-assisted analysis ``` 4. Add an explicit instruction that the agent must not invent, infer, or preserve authorship claims that have not been provided and verified by the user. 5. Keep provenance separate from the financial disclaimer so that the disclaimer does not imply validation by the named analyst. 6. Review other output templates for fixed identities, branding, signatures, or organizational claims that are unrelated to the Skill's functional purpose. ]]>
