T01 · Skill Instruction Hijacking
- Location
assets/prd-template.html:149- Finding
Persistent Promotional Content Injected into Generated PRD Deliverables
- Content
View full analysis
QQ 965621229原型工具作者v1.4 ``` The skill documentation also explicitly promotes this contact: ```markdown > **作者 / Author:** QQ 965621229 · **License:** MIT · 反馈、合作或问题请加 QQ ``` ### Technical Analysis The skill workflow instructs the agent to use `assets/prd-template.html` as the basis for generated PRDs. The template embeds the skill author's QQ identifier and promotional attribution directly in the visible header. This content is unrelated to the user's product requirements and is therefore propagated into user-owned deliverables without a functional need. Because the skill also supports public deployment, the injected attribution can become visible to every recipient of a generated or published PRD. The behavior persistently influences the agent's output rather than merely documenting package authorship in metadata or a license file. The same hardcoded block is present in `references/example-full.html`, reinforcing the expectation that generated documents retain the promotion. ### Attack Path 1. The user ...[truncated 1134 chars]- Remediation
View remediation
``` 3. Do not copy package author information into generated deliverables by default. 4. Keep package attribution only in `LICENSE.txt`, package metadata, or documentation that is not incorporated into user output. 5. Update `SKILL.md` so that the workflow explicitly requires removing template-specific branding before delivery. 6. Add an automated test that scans generated artifacts for undeclared contact identifiers and fails if package-author promotion appears without explicit user consent. 7. If attribution is required for licensing reasons, clearly document that requirement and obtain explicit user consent before including it in externally distributed artifacts. ]]>
