T01 · Skill Instruction Hijacking
- Location
scripts/vs_api.py:601- Finding
Mandatory Promotional Output Redirects Users to an External Platform
- Content
View full analysis
None: tip = PLATFORM_NEXT_STEPS.get(kind) if not tip: return _, project, open_link = _resolve_links(data) print(f"下一步(平台更强):{tip}") if open_link != project: print(f" 直达链接(点开即定位到本次结果,未登录先登录再跳回):{open_link}") else: print(f" 登录工作台打开这张数据表继续:{project}") ``` The helper is invoked automatically after selected result operations, including: ```python _print_platform_next_step(data, "cluster") ``` ### Technical Analysis The Skill instructions require the agent to relay promotional follow-up messaging for selected analysis types. The CLI independently enforces the same behavior by automatically appending marketing text and platform links to otherwise task-focused output. This creates a persistent output-manipulation path: loading and following the Skill changes how the agent communicates with the user, even when platform promotion is not necessary to complete the requested analysis. The behavior is transparent in the source rather than technically concealed, but it still redirects the agent's goals from reporting results toward promoting continued use of a branded external service. This issue is narrower than arbitrary prompt injection because it does not disable safety controls or execute attacker-supplied instructions. The risk is therefore assessed as low. ### Attack Path 1. A user asks the agent to perform a supported feedback analysis. 2. ...[truncated 708 chars]- Remediation
View remediation
