baidu-search
Pass
Audited by Gen Agent Trust Hub on May 9, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements secure credential management by requiring the
BAIDU_API_KEYto be provided via environment variables, preventing sensitive keys from being hardcoded in scripts. - [SAFE]: All network operations are directed to the official and well-known Baidu Cloud API endpoint (
qianfan.baidubce.com). - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection, which is inherent to tools that process external web content.
- Ingestion points: Web search results are retrieved and processed in
scripts/search.py. - Boundary markers: The results are returned as structured JSON; however, there are no specific boundary markers or instructions to the agent to disregard potential commands embedded in the search data.
- Capability inventory: The skill has access to the
python3binary and network connectivity to reach the Baidu API. - Sanitization: The script removes certain metadata fields (snippets) but does not sanitize the text content of search results for malicious injection patterns.
Audit Metadata