v0.2.0 · live
CAPFRAME
§ serversandboxfindings.v2

server-brave-search

npm:@modelcontextprotocol/server-brave-search@0.6.2

Score
A96
Findings
2
Tools
2
Last scan
2026-06-05

Severity breakdown

Critical0
High0
Medium2
Low0
Info0

Worst finding

Tool `brave_web_search` accepts unconstrained string input

· brave_web_search

The following string parameter(s) have no `maxLength` constraint: `query`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.

fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.

All 2 findings

  1. medium
    Tool `brave_web_search` accepts unconstrained string input· brave_web_searchunconstrained input

    The following string parameter(s) have no `maxLength` constraint: `query`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.

    fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.

  2. medium
    Tool `brave_local_search` accepts unconstrained string input· brave_local_searchunconstrained input

    The following string parameter(s) have no `maxLength` constraint: `query`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.

    fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.

How this was scored

Source sandbox live tools/list captured in an ephemeral Docker container (parameter schemas included → R1/R2/R4 fire). Findings are emitted by the public capframe.findings.v1 schema. Score = 100 − (10·Critical + 4·High + 2·Medium + 1·Low), clamped to [0, 100].

Disagree with a finding? Open an issue.