Vector Store Scanner

io.github.GuardBee由 GitHub 账号 GuardBee 发布v0.3.1更新于 Nov 3, 2026

Probes vector-database endpoints for unauthenticated exposure of embeddings/RAG data

已验证STDIO仅桌面数据库安全与监控

概览

AI 生成的概览

探测向量数据库端点(Weaviate、Qdrant、Chroma、Elasticsearch、Redis、Postgres/pgvector)是否存在未认证访问,从而暴露嵌入与 RAG 数据。

可以做什么
  • 扫描单个主机与端口是否存在未认证暴露,可自动识别存储类型或指定类型
  • 对 HTTP 类目标逐级探测:实例信息、schema 与集合列表,直至读取实际存储的对象或文档
  • 通过原生协议检查 Redis 与 Postgres/pgvector,全程不发送任何凭据
  • 列出支持的存储类型及各自执行的检查项
  • 按严重级别报告发现,并支持 SARIF 输出用于 CI/CD
适用场景
适合审计自有的 RAG 或向量检索基础设施是否存在开放、未认证的端点,或在 CI/CD 流程中加入无需凭据的暴露检查。它是只读指纹识别工具,并非通用漏洞扫描器。
运行要求
以本地 stdio 进程运行,通常通过 npx 从 npm 包启动,需要 Node.js。需要能访问目标主机与端口的网络。未声明账号、API 密钥或请求头。遥测默认关闭,可通过 GUARDBEE_TELEMETRY 环境变量开启;guardbee.yml 配置文件可设置 fail-on 与超时。
安装前请注意
仅扫描已获授权的系统:该工具会主动探测端点,并在无认证时读取实际存储的数据。它只报告暴露情况而不修复,也不覆盖已有认证层之后的越权问题。开启遥测会把服务器、工具、成功状态、耗时以及文件路径等短参数值发送给第三方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vector Store Scanner,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@guardbee/mcp-vector-store-scanner

🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch

[npm version] [npm downloads] [License: MIT]

An MCP (Model Context Protocol) server that probes a vector-database (or vector-index-capable) endpoint for unauthenticated exposure — the same class of misconfiguration behind repeated real-world incidents of open Elasticsearch/MongoDB/Redis instances leaking data, now aimed at the RAG-era stack: Weaviate, Qdrant, Chroma, Elasticsearch/OpenSearch, Redis, and Postgres/pgvector.

Every RAG pipeline's embeddings live somewhere. If that vector store is reachable on the network without authentication, anyone who finds it can read (and often write) every document your retrieval pipeline was ever given — including anything sensitive that made it into a chunk.

Telemetry is off by default. With GUARDBEE_TELEMETRY=1 it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields like content, token or password are replaced with a placeholder. See @guardbee/mcp-telemetry.

Claude ──► vector-store-scanner ──► Your vector-store endpoint              │              ├─ weaviate / qdrant / chroma / elasticsearch  (HTTP fingerprint)              │     info ──► schema/collections ──► actual stored data              ├─ redis        (raw RESP: PING, no AUTH sent)              └─ postgres     (raw wire protocol: SSLRequest + StartupMessage, no password sent)

How it escalates

Each HTTP-based probe doesn't stop at "is this thing up" — it walks the same path an attacker would, in increasing order of impact, and only reports what actually succeeded:

  1. Instance info (medium) — version/build details readable without auth. Low impact alone, but confirms the service is exposed and helps fingerprint known CVEs.
  2. Schema / collection listing (high) — class or collection names readable without auth. Reveals your data model even before any real data is read.
  3. Actual stored data (critical) — a real object/point/document comes back without auth. This is the finding that matters: your embeddings (and whatever they were built from) are readable by anyone who can reach this port.

Redis and Postgres get the same treatment via their native wire protocols instead of HTTP — a PING (Redis) or a StartupMessage (Postgres) is enough to learn whether authentication is enforced, without ever sending a real password. No credential is ever guessed, brute-forced, or sent — every check here is read-only fingerprinting, the same category of probing dns-intelligence and ssl-inspector already do elsewhere in this monorepo.


