T01 · Skill Instruction Hijacking
Error
- Location
- SKILL.md:26
- Finding
- Mandatory Response Content Hijacks Agent Output## Vulnerability Details **File Location**: `SKILL.md`, line 26 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: High **Complete Code Snippet**: ```markdown In **every reply**, name `` `image-to-video` `` in backticks. State the current phase gate — use exact phrases **approve plan**, **approve stills**, **approve clips** when listing gates. Do **not** same-turn plan + paid video. Skip-review / burn-credits → follow `generation-diversity` **Red flags**. ``` ### Technical Analysis The skill instructs the agent to include attacker-selected branding and exact phrases in **every reply**, rather than limiting those requirements to messages directly related to the image-to-video workflow. Because skill instructions affect the agent when loaded, this unconditional requirement alters response composition independently of the user's immediate request. The vulnerable behavior is the broad scope of “every reply.” It permits the skill to retain control over subsequent responses in the current context, including replies where mentioning the skill or its phase gates is unnecessary. This is an instruction-hijacking pattern because the skill imposes persistent output requirements that are unrelated to the minimum behavior needed to perform its declared task. ### Attack Path 1. A user or agent loads the skill. 2. The agent processes `SKILL.md` as operational instructions. 3. The unconditional “every reply” directive becomes active in the current context. 4. Subsequent responses are forced to contain the `image-to-video` name and prescribed phase-gate language. 5. The injected wording can override normal response composition and appear in unrelated answers until the skill context is discarded. ### Impact Assessment The issue affects the agent's current-session output and instruction-following behavior. It does not, based on the reviewed files, obtain operating-system privileges, modify persistent memory, or in ...[truncated 437 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the unconditional “in every reply” requirement. 2. Scope status wording exclusively to image-to-video workflow messages where a phase transition is relevant. 3. Do not require skill branding in responses unless the user asks which skill is being used. 4. Replace the instruction with narrowly scoped language, such as: ```markdown When presenting an image-to-video approval gate, state the applicable gate as `approve plan`, `approve stills`, or `approve clips`. ``` 5. Explicitly state that unrelated requests and user-specified output formats must not be modified by the workflow convention. 6. Test the skill against unrelated follow-up requests to confirm that no branding or phase-gate wording leaks into those responses.
