brave-search
Pass
Audited by Gen Agent Trust Hub on Mar 2, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted content from the web, creating a surface for indirect prompt injection attacks.
- Ingestion points:
content.jsandsearch.jsfetch HTML from arbitrary URLs to extract text content. - Boundary markers: The output uses
--- Result N ---headers to delineate search results, but does not provide explicit instructions to the agent to ignore or isolate embedded commands found within the web content. - Capability inventory: The skill code itself does not contain high-risk operations such as shell command execution or file system writing.
- Sanitization: The implementation uses
@mozilla/readabilityandJSDOMto remove scripts and styles, effectively stripping executable code and converting the structural content to Markdown. - [EXTERNAL_DOWNLOADS]: The skill fetches data from external network sources.
- Brave Search:
search.jsfetches search results fromhttps://search.brave.comusing web scraping. - Arbitrary Content:
content.jsandsearch.jsfetch content from any URL provided as a parameter or found in search results. - Documentation Discrepancy:
SKILL.mdstates the tool requires aBRAVE_API_KEY, but the implementation performs HTML scraping without using any API authentication.
Audit Metadata