Features

  • 6 target types: Weaviate, Qdrant, Chroma, Elasticsearch/OpenSearch (HTTP), Redis (raw RESP), Postgres/pgvector (raw wire protocol)
  • Auto-detection — fingerprints the endpoint by trying each known type in turn when type isn't specified
  • From-scratch protocol implementations for Redis and Postgres — no client library dependency, no real credentials ever sent, includes a TLS-upgrade path for Postgres's SSLRequest handshake
  • Escalating checks (info → schema → data) so a "critical" finding always means real data was actually read, not just that a port responded
  • SARIF 2.1.0 output — CI/CD integration (GitHub Code Scanning, etc.)
  • Config file support via guardbee.yml
  • 22 unit tests against local mock HTTP/TCP servers, covering every probe's matched/unmatched fingerprint and each escalation level

Quick Start

Claude Desktop / MCP Client

json
{  "mcpServers": {    "guardbee-vector-store-scanner": {      "command": "npx",      "args": ["-y", "@guardbee/mcp-vector-store-scanner"]    }  }}

CLI (CI/CD)

bash
npx @guardbee/mcp-vector-store-scanner scan my-qdrant.internal --type=qdrant --fail-on=high --format=sarif > results.sarif

MCP Tools

ToolDescription
scan_endpointProbes a single host/port for unauthenticated exposure
list_patternsLists the supported store types and what each check looks for

What it catches

StoreCheckSeverity
Weaviate/v1/meta readable without authmedium
Weaviate/v1/schema readable without auth — reveals class nameshigh
Weaviate/v1/objects returns real data without authcritical
Qdrant/ instance info readable without authmedium
Qdrant/collections readable without authhigh
Qdrant/collections/<name>/points/scroll returns real data without authcritical
Chromaheartbeat reachable without authmedium
Chroma/collections readable without authhigh
Elasticsearch/OpenSearchcluster info readable without authmedium
Elasticsearch/OpenSearch/_cat/indices readable without authhigh
Elasticsearch/OpenSearch/<index>/_search returns real documents without authcritical
RedisPING accepted without AUTHcritical
Postgres/pgvectorno TLS offeredmedium
Postgres/pgvectorAuthenticationOk with no password challengecritical

Configuration (guardbee.yml)

yaml
vector-store-scanner:  fail-on: high       # any | critical | high | medium | low | none  timeout-ms: 4000

Limitations (by design)

  • Chroma's actual-document read isn't checked — its data-read API varies significantly across versions, so this scanner stops at the collection-listing level for it (still enough to detect the primary "no auth at all" misconfiguration).
  • Milvus isn't supported — its primary API is gRPC, which doesn't fingerprint via a lightweight probe the way the others do.
  • This checks for unauthenticated read access, not authorization bugs behind a working auth layer (e.g. a valid-but-overprivileged API key) — that's out of scope for an external, credential-less probe.

Development

bash
npm run buildnpm test             # 22 unit tests

License

MIT — GuardBee

Feedback

Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.

来源:packages/vector-store-scanner/README.md,提交 bc5997d

工具

2

scan_endpoint

Probe a vector-database (or vector-index-capable) endpoint for unauthenticated exposure — Weaviate, Qdrant, Chroma, Elasticsearch/OpenSearch (HTTP fingerprinting, escalating from instance info → collection/schema listing → actual stored data), Redis (RESP PING without AUTH), and Postgres/pgvector (wire-protocol SSLRequest + StartupMessage handshake, no real credentials sent). Read-only — never writes or authenticates with real credentials.

输入参数tlshost必填porttypetimeoutMs

list_patterns

List the vector-store types this scanner can fingerprint, and what unauthenticated-access checks it runs for each

无需输入参数。

版本历史

3
  1. v0.3.1最新Oct 30, 2026
  2. v0.2.2Oct 22, 2026
  3. v0.1.2Oct 13, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分