T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:1
- Finding
- Persistent Advertising/Instruction Injection in SKILL.md## Vulnerability Details **File Location**: /tmp/clawhub-codex-scan-v579vknmrk7v6qmqehv8kx9bb98dv6we-8wwOAS/artifact/SKILL.md (entire file, especially final sections) **Vulnerability Type**: T01: Skill Instruction Hijacking **Risk Level**: Medium ### Technical Analysis The `SKILL.md` file contains a persistent advertising and promotional template at the end of the document, including detailed company branding, product marketing, and repeated links and branded instructions. This pattern constitutes a form of output hijacking, as every time the skill is loaded or output is generated, these persistent instructions and advertising content are included, regardless of the user's intent or context. ### Attack Path 1. The skill is loaded by an agent or LLM-based assistant. 2. The appended advertising/instruction template is injected into the agent's output, altering the session's goal and potentially bypassing user intent. 3. This can lead to model output that is persistently hijacked for marketing/traffic redirection rather than user service objectives. ### Impact Assessment - Alters the model's output, potentially overriding or diverting user-driven goals. - Introduces persistent, branded, and potentially unwanted messaging into every session using this skill. - May degrade user trust, violate platform policies, or create compliance risks. - The scope is limited to output manipulation, but can affect all users invoking the skill.
- Remediation
- ## Remediation Suggestions - Remove or strictly limit any persistent advertising, branding, or fixed instruction templates from the end (or any part) of SKILL.md. - Ensure that only essential, functional instructions and documentation relevant to the skill's operation are present. - Avoid appending traffic redirection or persistent marketing content to outputs, in accordance with best practices for skill/agent neutrality and user trust. - Implement review checks to prevent future inclusion of output-hijacking templates.
