VDB
Sign up
MEDIUM6.5

GHSA-92gp-jfgx-9qpv

Hyperterse: Raw exposure of database statements in MCP search tool

Quick fix

GHSA-92gp-jfgx-9qpv — hyperterse: upgrade to the fixed version with the command below.

npm install hyperterse@2.2.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/hyperterse
Introduced in: 2.0.0Fixed in: 2.2.0
Fixnpm install hyperterse@2.2.0

References