T01 · Skill Instruction Hijacking
- Location
SKILL.md:24- Finding
Mandatory Proactive Output Alters User-Driven Session Behavior
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 24-25
Vulnerability Type: Mandatory instruction that changes the agent's session behavior
Risk Level: MediumComplete Code Snippet:
md **On first load, the AI MUST proactively present this guide without waiting for the user to ask. Present the entire Quick Start in the user's language.**Technical Analysis
The Skill uses imperative instructions requiring the agent to generate content immediately upon loading, without a corresponding user request. This changes the agent's current-session goal from responding to the user into proactively presenting Skill-controlled content.
Proactive onboarding can be useful, but it is not required for the declared speed-reading guidance functionality. Making it mandatory violates least-behavior principles and creates an instruction-hijacking pattern. If similar mandatory directives were added later, the same mechanism could be used to force misleading, promotional, or otherwise unwanted output.
The directive does not contain commands to bypass platform safety policies, invoke tools, access files, or execute code. Its effect is limited to conversational behavior.
Attack Path
- The Skill is installed or loaded into an AI agent.
- The agent processes the mandatory first-load instruction.
- Before the user asks for speed-reading assistance, the agent emits the complete Quick Start content.
- The Skill thereby replaces normal user-driven interaction with Skill-author-controlled output.
Impact Assessment
The instruction can obtain control over the agent's initial conversational output and consume response context without user consent. It cannot obtain operating-system privileges, credentials, persistent memory, code execution, network access, or cross-session persistence based on the reviewed files.
The practical scope is the active conversation: unsolicited content may distract from the us ...[truncated 125 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory
MUSTdirective. - Do not emit onboarding content merely because the Skill was loaded.
- Present the Quick Start only when the user asks how to begin, requests the program, or provides an intent that clearly requires onboarding.
- Replace the directive with scoped guidance such as: “When the user requests onboarding, offer a concise Quick Start.”
- Explicitly state that platform policies, system instructions, developer instructions, and the user's current request take precedence over Skill guidance.
- Keep first-run content concise and allow users to decline or skip it.
- Remove the mandatory
