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 分