Tp2
- Category
- MCP Tool Poisoning
- Confidence
- 85% confidence
- Finding
Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.
- Content
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Baidu web-search helper that sends search queries to Baidu using a user-provided API key.
Install only if you are comfortable sending your search terms to Baidu Qianfan and storing a Baidu AppBuilder API key in BAIDU_API_KEY. Avoid using it for sensitive or private queries unless that data is appropriate to send to Baidu.
Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.
The skill declares access to an environment variable and makes outbound network requests, but the manifest does not define an explicit tool scope such as permissions or allowed-tools. That weakens policy enforcement and user/agent transparency, increasing the chance the skill is invoked with capabilities broader than expected. In this context, the skill sends user-provided search queries to a third-party API using a bearer token from the environment, so undeclared capability use is materially relevant.
The trigger language is broad enough to match many ordinary conversational requests without clear boundaries, which can cause the agent to invoke the skill unexpectedly. Because this skill performs external web queries and transmits user prompts to Baidu, overbroad activation increases privacy and data-exposure risk and can displace safer or more appropriate tools.
The recommended-use section lists generic cues like 'search' and 'latest news' without guardrails, encouraging overly aggressive routing. In context, that means many routine user messages could be sent to an external search provider, exposing query content and increasing the chance of unnecessary network use or incorrect tool selection.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
}
try:
resp = requests.post(SEARCH_URL, headers=headers, json=body, timeout=20)
except Exception as e:
return {"error": "request_failed", "message": str(e)}
This code sends the user-provided search query to an external Baidu web search endpoint via HTTP, which is a data-transmitting network operation. While the module docstring identifies the API, there is no runtime user-facing warning, confirmation, or explicit disclosure near the call that the query content will be sent to a third-party service.
The script reads BAIDU_API_KEY from the environment, which is a sensitive credential source. Although it validates presence, there is no accompanying comment, docstring, or user-facing disclosure about credential usage or sensitivity in this file.
No suspicious patterns detected.