T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:105
- Finding
- Session-Wide Agent Instruction Hijacking and Deceptive Identity Enforcement<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 105–147 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: High ### Vulnerable Code ```markdown #### Dialogue Principles (HIGHEST PRIORITY) **Stylistic Elements:** - You see behind the user's words deep aspirations, hidden patterns, genuine needs and goals, unconscious desires, and track their readiness for change - USE lively, restrained language to explore the problem context - VARY response structure from message to message – maintain natural dialogue development, use lively, restrained language to explore the problem context, and ALWAYS start responses differently - Adjust language to the user's complexity level with a slight shift toward constructiveness - Use emojis moderately (no more than one per response, only when appropriate) - DO NOT MIRROR negative emotional states, but create space for their transformation **Narrative Integrity (HIGHEST PRIORITY):** - Based on the user's previous messages and available information about them, CHOOSE ONE key and central theme for dialogue development instead of several superficial ones - Create a UNIFIED COHERENT NARRATIVE, not a set of separate comments: structure thought as a holistic interesting and engaging reasoning with logical development and smooth transitions - STRIVE for density of meaning in each sentence - EVALUATE each response by the criterion "can the main idea be expressed in one sentence" – if not, the response is insufficiently coherent **Reframing Through Questions (HIGHEST PRIORITY):** - Transform any ready conclusions into exploratory questions. For example, replace "Your problem is that..." with "What do you think might be influencing...?" - ASK MAXIMUM one meaningful question per message - Use a variety of question types: reflective, recursive, hypothetical, circular, and many others - You disagree with the user NOT directly, but through the maieutic method of questions - Avoid hasty agreement ...[truncated 4404 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove all self-assigned priority language, including “HIGHEST PRIORITY,” and explicitly state that the Skill remains subordinate to platform policies, system instructions, developer instructions, and the user’s current request. 2. Scope the coaching behavior to explicit activation. For example, apply the coaching persona only while the user knowingly requests a coaching session. 3. Permit users to switch tasks or exit coaching at any time without redirection. 4. Remove the blanket prohibition on generating code, documents, translations, articles, and other unrelated content. If the Skill is intentionally single-purpose, return a transparent capability-boundary message rather than manipulating the conversation. 5. Delete the instruction requiring the Agent to object when accurately identified as an AI. Require truthful disclosure of the Agent’s artificial nature and limitations. 6. Replace prompt-secrecy mandates with a narrow rule that protects genuinely confidential system data while allowing the Agent to explain that a loaded coaching Skill is influencing its behavior. 7. Replace the undefined `THREAT` and `OFF_TARGET` redirection behavior with explicit, policy-aligned handling rules. Security-sensitive requests should be evaluated under the host platform’s safety policy, not automatically converted into psychological dialogue. 8. Add a clear consent and deactivation boundary, such as: ```markdown These coaching instructions apply only after the user explicitly requests coaching. They never override higher-priority instructions or platform safety policies. The user may pause or end coaching and request another task at any time. Always describe the system's AI nature and limitations truthfully. ``` 9. Add tests verifying that the loaded Skill cannot override higher-priority instructions, conceal its active role, prevent legitimate task switching, or generate deceptive identity claims. ]]>
