Skip to content

docs: add security policy - #31

Open
hermes-alby wants to merge 1 commit into
getAlby:masterfrom
hermes-alby:docs/add-security-policy
Open

docs: add security policy#31
hermes-alby wants to merge 1 commit into
getAlby:masterfrom
hermes-alby:docs/add-security-policy

Conversation

@hermes-alby

@hermes-alby hermes-alby commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • add a SECURITY.md with private vulnerability reporting guidance
  • document GitHub private vulnerability reporting and security@getalby.com as contact options

Verification

  • git diff --cached --check

Summary by CodeRabbit

  • Documentation
    • Added a security policy explaining how to privately report vulnerabilities.
    • Requests affected versions or components, impact details, and reproduction steps.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Added SECURITY.md with private vulnerability reporting channels and required incident details.

Changes

Security Reporting

Layer / File(s) Summary
Vulnerability reporting guidance
SECURITY.md
Documents GitHub private reporting and email channels. Requests affected versions, components, impact, and reproduction steps.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the addition of the SECURITY.md security policy.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@SECURITY.md`:
- Line 7: Update the private vulnerability reporting instructions in SECURITY.md
to use GitHub’s current Security & quality → Advisories → Report a vulnerability
flow if enabled for getAlby/mcp; otherwise, make the security@getalby.com email
route the primary reporting option and retain GitHub as an alternative only if
applicable.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e302fef5-93b5-459f-af36-26d86a515ed0

📥 Commits

Reviewing files that changed from the base of the PR and between bee4ffc and cbeb9c9.

📒 Files selected for processing (1)
  • SECURITY.md

Comment thread SECURITY.md

Please report suspected security vulnerabilities privately. Do not open a public issue or disclose the vulnerability publicly until we have coordinated a fix.

The preferred way to report is GitHub's private vulnerability reporting: on the affected repository, go to the **Security** tab and click **Report a vulnerability** (or open `https://github.com/getAlby/mcp/security/advisories/new`). Alternatively, you can email [security@getalby.com](mailto:security@getalby.com).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== SECURITY.md =="
if [ -f SECURITY.md ]; then
  nl -ba SECURITY.md | sed -n '1,40p'
else
  echo "SECURITY.md not found"
fi

echo
echo "== repository README mentions security/adv =="
fd -a 'README.*|SECURITY.*|CODEOWNERS' . | sed 's#^\./##' | head -80
rg -n -i "security|vulnerability|advisories|private vulnerability|report a vulnerability|security@" -g '!vendor/**' -g '!node_modules/**' -g '!dist/**' -g '!build/**' . | head -200 || true

echo
echo "== git status/diff summary =="
git status --short
git diff --stat || true

echo
echo "== repository config files =="
fd -a 'policy|security|dependabot|actions|github' . | sed 's#^\./##' | head -120

Repository: getAlby/mcp

Length of output: 207


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== SECURITY.md =="
if [ -f SECURITY.md ]; then
  cat -n SECURITY.md | sed -n '1,40p'
else
  echo "SECURITY.md not found"
fi

echo
echo "== repository files =="
git ls-files | sed -n '1,160p'

echo
echo "== security-related references =="
grep -RIn -i "security|vulnerability|advisories|private vulnerability|report a vulnerability|security@" . --exclude-dir=node_modules --exclude-dir=vendor --exclude-dir=dist --exclude-dir=build 2>/dev/null | sed -n '1,200p' || true

echo
echo "== git status/diff summary =="
git status --short || true
git diff --stat || true

Repository: getAlby/mcp

Length of output: 1931


🌐 Web query:

GitHub security tab navigation Reports private vulnerability reporting Security and quality Advisories Report a vulnerability

💡 Result:

As of August 9, 2026, the navigation tab previously known as Security has been renamed to Security & quality [1]. This tab serves as the central hub for managing security and code quality findings across repositories, organizations, and enterprises [1]. Private vulnerability reporting (PVR) is a feature that allows security researchers to report vulnerabilities directly and privately to repository maintainers [2][3]. This process is managed through the following steps: 1. Access and Reporting: If a public repository has enabled private vulnerability reporting, a researcher can navigate to the repository, click the Security & quality tab, and select Report a vulnerability [2][4]. This opens a secure, structured form for submitting report details [4][3]. 2. Maintainer Management: Once a report is submitted, maintainers can view it within the Advisories section under the Security & quality tab [5]. They have several options for managing these reports: - Collaborate: They can start a temporary private fork to discuss and fix the vulnerability in private [5]. - Accept: They can accept the report to convert it into a draft repository security advisory [5]. - Communicate: They can comment on the advisory to request more information or close it if the report is not considered a security risk [5]. 3. Repository Advisories vs. Global Advisories: - Repository Security Advisories: These are created by maintainers to privately discuss and fix vulnerabilities [6]. After a patch is developed, they can be published to notify the community and potentially receive a CVE identification number [7][8][6]. - Global Security Advisories: These are curated, public advisories stored in the GitHub Advisory Database [9]. This database includes both GitHub-originated advisories and CVEs from external sources [10][9][11]. This system is distinct from the SECURITY.md file; private vulnerability reporting provides a structured, built-in workflow that does not require following instructions in a repository's security policy file [2]. Maintainers can enable or disable this feature via the Advanced Security settings within the repository's Settings menu [4].

Citations:


🌐 Web query:

GitHub code security docs configuring private vulnerability reporting Security and quality Advisories Report a vulnerability

💡 Result:

To configure private vulnerability reporting on a GitHub repository, repository owners and administrators can enable the feature within the repository settings [1][2]. Once enabled, security researchers are provided with a secure, structured interface to report vulnerabilities directly to maintainers, bypassing public channels [1][3]. How to enable private vulnerability reporting: 1. Navigate to the main page of the repository on GitHub [2]. 2. Click the Settings tab (if not visible, select the dropdown menu, then click Settings) [2]. 3. In the left sidebar, under the "Security" section, click Advanced Security [1][2]. 4. Under "Advanced Security," locate the "Private vulnerability reporting" section and click Enable [1][2]. Once enabled, a "Report a vulnerability" button becomes available on the repository's "Advisories" page [1][2]. Security researchers can use this button to submit a private report [4]. Upon submission, repository maintainers are notified, and the reporter is automatically added as a collaborator and credited user on the proposed security advisory [5][6][4]. It is important to note that private vulnerability reporting is distinct from the SECURITY.md file [5]. While private reporting handles the submission process securely, maintainers should still consider adding a security policy to provide instructions on their preferred disclosure process [7][8]. Additionally, maintainers should ensure their notification settings are configured appropriately to receive alerts for new private vulnerability reports [6]. For organizations, this feature can also be managed via custom security configurations [3][9].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

owner="getAlby"
repo="mcp"

echo "== repo metadata =="
gh api "repos/${owner}/${repo}" --jq '{name, default_branch, private, fork, open_issues_count}' 2>/dev/null || true

echo
echo "== repository settings/security-related metadata =="
gh api "repos/${owner}/${repo}" --jq '{advanced_security_enabled_for_new_repos, private_vulnerability_reporting_enabled, allow_vulnerability_alert_subscription, vulnerability_alerts}' 2>/dev/null || true

echo
echo "== package manager / lockfiles =="
for f in package.json yarn.lock pnpm-lock.yaml package-lock.json .npmrc; do
  if [ -f "$f" ]; then
    echo "--- $f ---"
    sed -n '1,80p' "$f"
  fi
done

Repository: getAlby/mcp

Length of output: 5272


Update the GitHub reporting instructions to the current Security & quality path.

GitHub now uses the Security & quality → Advisories → Report a vulnerability flow for private vulnerability reporting. Update SECURITY.md:7 if getAlby/mcp enables private reporting; otherwise, make the email route the primary option.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@SECURITY.md` at line 7, Update the private vulnerability reporting
instructions in SECURITY.md to use GitHub’s current Security & quality →
Advisories → Report a vulnerability flow if enabled for getAlby/mcp; otherwise,
make the security@getalby.com email route the primary reporting option and
retain GitHub as an alternative only if applicable.

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.

1 participant