Skip to content

docs: add security notes and a security policy - #215

Merged
chadha-sridi merged 1 commit into
masterfrom
docs/security-notes
Nov 27, 2026
Merged

chadha-sridi merged 1 commit into
masterfrom
docs/security-notes

Conversation

@chadha-sridi

Copy link
Copy Markdown
Contributor

Problem

The README didn't say anything about running the server safely:

  • It described sse and streamable-http as "perfect for remote clients", but neither authenticates clients. Anyone who can reach the port can read and write the collections, with the server's Qdrant API key.
  • It didn't mention that the server can do whatever its Qdrant API key allows, or that Qdrant supports read-only and per-collection keys.
  • It didn't mention that stored text goes straight into the model's context.
  • There was no way to report a vulnerability privately. GitHub's private vulnerability reporting is enabled on the repository, but nothing pointed to it.

Changes

README

  • A warning under Transport Protocols that the network transports don't authenticate clients, linking to the new section. The transports are described as "for clients that connect over the network" instead of "perfect for remote clients".
  • A new Security section:
    • Network transports have no authentication: keep the default 127.0.0.1, bind Docker ports with -p 127.0.0.1:8000:8000, and use a reverse proxy with authentication for remote access.
    • Use a Qdrant API key with only the access the server needs: a read-only key with QDRANT_READ_ONLY=true, or a key scoped to the server's collections.
    • Stored text is passed to the model, so content written by others should be treated as untrusted.
  • The Docker docker run example publishes the port with -p 127.0.0.1:8000:8000. Since fix(docker): build the image from the repository and fix the documented setups #214, the image listens on 0.0.0.0, so a plain -p 8000:8000 made the server reachable from every network the host is on.
  • A note that the VS Code Docker buttons and configs use a local mcp-server-qdrant image, which has to be built first. No image with that name is published.

SECURITY.md

  • How to report a vulnerability privately through GitHub, and which versions get fixes.

Testing

I checked the API key advice against Qdrant 1.20.0 with jwt_rbac enabled, using the server's QdrantConnector:

Key find store
Read-only works refused (403)
Read-only, scoped to the collection works refused (403)
Read-write, scoped to an existing collection works works
Read-write, scoped, collection doesn't exist yet refused: "Global access is required"
Scoped to another collection refused (403)

The last two rows are why the README says to create the collection with a full-access key before switching to a scoped one.

With the image from #214 and -p 127.0.0.1:8011:8000, the SSE endpoint answers on 127.0.0.1 and refuses connections on the host's network address.

No code changes. pre-commit passes.

🤖 Generated with Claude Code

@chadha-sridi
chadha-sridi merged commit ab0bd43 into master Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants