collection-schema
on npm:mongodb-mcp-server@1.11.0
Severity
2 findings on this tool
- highexcessive agencyf-r4-collection_schema
Tool `collection-schema` accepts an unbounded monetary / quota value
The numeric parameter(s) `responseBytesLimit` have a money/quota-shaped name but no `maximum` constraint. An LLM tricked by indirect-injection can call the tool with arbitrarily large values.
fix: Add a `maximum` (and ideally `minimum`) to each money/quota numeric, OR enforce the cap via a capframe-bind `--limit` caveat at the agent boundary.
OWASP LLM08NIST MANAGE-2.2ATLAS T0051 - mediumunconstrained inputf-r1-collection_schema
Tool `collection-schema` accepts unconstrained string input
The following string parameter(s) have no `maxLength` constraint: `collection`, `database`. 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.
OWASP LLM01NIST MEASURE-2.3ATLAS T0051
About this tool
collection-schema is one of 25 tools exposed by MongoDB MCP. The server scored 2/100 overall against the capframe rule engine (source: sandbox). Last scanned 2026-06-05.
The findings above are emitted by the public capframe.findings.v1 schema. Disagree with one? Open an issue.