Skip to content

docs: add SECURITY.md with a private reporting path - #413

Merged
ASuresh0524 merged 1 commit into
mainfrom
docs/security-policy
Sep 5, 2026
Merged

docs: add SECURITY.md with a private reporting path#413
ASuresh0524 merged 1 commit into
mainfrom
docs/security-policy

Conversation

@ASuresh0524

Copy link
Copy Markdown
Collaborator

Closes #407.

@cmiic looked for a confidential channel before filing the network-exposure finding that became #404, found none — no SECURITY.md, private vulnerability reporting disabled — and filed publicly because the severity happened to be low. The next report may not be.

Adds a SECURITY.md pointing at GitHub's private advisory flow, which needs no infrastructure on either side.

The scope section is deliberately specific rather than boilerplate, naming the boundaries where LEANN stops being local:

  • the backend embedding servers and their unauthenticated ZMQ REP protocol (loopback by default since fix: bind ZMQ embedding servers to loopback by default #404 — reachability is authorisation)
  • the MCP server and its stdio transport
  • document readers and parsers, which handle untrusted input by design
  • on-disk index and metadata files, and anything that reads a path out of them
  • third-party provider credentials

One thing this PR cannot do

The advisory link only works once Settings → Security → Private vulnerability reporting is enabled. That is a repository setting, not something a PR can change — issue #407's first suggestion. Worth flipping before or alongside merging this, or the link in the file leads nowhere.

🤖 Generated with Claude Code

Closes #407. The reporter of #404 looked for a confidential channel before
filing a network-exposure finding, found none — no SECURITY.md, private
vulnerability reporting disabled — and filed publicly because the severity
happened to be low. The next finding may not be.

Points at GitHub's private advisory flow, which needs no infrastructure on
either side, and states scope concretely rather than generically: the
unauthenticated ZMQ embedding servers, the MCP stdio transport, the document
readers that handle untrusted input by design, on-disk index metadata, and
third-party credentials.

Note: the advisory link only works once **Settings → Security → Private
vulnerability reporting** is enabled. That toggle is a repository setting, not
something a PR can change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ASuresh0524
ASuresh0524 merged commit f4a3031 into main Sep 5, 2026
3 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.

Enable private vulnerability reporting / add a SECURITY.md?

1 participant