serpapi-2
Pass
Audited by Gen Agent Trust Hub on May 18, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it retrieves and displays untrusted data from the web via search results.
- Ingestion points: Search data is fetched in
scripts/search.shfrom the SerpAPI endpoint and passed toscripts/format.pyfor rendering. - Boundary markers: No delimiters or clear instructional boundaries are used to isolate search results from the agent's internal prompt context.
- Capability inventory: The skill uses
curlfor network requests andpython3for result formatting. It can access local files for configuration and temporary storage. - Sanitization: The script does not perform sanitization or filtering on search snippets or titles, meaning malicious instructions embedded in search results could potentially influence the agent's behavior.
- [EXTERNAL_DOWNLOADS]: The skill performs network operations to
serpapi.comto fetch search results. SerpAPI is a well-known third-party service provider for search engine data. - [CREDENTIALS_UNSAFE]: The skill accesses local configuration files at
~/.config/serpapi/api_keyand.envto retrieve user-provided API keys. This is a standard and recommended practice for local credential management and does not constitute a security violation.
Audit Metadata