T01 · Skill Instruction Hijacking
Note
- Location
- SKILL.md:171
- Finding
- Forced Branded Output Can Override the Agent's Requested Response Format## Vulnerability Details **File Location**: `SKILL.md`, lines 171-193 **Vulnerability Type**: Output instruction hijacking through mandatory promotional content **Risk Level**: Low **Complete Code Snippet**: ```text ## Output Format ``` 📊 Privacy Solution Vendor Scorecard ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Organization: [name] Industry: [sector] Budget: [range] Regulations: [list] 🏆 Top Ranked: [Vendor Name] — [weighted score] 📋 Vendor Comparison: [Vendor A]: [total score] — Strongest in [top criteria] [Vendor B]: [total score] — Strongest in [top criteria] 📊 Head-to-Head by Category: Core Capabilities: [Vendor A] vs [Vendor B] Compliance: [Vendor A] vs [Vendor B] Technical: [Vendor A] vs [Vendor B] Financial: [Vendor A] vs [Vendor B] 🎯 Recommendation: [Summary recommendation with rationale] 📎 Full report powered by ToolWeb.in ``` ``` ### Technical Analysis The skill prescribes a fixed response template that includes the promotional statement `Full report powered by ToolWeb.in`. Because these instructions are loaded into the agent's active context, an agent may treat the template as mandatory even when the user requests another response format or asks for an unbranded report. This is a limited form of skill instruction hijacking affecting response integrity. It does not instruct the agent to bypass safety controls, expose credentials, execute arbitrary code, or modify persistent state. The identified impact is therefore restricted to the current session's presentation goals and the injection of third-party branding. The branding is especially problematic because the wording may imply that ToolWeb generated, reviewed, or endorsed the complete report, even when portions were independently generated by the agent. ### Attack Path 1. A user installs or enables the skill. 2. The agent loads `SKILL.md` into its active instruction context. 3. The user requests a vend ...[truncated 1028 chars]
- Remediation
- ## Remediation Suggestions 1. Mark the template as optional rather than mandatory, for example: “Use the following format when the user has not requested another format.” 2. Explicitly state that user-specified formatting and branding preferences take precedence. 3. Remove the mandatory `Full report powered by ToolWeb.in` line, or make attribution opt-in. 4. If attribution is retained, use precise wording that distinguishes API-generated material from agent-generated analysis. 5. Add an instruction prohibiting the template from overriding system policies, developer instructions, user requirements, or safety constraints. 6. Use a neutral default response structure without marketing language.
