perplexity-multi-env-setup
Pass
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The search functionality provided in
lib/search.tscreates a surface for indirect prompt injection by ingesting untrusted data from an external API. - Ingestion points: The
searchfunction retrieves and returnsresult.choices[0].message.contentfrom the Perplexity API. - Boundary markers: The implementation lacks delimiters or instructions to the agent to treat the API response as data rather than instructions.
- Capability inventory: The skill allows the agent to use
Write,Edit, andBashtools, which increases the potential impact if a prompt injection attack were to occur through the search results. - Sanitization: There is no evidence of escaping, filtering, or validation of the content received from the external API.
Audit Metadata