T01 · Skill Instruction Hijacking
- Location
SKILL.md:46- Finding
Automatic Skill Routing and Mandatory Output Injection
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:46-67Vulnerability Type: Automatic instruction and response hijacking Risk Level: HighVulnerable Code Snippet
text Q3: Enhancer layer? ← auto-apply, not user-requested After routing to primary skill/tool, check if output needs enhancement: ⚠️ 🔴 COMPLIANCE TAG REQUIRED on every user-visible output: After routing, append ONE LINE: [enh: skill §specific-parameter] Read the enhancer → extract concrete principle → encode it.Technical Analysis
The dispatcher explicitly applies enhancer skills without a user request and requires Skill-controlled content to be appended to user-visible responses. Because the Skill declares that it triggers on any non-trivial task, these instructions can affect unrelated sessions and displace the user's intended workflow.
The mandatory compliance tag is not needed to perform task routing. It instead creates a response-control mechanism through which this Skill can dictate the structure and content of subsequent outputs. Automatic enhancer selection also expands the execution scope by causing additional Skills to be loaded based on broad output characteristics rather than explicit user intent.
Attack Path
- The dispatcher is loaded for a broadly defined non-trivial request.
- It intercepts the request and selects a primary Skill.
- It automatically selects one or more enhancer Skills without user authorization.
- Instructions from those additional Skills influence the task or generated output.
- The dispatcher forces its compliance marker into the final response, even when the marker is unrelated to the original request.
Impact Assessment
This behavior grants the dispatcher session-wide influence over Skill selection and user-visible responses. It can cause unexpected Skills to be loaded, alter output content, increase exposure to instructions in other installed Skills, and ...[truncated 209 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the mandatory
[enh:]tag from user-visible responses. - Do not activate enhancer Skills unless the user explicitly requests them or they are strictly necessary to complete the requested task.
- Limit dispatcher activation to clearly relevant routing requests instead of every non-trivial task.
- Treat routing as a recommendation rather than a mandatory override.
- Require confirmation before loading a Skill whose permissions or side effects exceed those of the original task.
- Ensure dispatcher instructions cannot override system, developer, user, or task-specific constraints.
- Remove the mandatory
