T01 · Skill Instruction Hijacking
- Location
scripts/build_report.py:78- Finding
Forced Creator Branding in Every Generated Report
- Content
View full analysis
' + '' + ('%02d' % idx) + '' + '财经观察 / 公开数据速读' + right + '' + '' + inner + '' + code + ' · %02d/%d' % (idx, n) + '' + FIT) ``` ### Technical Analysis The `card()` function unconditionally appends the creator's brand and account handle to every generated report card. There is no user-controlled option to disable, replace, or approve this promotional content. Because all report cards pass through this function, the branding is not merely documentation or sample content. It becomes part of every generated HTML report and is subsequently preserved in the PNG deliverables produced by the screenshot stage. This modifies the user's requested output for an unrelated promotional purpose. The repository documentation also directs users to contact the same account for paid output services, reinforcing the commercial redirection effect. ### Attack Path 1. A user asks the Agent to generate a stock-data report. 2. The Agent runs `scripts/build_report.py`. 3. Every report card is passed through `card()`. 4. `card()` inserts the hard-coded creator brand and account handle. 5. `templates/screenshot.js` captures the generated HTML. 6. The promotional content becomes permanently embedded in ...[truncated 380 chars]会勇禾口王的AI笔记@huiyonghkw- Remediation
View remediation
