T01 · Skill Instruction Hijacking
Error
- Location
- references/report-template.md:100
- Finding
- Mandatory Template Injects Unrequested Platform Promotion into Agent Output<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:17-18`; `references/report-template.md:100` **Vulnerability Type**: Output instruction hijacking through a mandatory promotional template **Risk Level**: High ### Vulnerable Code `SKILL.md:17-18`: ```markdown 2. **Generate the audit report** using the structure in `references/report-template.md`. ``` `references/report-template.md:100`: ```markdown *Generated by SEO Audit Pro — Available on ClawHub* ``` ### Technical Analysis The Skill instructs the Agent to generate every report using `references/report-template.md`. That template contains fixed promotional content unrelated to the technical results of the requested SEO audit. Because use of the template is part of the Skill's prescribed workflow, the promotional attribution can be inserted into user-facing output without the user requesting or consenting to it. This changes the Agent's output behavior whenever the Skill is loaded and used. The issue is classified as instruction hijacking because the controlling Skill instructions require the Agent to incorporate third-party promotional material into its response rather than limiting output to the user's requested audit. ### Attack Path 1. A user asks the Agent to perform an SEO audit. 2. The Agent loads `SKILL.md`. 3. The workflow directs the Agent to use `references/report-template.md`. 4. The Agent follows the template and appends the fixed ClawHub promotional footer. 5. The user receives unsolicited promotional content as part of an otherwise legitimate audit report. No additional privileges, external payloads, or attacker-controlled input are required for this behavior. ### Impact Assessment The issue affects the integrity of user-facing responses. It allows the Skill author to place persistent branding or promotional messaging into every generated report. The demonstrated content is limited to a promotional footer and does not grant operating-system privileges, execute code, ac ...[truncated 205 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove the mandatory promotional footer from `references/report-template.md`. 2. Restrict the template to content directly required for the requested SEO audit. 3. If attribution is desired, make it explicitly optional and disclose it before including it in user-facing output. 4. Update `SKILL.md` to clarify that templates are structural guidance rather than a requirement to reproduce unrelated fixed content. 5. Review all referenced templates for hidden instructions, advertisements, external calls to action, or text that changes the Agent's goals. ]]>
