Oathe Security Badge

oathe / scan / reports / safe

Is brave-search safe?

Yes. brave-search is safe to install. Oathe's behavioral security audit gave brave-search a trust score of 82/100 with 6 findings, none critical or high. Report updated

https://clawhub.ai/steipete/brave-search

82
SAFE

Is brave-search safe to install?

This is a straightforward web search and content extraction skill with clean code, no install-time behavior, and no prompt injection. The primary risk is that its URL-fetching capability creates a potential data exfiltration channel if combined with other skills or malicious prompts. The SKILL.md misleadingly references a BRAVE_API_KEY that the code never uses, instead scraping Brave Search directly.

What security issues were found in brave-search?

Category Scores

Prompt Injection 95/100 · 30%
Data Exfiltration 72/100 · 25%
Code Execution 68/100 · 20%
Clone Behavior 100/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 65/100 · 5%

Findings (6)

MEDIUM Arbitrary URL fetching enables potential exfiltration channel -18 ▶

content.js and search.js (with --content flag) fetch arbitrary user-supplied URLs and return their content. While this is the stated purpose, it creates a potential exfiltration vector: a malicious prompt could trick the agent into encoding sensitive data into URL parameters of an attacker-controlled endpoint.

Evidence: content.js: `const response = await fetch(url, {...})` where url comes directly from process.argv[2] with no allowlist or sanitization

LOW BRAVE_API_KEY referenced but never used -10 ▶

SKILL.md states 'Needs env: BRAVE_API_KEY' but neither search.js nor content.js reference this environment variable. search.js scrapes Brave Search HTML directly instead of using the official API. This is misleading documentation — the skill works without any API key.

Evidence: SKILL.md: 'Needs env: `BRAVE_API_KEY`.' but grep of search.js and content.js shows no reference to BRAVE_API_KEY or process.env

LOW Heavyweight jsdom dependency increases attack surface -7 ▶

jsdom provides a full DOM implementation including script execution capabilities. While used legitimately here for HTML parsing and Readability extraction, it is a large dependency tree that increases the supply-chain attack surface compared to lighter alternatives like cheerio.

Evidence: package.json: "jsdom": "^27.0.1" — jsdom pulls in 20+ transitive dependencies

INFO Combination risk with file-reading skills -5 ▶

If installed alongside a skill that can read local files, an attacker could chain the two: read sensitive file contents with one skill, then exfiltrate via URL parameters using this skill's content.js or search.js --content flag.

Evidence: General architectural risk of network-capable skills

INFO No prompt injection vectors detected 0 ▶

SKILL.md is clean documentation with no hidden instructions, invisible characters, or attempts to override agent behavior. The skill does not request elevated permissions beyond shell execution.

Evidence: Full SKILL.md review shows only standard usage documentation

LOW No input validation on URL parameter -5 ▶

content.js accepts any URL from argv without validation. While the 15-second AbortSignal timeout limits exposure, there is no scheme validation (e.g., could attempt file:// URLs depending on Node.js fetch implementation).

Evidence: content.js: `const url = process.argv[2];` followed immediately by `await fetch(url, {...})`

Should I install brave-search?

Oathe's verdict for brave-search is SAFE with a trust score of 82/100. Recommendation: Install with caution.