T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:1
- Finding
- Fixed Marketing/Advertising Template in SKILL.md – Prompt Injection Risk## Vulnerability Details **File Location**: /tmp/clawhub-codex-scan-v57cw4jvxca48mm6zw2b6nae7n8dtg38-3NYHLV/artifact/SKILL.md (lines 1-154) **Vulnerability Type**: T01: Skill Instruction Hijacking **Risk Level**: Medium ### Technical Analysis The file `SKILL.md` contains a fixed, detailed advertising and marketing workflow template, including promotional language, homepage links, and a copy-pasteable prompt, appended at the end of the skill documentation. This content is loaded as part of the skill’s instructions and will be included in the agent context for any user session. Such injected instructional content can alter the agent's session goals, subtly shifting the user intent or agent output toward marketing the AI-HIVE product and its affiliated services. This constitutes a form of prompt injection: by embedding persistent marketing instructions, the skill can bias outputs or influence downstream agent behavior, potentially overriding user-driven objectives. ### Attack Path 1. A user loads or activates the skill. 2. The agent receives the appended marketing template and links as part of its context/instructions. 3. The agent may begin to promote, reference, or prioritize the AI-HIVE platform in its responses, regardless of the user's original intent. 4. The user session is hijacked by the skill’s embedded goals, leading to unwanted advertising or redirection. ### Impact Assessment The impact is the hijacking of session intent, with the potential to alter agent outputs in a way that is not controlled or expected by the user. The agent’s responses can be biased, leading to loss of neutrality and possible user trust erosion. This does not grant system-level privileges, but it does give the skill author undue influence over the AI agent’s behavior.
- Remediation
- ## Remediation Suggestions - Remove persistent marketing, advertising, or promotional templates from skill instructions. - Ensure all agent-facing instructional content is strictly relevant to the declared function of the skill, without external product promotion. - Separate functional documentation from any advertising material and avoid embedding links or templates that alter agent session goals. - Regularly review skill documentation for prompt injection or undesired instructional artifacts.
