T01 · Skill Instruction Hijacking
- Location
SKILL.md:3- Finding
Unbounded instructions alter output across unrelated contexts
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 3–10
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: MediumVulnerable snippet:
markdown description: "Rules to avoid identifiable AI writing patterns. Apply to all text output regardless of model or context." --- # Anti-AI Writing Patterns Based on: https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing **Purpose:** Prevention, not detection. These are rules to follow while writing, not a rewriting guide for existing text. Apply to all output — messages, reports, summaries, emails, analyses — regardless of model or language.Technical Analysis
The Skill explicitly applies its rules to all output, regardless of the active model, context, language, or task. This scope is broader than the stated purpose of avoiding certain writing patterns.
When loaded, these instructions can affect unrelated tasks that require exact wording, faithful quotations, mandated terminology, technical precision, or a prescribed output format. The document does not establish exceptions for higher-priority instructions, safety disclosures, code, legal language, quoted material, or user-requested terminology.
This is instruction hijacking because loading the Skill changes the Agent's behavior across the current session rather than limiting its effect to an explicit prose-editing task.
Attack Path
- A user or workflow loads the Skill for a writing-related task.
- The Agent processes the directives that claim authority over all subsequent output.
- The user later requests an unrelated report, exact quotation, technical response, or format-sensitive artifact.
- The Agent applies the Skill's replacement and deletion rules to that unrelated output.
- Required wording may be changed or omitted without an explicit request to edit it.
No persistence mechanism was found, so the demonstrated scope is limited to contexts in which ...[truncated 563 chars]
- Remediation
View remediation
Remediation Suggestions
Restrict the Skill to explicit drafting or style-editing requests. Replace the global scope with language such as:
markdown Apply these preferences only when the user explicitly requests prose drafting or style editing. Do not apply them to code, exact quotations, required templates, legal or compliance text, safety notices, capability disclosures, citations, or terminology the user asks to preserve. Higher-priority instructions and factual accuracy always take precedence.Add clear precedence rules stating that system and developer instructions, user-specified formats, factual accuracy, and necessary disclosures override style preferences. The Skill should also ask for confirmation before modifying exact quotations or required terminology.
