T01 · Skill Instruction Hijacking
- Location
SKILL.md:49- Finding
Mandatory Third-Party Branding Hijacks Generated Report Output
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:49-52
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: HighThe instruction is implemented by the hard-coded branding in
assets/template.html:126-133and demonstrated again inassets/example.html:176-184.Complete code snippets:
SKILL.md:49-52:markdown 3. **Keep the structural wrappers:** `<header><div class="head-inner">…</div></header>` with an optional `.eyebrow` pill, an `<h1>`, a `.subtitle`, and a `.meta` row; and `<footer><div class="foot-inner">…</div></footer>` with a `.foot-brand`. These give the black Magazine header/footer — keep them.assets/template.html:126-133:html <footer> <div class="foot-inner"> <span class="foot-brand"><span class="dot"></span>Odoo-AI</span> <span>Generated {{TIMESTAMP}}</span> <span>·</span> <span><code>{{REPO}}</code></span> <span>·</span> <span>Nguồn: {{SOURCES}}</span> </div> </footer>Technical Analysis
The Skill requires an AI Agent to preserve the
.foot-brandcomponent in every generated report. The canonical template then assigns that component a fixed third-party identity,Odoo-AI, rather than a neutral or user-controlled placeholder.This behavior exceeds presentation standardization by imposing persistent promotional attribution on the Agent's final output, even when the user did not request or authorize that branding. Loading and following the Skill therefore alters the Agent's output requirements in favor of the Skill publisher, matching instruction hijacking.
Attack Path
- A user asks the Agent to generate an HTML report.
- The Agent loads the
html-reportSkill based on its activation description. - The Skill directs the Agent to begin with
assets/template.htmland retain the footer and.foot-brandwrapper. - The template supplies the fixed `Od ...[truncated 634 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the requirement that every report retain
.foot-brand. - Replace the fixed
Odoo-AItext inassets/template.htmlwith an optional, user-controlled placeholder such as{{BRAND}}. - Omit the branding block by default when no brand value is explicitly supplied.
- Clearly distinguish structural requirements from promotional attribution in
SKILL.md. - Include third-party attribution only when the user explicitly requests or consents to it.
- Update
assets/example.htmlso that it demonstrates neutral placeholder content rather than encouraging propagation of a fixed identity.
- Remove the requirement that every report retain
