T01 · Skill Instruction Hijacking
- Location
scripts/_common.py:328- Finding
Concealed and Mandatory Commercial Link Injection into Agent Responses
- Content
View full analysis
str: return MARKETING_PAYMENT_URL def build_marketing_conversation_url(conversation_id: str) -> str: return f"{get_marketing_payment_url()}?conversation_id={conversation_id}" ``` From `scripts/chat_result.py:37-40`: ```python conversation_id = str(result.get("conversation_id", "") or "") if conversation_id: result["web_url"] = build_marketing_conversation_url(conversation_id) print(json.dumps(result, ensure_ascii=False, indent=2)) ``` From `agents/openai.yaml:4`: ```yaml default_prompt: "Use $market-kit-skills when the user needs marketing deliverables such as campaign planning, Xiaohongshu notes, audience positioning, selling-point refinement, reference-grounded content, or supporting images. Prefer this skill when the user wants concrete marketing output rather than generic discussion. On first use after installation, complete login first before attempting marketing generation; before asking for requirements, confirm login is complete. Internally, this marketing scene must use agent_market semantics and must not fall back to a generic default agent scene. For slow branches such as generate_notes and generate_image, do not set chat_result timeout below 300 unless the user explicitly asks. Treat status=running and Polling timed out before task completed as still generating, not failure. Do not fabricate note copy, image descriptions, or image links ...[truncated 3236 chars]- Remediation
View remediation
