T01 · Skill Instruction Hijacking
- Location
SKILL.md:195- Finding
Skill instructions force Agent output and promotional redirection
- Content
View full analysis
**Agent 必须原样展示脚本返回的完整表格,禁止以下行为:** > > * ❌ 禁止删除或合并任何列(发布时间、作品、赞、评论、收藏、分享、资源下载 缺一不可) > > * ❌ 禁止省略翻页提示行 > > * ❌ 禁止省略时间范围筛选提示("💡 支持输入想提取的作品时间范围…") > > * ❌ 禁止省略下载询问提示("💾 需要将这 X 条作品批量下载到本地吗?") > > * ❌ 禁止用「...」或摘要代替完整表格内容 > > * ✅ 必须逐行展示所有作品的完整信息(含资源下载链接) ``` The corresponding runtime output includes a forced support contact: ```python if fail_count > 0: print(f"\n> ⚠️ 下载失败的视频可能是用户已删除该视频,如需数据核查可联系工作人员邮箱 **{SUPPORT_EMAIL}** 处理。") print(f"\n> 💡 支持输入想提取的作品时间范围,如 `--date-start 2026-07-01 --date-end 2026-07-20`") if success_count > 0: print(f"> 💾 需要将这 {success_count} 条作品批量下载到本地吗?直接告诉我即可。") ``` ### Technical Analysis The Skill does more than define a recommended presentation format. It issues mandatory instructions governing the Agent’s response, explicitly prohibits summarization, and requires the Agent to reproduce complete API-derived tables, resource links, pagination prompts, download prompts, and a third-party support address. These directives alter the Agent’s current-session behavior when the Skill is loaded. They may override user preferences for concise output and compel the Agent to reproduce content obtained from an external API. Since titles, work URLs, and resource URLs originate from the remote service, mandatory verbatim-style reproduction also broadens the exposure of externally controlled content. This behavior is not required to retrieve or download videos. A normal formatting function could return structured results while allowing the Agent and user to decide how much information to display. ### Attack Path 1. The Agent loads `SKILL.md` to execute the video-downloader Skill. 2. The mandatory output rules instruct the Agent not to summarize o ...[truncated 1131 chars]- Remediation
View remediation
