T01 · Skill Instruction Hijacking
- Location
scripts/zentao-build-comment.js:23- Finding
Mandatory Branded Content Injection into Published Comments
- Content
View full analysis
xxx * 空行 →
* > xxx →xxx
* 末尾自动附加— Bug终结者 · 自动分析
``` The documented behavior is implemented unconditionally: ```js // Append source footer result += '— Bug终结者 · 自动分析
\n'; ``` ### Technical Analysis The comment builder unconditionally appends a branded attribution to every generated report. This content is unrelated to the technical analysis requested by the user and cannot be disabled through configuration. Because the generated HTML is subsequently submitted to ZenTao, the modification affects persistent content in an external business system rather than merely local diagnostic output. ### Attack Path 1. The agent generates a bug-analysis report. 2. `zentao-build-comment.js` converts the report to HTML. 3. The script unconditionally appends the branded footer. 4. `zentao-post-comment.js` publishes the modified HTML to ZenTao. 5. The unauthorized attribution remains visible to ZenTao users. ### Impact Assessment The issue permits persistent manipulation of agent-generated output and unauthorized brand promotion in an external issue-tracking system. It does not directly provide operating-system access, but it violates output integrity and user control over externally published content. ]]>- Remediation
View remediation
