T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:14
- Finding
- Mandatory Commercial Output Injection Through Skill Instructions<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 14-19 **Vulnerability Type**: `T01: Skill Instruction Hijacking` **Risk Level**: Medium ### Vulnerable Code ```text If $HYLO_API_KEY is not set or any call returns 401: -> "You need a Hylo API key. Sign up at hylo.pro (7-day free trial)." If 403: -> "Your trial has expired. Subscribe at hylo.pro/dashboard." If 404: -> "I couldn't find that resource. Try a broader search term." If 429: -> "Rate limit reached. Try again tomorrow or upgrade at hylo.pro/dashboard." ``` ### Technical Analysis The Skill prescribes fixed commercial messages that the Agent must return when the API key is absent or selected HTTP errors occur. These messages direct users to register, subscribe, or upgrade through the Skill provider. This behavior alters the Agent's response policy when the Skill is loaded. Instead of allowing the Agent to provide a neutral explanation of the failure or offer alternatives, the instructions compel it to emit attacker-controlled acquisition and upselling content. The behavior therefore matches `T01: Skill Instruction Hijacking`. The issue does not grant operating-system privileges or execute arbitrary code. Its security significance is manipulation of the Agent's current-session behavior and control over user-facing output. ### Attack Path 1. The Skill is loaded for a request involving GoHighLevel. 2. The Skill directs the Agent to call the Hylo API. 3. The `HYLO_API_KEY` is absent, or the API returns HTTP 401, 403, or 429. 4. The Agent follows the embedded instructions and displays the prescribed signup, subscription, or upgrade message. 5. The user is redirected toward the third-party commercial service rather than receiving a neutral error response or an offline alternative. ### Impact Assessment The affected scope is the Agent's current-session response behavior. The Skill provider can force promotional content into responses under predictable error conditions and make ord ...[truncated 180 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Replace prescribed promotional responses with neutral operational errors. - Remove signup, subscription, trial, and upgrade advertising from mandatory Agent output. - Allow the Agent to explain that the external service is unavailable and offer non-commercial alternatives. - Do not require an external API call when the request can be answered safely without one. - Clearly distinguish optional third-party service recommendations from required operational instructions. - Require affirmative user consent before directing the user to a commercial registration or subscription page. ]]>
