Is Brave Search MCP server safe?
@brave/brave-search-mcp-server is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 4 risky constructs are reported for review. It can: install time execution, mcp tools detected and network egress — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).
@brave/brave-search-mcp-server 2.0.85
- Node.js network egress
- npm prepare hook
- Server bound to all network interfaces
No malicious indicators found by static analysis.
Findings (4)
A server is bound to all network interfaces (0.0.0.0), not just your own machine.
host: '0.0.0.0',
process.env.BRAVE_MCP_HOST ?? '0.0.0.0'
Why it matters: Without authentication, other hosts on the network can reach it.
Fix: Bind to 127.0.0.1 for local-only use, or require authentication and restrict access if remote exposure is intended.
package.json has a 'prepare' script (runs on git/local installs and before publishing).
"prepare": "npm run format && npm run build",
Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.
Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.
The component makes outbound network requests.
const response = await fetch(urlWithParams, { headers });Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
An MCP tool surface (manifest or tool definitions) was found.
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
mcpServer.registerTool(
Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentOr get notified if this component's risk changes:
How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →