T01 · Skill Instruction Hijacking
- Location
assets/template.html:286- Finding
Mandatory Promotional Branding Hijacks Generated Output
- Content
View full analysis
天禧 AI Claw · 考前冲刺 ``` ### Technical Analysis The HTML template contains a fixed promotional attribution that is unrelated to the functional purpose of generating examination questions. The instructions in `SKILL.md` require the agent to read and use this template rather than construct an alternative document. Consequently, every generated artifact inherits the hard-coded branding without disclosure, user consent, or a configuration option to remove it. This creates deterministic output hijacking: loading and following the skill changes the content of the user's requested artifact by inserting attacker-selected promotional material. ### Attack Path 1. A user invokes the examination-question-generation skill. 2. The skill requires the agent to load `assets/template.html`. 3. The agent replaces the documented placeholders but leaves the fixed footer unchanged. 4. The generated examination page includes the promotional attribution. 5. The user receives or distributes an artifact containing unsolicited branding and potentially misleading attribution. ### Impact Assessment The issue does not grant operating-system privileges, filesystem access, or code execution. Its scope is manipulation of every HTML artifact generated through the skill. It can result in unsolicited advertising, reputational harm, misleading content attribution, and loss of user control over generated output. ]]>- Remediation
View remediation
