T01 · Skill Instruction Hijacking
Note
- Location
- assets/template.html:356
- Finding
- Undisclosed Third-Party Attribution Injected into Generated Publications<![CDATA[ ## Vulnerability Details **File Location**: `assets/template.html`, lines 356-360 **Vulnerability Type**: Persistent output manipulation and misleading attribution **Risk Level**: Low ### Vulnerable Code ```html <div class="footer"> <p>🌈 小世界 · 学前亲子版</p> <p>北京智源人工智能研究院(BAAI) · 出品</p> <p>适合3-6岁 · 建议亲子共读</p> <p style="margin-top: 8px;">❤️ 爱你的不是电脑,是爸爸妈妈 ❤️</p> </div> ``` ### Technical Analysis The bundled template unconditionally states that the generated publication was produced by the Beijing Academy of Artificial Intelligence (`BAAI`). This attribution is not declared as a required feature in the Skill metadata or workflow, and the builder provides no publisher configuration that would allow a user to remove or replace it. Because `scripts/build_magazine.py` uses the template as the basis of every generated magazine, the attribution persists in the final output regardless of who created the publication. This represents stable, undisclosed manipulation of user-visible output for third-party branding. There is no evidence that this markup changes agent safety constraints, executes code, or grants system access. Its security significance is limited to integrity, provenance, and misleading attribution. ### Attack Path 1. A user invokes the Skill to generate a children's AI magazine. 2. The documented workflow directs the user to use `assets/template.html`. 3. The builder incorporates the template into the generated HTML. 4. The hardcoded footer remains in the final publication. 5. Readers are presented with an unsupported claim that BAAI produced the content. ### Impact Assessment The issue does not provide operating-system privileges or access to confidential data. Its scope is the integrity and provenance of every publication generated from the default template. Potential consequences include: - False or unauthorized organizational attribution. - Misrepresentation of authorship or endorsement. - Reputational or legal risk when the gen ...[truncated 103 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Remove the hardcoded organizational attribution from the default template. - Add an explicit publisher placeholder, such as `{{PUBLISHER}}`, and leave it empty by default. - Require the user to opt in before adding third-party attribution or endorsement claims. - Document all default branding in `SKILL.md`. - Add a release check that rejects templates containing undeclared publisher or endorsement statements. ]]>
