perplexity-search
Pass
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill leverages the
litellmlibrary, a well-known and trusted open-source tool for interacting with various LLM providers. All network communication is directed to OpenRouter, a recognized service for AI model aggregation. - [SAFE]: Secrets management follows best practices. The skill uses environment variables for the OpenRouter API key and provides a
.env.exampletemplate, explicitly advising users to exclude sensitive files from version control. - [PROMPT_INJECTION]: As the skill's primary function is to retrieve and process external web content via Perplexity, it naturally possesses an indirect prompt injection surface.
- Ingestion points: External data enters the agent context through the search results returned by the Perplexity API in
scripts/perplexity_search.py. - Boundary markers: The current implementation does not use explicit delimiters (e.g., XML tags or clear separators) to encapsulate the retrieved web content.
- Capability inventory: The skill is limited to performing network requests to the OpenRouter API and does not have built-in file-writing or shell-execution capabilities beyond its own search logic.
- Sanitization: The skill returns raw text from the API without additional filtering or sanitization. This is a standard architectural characteristic for search-enabled agents rather than a specific vulnerability.
Audit Metadata