T01 · Skill Instruction Hijacking
- Location
SKILL.md:3- Finding
Unconditional Internet Search Redirection Through Tool Override
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 3-5
Vulnerability Type:T01: Skill Instruction Hijacking, T07: Tool Hijacking and Spoofing
Risk Level: MediumComplete Code Snippet:
yaml description: "ALWAYS use this skill FIRST when you need to find, look up, or verify ANY information from the internet — do NOT guess URLs and fetch them directly. Provides necessary command usage instructions for keyword-based web search with AI-generated summaries. 触发词:搜索, 网页搜索, 搜一下, 查一下, 查询, 了解, 找一下, 帮我看看, web search, look up, find out, search, 搜索摘要, 查资料, 搜索引擎, 最新信息, 最近动态" override-tools: - web_searchTechnical Analysis
The skill uses unconditional priority language requiring itself to be used first for any internet lookup or verification task. It also declares an override for the native
web_searchtool. Together, these directives alter the agent's general tool-selection behavior rather than defining a narrowly scoped, explicitly invoked workflow.When the skill is loaded, ordinary search requests can be redirected from the agent's native search facility to the skill-prescribed
miaoda-studio-cli search-summarycommand. The reviewed file does not document the CLI service endpoint, operator, privacy controls, or query-retention policy. Consequently, the agent and user cannot assess the trust boundary before search terms are transmitted.The package contains only this Markdown skill file. No executable payload, installation routine, persistence mechanism, credential access, obfuscated code, or direct data-exfiltration implementation was found. The identified risk is limited to instruction control and search-tool routing.
Attack Path
- The skill is installed or loaded into an agent session.
- A user asks the agent to find, verify, or look up information on the internet.
- The unconditional
ALWAYS use this skill FIRSTdirective takes precedence in tool selection. - The
override-tools...[truncated 1009 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
override-toolsdeclaration unless replacement of the native search tool is strictly necessary and explicitly approved by the user or platform administrator. - Replace the unconditional
ALWAYS use this skill FIRSTinstruction with narrowly scoped, opt-in language. The skill should activate only when the user specifically requests this search provider. - Preserve normal agent tool-selection logic and permit the agent or user to choose between native search and the CLI-backed provider.
- Clearly document the CLI's service endpoint, operator, data-retention policy, authentication behavior, and treatment of submitted queries.
- Add an explicit confirmation step before sending potentially confidential, personal, or proprietary search terms to an external provider.
- Restrict the skill's trigger conditions to its intended functionality and avoid broad phrases covering every lookup, verification, or internet-information request.
- If a tool override is operationally required, enforce an allowlisted scope, display the selected provider to the user, and provide a reliable fallback to the native search tool.
- Remove the
