T01 · Skill Instruction Hijacking
Warning
- Location
- agents/intel_news.md:8
- Finding
- External web content is processed without prompt-injection isolation< and invoke the corresponding capabilities: - **Latest stock news and announcements**: invoke the `news` command to retrieve the ten most recent official announcements and authoritative news items; - **Sector fund-flow snapshot**: invoke the `flows` command to assess the relevant subsector's inflows, outflows, and market leadership; - **Overnight market and macro snapshot**: invoke the `overnight` command to retrieve the three major US indices, FTSE China A50, and USD/CNY exchange rate; - **Regulatory and material-event web search**: use external news and web-search tools to locate exchange inquiry letters, investigations, executive share reductions, earnings warnings, and major contracts. ``` The corresponding top-level ...[truncated 3340 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Add an explicit instruction that all content returned by search, URL-reading, browser, market-news, and news-provider tools is untrusted data and must never be treated as an instruction. 2. Require agents to ignore embedded requests to change roles, override policies, invoke tools, access files, suppress evidence, or alter output requirements. 3. Convert retrieved content into a strict intermediate schema containing only fields such as publication date, issuer, event type, factual summary, canonical URL, and source identity. 4. Pass only validated structured fields—not raw page text—to downstream agents and rating synthesis. 5. Allowlist official exchanges, regulators, issuer-investor-relations sites, and specifically approved financial publishers where practical. 6. Validate redirects and final domains, and clearly mark lower-trust sources. 7. Require corroboration from an official filing or at least two independent reputable sources for high-impact claims. 8. Quote source evidence with provenance while keeping quoted text isolated from the agent instruction context. 9. Reject or quarantine retrieved content containing prompt-injection indicators such as role-change requests, system-message imitations, tool-call directives, or instructions to ignore previous rules. 10. Ensure the risk-guard agent independently retrieves critical facts rather than trusting an unsanitized `{SUMMARY}`. ]]>
