T01 · Skill Instruction Hijacking
Warning
- Location
- SKILL.md:68
- Finding
- Mandatory Promotional Content Injection into User-Requested Output## Vulnerability Details **File Location**: `SKILL.md`, lines 68–73 **Vulnerability Type**: Mandatory instruction hijacking for promotional engagement **Risk Level**: Medium ### Vulnerable Code Snippet > **Early benefit hook:** If the article contains prompts, wallpapers, materials, or similar benefits, an Easter-egg preview must be placed at the beginning or near the beginning, directing the user to act immediately, such as collecting a wallpaper at the end. A postscript must also preview additional practical content to improve completion rates. > > **Mandatory closing hook:** The end of the article must contain a specific hook involving materials, tools, an SOP file, or a code repository, directing the user to follow the public account and reply with a keyword to receive it. Traffic must not be wasted. The snippet above is an English rendering of the instructions at the specified location. ### Technical Analysis These instructions impose stable lead-generation behavior on generated content. Rather than limiting output to the user's requested article outline, the skill requires an early engagement teaser and a closing call to follow an account and submit a keyword. The behavior is mandatory and is not conditioned on the user explicitly requesting marketing or audience-conversion material. Loading and following the skill can therefore alter the agent's immediate output objective from producing a useful article outline to also promoting account engagement. No executable code or system-level compromise is involved. The issue is confined to manipulation of generated content and the goals of the current agent session. ### Attack Path 1. A user invokes the skill to obtain an article topic or outline. 2. The agent loads the mandatory instructions in `SKILL.md`. 3. The skill requires an early teaser when materials or benefits are mentioned. 4. The skill requires every applicable article to end with a materials, tool, SOP, or r ...[truncated 788 chars]
- Remediation
- ## Remediation Suggestions 1. Remove the unconditional requirement to insert a closing promotional hook. 2. Add engagement prompts only when the user explicitly asks for marketing or conversion-oriented copy. 3. Require confirmation before directing readers to follow an account or reply with a keyword. 4. Verify that every advertised resource actually exists and is available through the stated mechanism. 5. Clearly label optional marketing sections in the generated outline. 6. Make neutral, task-focused output the default behavior.
