Back to skill

Security audit

多搜索引擎工具免费版

Security checks for vulnerabilities and agentic risk

Overview

This is mostly a search helper, but it asks for broad local file and command access and does not clearly disclose or control some external data flows.

Review this skill before installing. It appears intended for search, not malware, but it should not need broad shell and filesystem tools by default. Avoid using it with secrets, credentials, private company topics, regulated data, or arbitrary callback URLs unless the tool permissions and data sharing behavior are constrained.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:33
Finding

Overprivileged Tool Declaration for Search-Only Functionality

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 33–37
Vulnerability Type: Excessive agent tool permissions
Risk Level: Medium

The Skill declares the following tools:

yaml
tools:
  - read
  - exec
  - glob
  - grep

Technical Analysis

The declared functionality is limited primarily to encoding keywords, generating search-engine URLs, opening those URLs, and comparing search results. These operations do not require unrestricted command execution or broad access to the local filesystem.

The exec, read, glob, and grep tools provide substantially broader capabilities:

  • exec can run local commands with the privileges of the hosting Agent process.
  • read can expose files unrelated to the search task.
  • glob can discover files across accessible directories.
  • grep can search accessible files for credentials, configuration values, or other sensitive information.

The document contains examples that create a configuration file and perform a connectivity check, but these optional operations do not justify granting all listed tools for ordinary search requests. A constrained browser or HTTP capability is sufficient for the Skill's core purpose.

No instruction in the audited file directly orders the Agent to steal files or execute a malicious command. The risk arises because the excessive tools enlarge the consequences of malicious user input, prompt injection in retrieved search content, or incorrect Agent behavior.

Attack Path

  1. A user initiates a search through the Skill.
  2. The Agent opens a search result or processes attacker-controlled content returned by a search engine.
  3. The content contains prompt-injection instructions that attempt to redirect the Agent from the search task.
  4. Because the Skill declares glob, grep, and read, the influenced Agent may discover and inspect unrelated local files.
  5. Because exec is also available, the influenced ...[truncated 1215 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove exec, read, glob, and grep from the default tool declaration.
  2. Grant only a constrained browser or HTTP tool that permits navigation to an explicit allowlist of documented search-engine domains.
  3. Perform URL encoding through a built-in, non-shell utility rather than invoking command-line programs.
  4. If local configuration is necessary, expose a narrowly scoped configuration API restricted to a dedicated application directory instead of general filesystem tools.
  5. Require explicit user confirmation before creating or modifying files or running any connectivity diagnostic.
  6. Treat search results and retrieved pages as untrusted data. Prevent their contents from authorizing tool calls or changing system and Skill instructions.
  7. Apply URL validation, domain allowlisting, redirect controls, request timeouts, and response-size limits to outbound search requests.
  8. Run any unavoidable command execution in a sandbox with restricted filesystem access, no inherited secrets, limited network access, and a non-privileged operating-system identity.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill omits a clear warning that user queries are sent to third-party search engines over the network. That can lead users to disclose sensitive terms, company data, or private research topics to external providers without informed consent, creating a real privacy and data-governance risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Documenting a callback_url without warning about external transmission creates a significant data-exfiltration risk. An agent may send search inputs, outputs, or logs to an arbitrary remote endpoint controlled by a third party, which is especially dangerous because callback URLs are often dynamic and easy to abuse.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The free-version capability boundary says it does not support overseas search engines such as Google and DuckDuckGo, which frames the edition as domestically focused. However, the same skill defines and promotes Bing International, Ecosia, and WolframAlpha as supported engines, which are overseas services and materially broaden the stated scope beyond a domestic-only search tool.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger description says to use the skill when users need SEO optimization, keyword analysis, ranking improvement, or search traffic optimization, which is much broader than the documented capability of generating search-engine query links. It also lacks specific invocation phrases or clear exclusion boundaries beyond a generic statement, increasing the chance of unintended activation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation says the free edition only generates links and summaries without automatic retrieval, but examples instruct the agent to open engines, fetch results, and return computed answers. This mismatch can cause an agent to perform unanticipated network access and content retrieval, exposing user queries to third parties and expanding the skill's effective permissions beyond what users may expect.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The display name, summary, and broader description are written exclusively in Chinese and emphasize domestic search engines, but the skill does not state that this locale restriction is optional or user-selected. Under the policy, fixed language or locale behavior without opt-in can be a natural-language policy concern unless clearly justified and documented.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

This skill is documented throughout as a multi-search utility that accepts keywords and returns search links or results. The repeated statement that the capability supports '创建/查询/导出操作' introduces actions unrelated to the described search-only intent and directly conflicts with the rest of the documentation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.