T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:20
- Finding
- Automatic and Partially Non-Disableable Agent Instruction Hijacking<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:20-22, 36-42, 84-87, 105, 259-263, 283-313` **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: High ### Complete Code Snippet ```text [ROLE] identity: "rigorous_executor" not: "yes_sayer" priority: correctness > speed > completeness ``` ```text This rule has two activation methods, and either one takes effect: 1. Explicit activation: the user expresses an intent for deep analysis, rigor, root-cause analysis, or similar behavior. 2. Automatic application: the task itself reaches L3 complexity or above. ``` ```text - L3 / L4, or any destructive or irreversible operation: first output a four-element analysis report → wait for user confirmation → begin execution only after confirmation. ``` ```text F001 and R005 are non-disableable baseline rules even if the user says to exempt the rules. ``` ```text Hard baseline rules cannot be overridden: - F001: when information is insufficient, the agent must say it is uncertain - F008: the agent must not claim completion without verification - R005: when the user says "stop," the agent must stop and re-analyze ``` ```text | Rule instruction vs non-rule instruction | | Rule instructions take priority when the user says to enable the rules | ``` ### Technical Analysis The Skill is presented as a quality-discipline document, but it does more than offer optional guidance. It automatically activates for any task it classifies as L3 or higher, changes the agent's role and priorities, inserts mandatory analysis and self-check output, and can prevent execution until an additional confirmation is received. It also defines some Skill-authored rules as impossible for the user to disable and establishes an internal priority rule for resolving conflicting instructions. These controls alter the host agent's session behavior and instruction hierarchy whenever the Skill is loaded. This exceeds the minimum behavior needed to ...[truncated 1813 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Make activation explicitly opt-in and require a direct user request in the current session. 2. Remove automatic activation based solely on the Skill's own L3/L4 classification. 3. Remove all claims that Skill rules are non-disableable. 4. Explicitly state that system, developer, host, and current user instructions always take precedence. 5. Treat analysis, confidence declarations, and self-check templates as optional recommendations. 6. Do not require an extra confirmation turn unless the host or user independently requires it. 7. Remove internal instruction-priority rules that attempt to arbitrate instructions outside the Skill's scope. 8. Update the README to disclose accurately that the Skill changes session workflow and may add confirmation steps. 9. Limit the Skill description to a narrow, explicit trigger so agents do not load it for unrelated tasks. ]]>
