GHSA-92gp-jfgx-9qpv
Hyperterse: Raw exposure of database statements in MCP search tool
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | hyperterse | >= 2.0.0, < 2.2.0 | 2.2.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
Hyperterse allows users to specify database queries for tools to execute under the hood. As of [v2.0.0](https://github.com/hyperterse/hyperterse/releases/tag/v2.0.0), there are only two tools exposed - `search` and `execute`.
The `search` tool allows LLMs to search for tools using natural language. While returning results, Hyperterse also returned the raw SQL queries, exposing statements which were supposed to be executed under the hood, and protected from being displayed publicly.
This issue has been fixed as of [v2.2.0](https://github.com/hyperterse/hyperterse/releases/tag/v2.2.0) and relevant tests to catch these have been added.
References
External links from the advisory. They lead to third-party sites.