toutiao-search
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection by ingesting search results from an external API and displaying them to the agent.\n
- Ingestion points: Search results containing titles, author names, and content snippets are fetched from the Toutiao API in
scripts/search.py.\n - Boundary markers: Untrusted content is not separated from agent instructions by specific delimiters or boundary warnings.\n
- Capability inventory: The skill has the ability to write local files (CSV/HTML), perform network requests, execute shell commands (to open a browser), and run a persistent local HTTP server.\n
- Sanitization: While the HTML template (
assets/report_template.html) employs basic HTML escaping, there is no validation or filtering of the content before it is processed by the agent.\n- [EXTERNAL_DOWNLOADS]: The skill requires therequestslibrary and uses thealipay-botCLI tool for payment processing, which is installed via NPM from the@alipay/agent-paymentpackage.\n- [COMMAND_EXECUTION]: Thescripts/search.pyscript usessubprocess.runto execute the systemopencommand, which launches the generated report in the default web browser.\n- [DYNAMIC_EXECUTION]: The skill generates interactive HTML reports at runtime and starts a local HTTP server (HTTPServer) on127.0.0.1. This server proxies API requests toredfox.hkto handle in-page search functionality while bypassing cross-origin restrictions.\n- [DATA_EXPOSURE]: The skill reads theREDFOX_API_KEYfrom~/.qoder/apis/redfox.jsonor environment variables for authentication. This follows the vendor's standard practice for credential management.
Audit Metadata