baidu-search

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill invokes a local Python script (scripts/search.py) to process user queries and interact with the Baidu search service. This is a standard and expected capability for a search-integrated tool.
  • [EXTERNAL_DOWNLOADS]: The Python script communicates with the official Baidu AI Cloud endpoint (https://qianfan.baidubce.com) to retrieve web search results. This connection is authenticated via a user-configured BAIDU_API_KEY environment variable and uses the standard requests library.
  • [INDIRECT_PROMPT_INJECTION]: As the skill fetches search results from the web, it represents a potential surface for indirect prompt injection if external content contains malicious instructions intended for the AI agent. The script performs basic sanitization by removing snippets, but the primary content remains for the agent to process.
  • Ingestion points: Search result retrieval in scripts/search.py via the Baidu AI Search API.
  • Boundary markers: None identified in the provided instructions.
  • Capability inventory: Subprocess execution (Python) and network access to Baidu's API.
  • Sanitization: The script explicitly removes the snippet field from reference data before returning results to the agent.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 03:46 PM