docs: add SECURITY.md with private vulnerability reporting process (#3126) - #3176
docs: add SECURITY.md with private vulnerability reporting process (#3126)#3176yyyCode wants to merge 1 commit into
Conversation
…osphoros-ai#3126) The repository had no SECURITY.md, security contact, or documented private disclosure channel, so reporters had no way to responsibly disclose vulnerabilities without exposing them publicly. Add a security policy describing supported versions, a private reporting flow (GitHub Private Vulnerability Reporting as the preferred channel, with a placeholder for a security email), the information to include in a report, and the expected response process. Maintainer-facing HTML comments mark where to enable private reporting and add an official contact address.
📝 WalkthroughSummaryAdds a root-level Scope
Risks
Verification
cat SECURITY.md
git diff --check
git diff --statWalkthroughThe change adds ChangesSecurity Policy
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
SECURITY.md (1)
26-34: 🔒 Security & Privacy | 🔵 TrivialVerify that GitHub Private Vulnerability Reporting is enabled before publishing this policy.
SECURITY.mdonly documents the required setting. It does not enable the feature. Confirm that repository administrators enabled it and that an external researcher can see Report a vulnerability. GitHub documents this action as available only after the repository setting is enabled. (docs.github.com)
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 31c19873-3ec2-4a0a-8ee0-f62efac2f054
📒 Files selected for processing (1)
SECURITY.md
📜 Review details
🔇 Additional comments (1)
SECURITY.md (1)
1-25: LGTM!Also applies to: 43-68
| 2. **Email.** If you are unable to use GitHub's private reporting, contact the | ||
| maintainers privately. | ||
|
|
||
| <!-- Maintainers: add a security contact email here, e.g. security@dbgpt.example --> | ||
| <!-- TODO: replace with the project's official security contact address. --> |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Replace the placeholder with a monitored security address.
The email fallback tells researchers to contact maintainers privately, but it provides no address or private channel. The HTML comments are not visible to readers. Add the project's official, monitored security contact before merge.
Description
Fixes #3126.
The repository currently has no
SECURITY.md, no documented security contact, and no advertised private disclosure channel. As raised in #3126, this leaves security researchers with no responsible way to report vulnerabilities privately — the only options are public issues/discussions, which expose the vulnerability before a fix exists.This PR adds a
SECURITY.mdat the repository root (GitHub automatically surfaces it under the Security tab and the "Report a vulnerability" flow). It documents:main.Notes for maintainers
Two things need your input, marked with HTML comments in the file so they don't render:
TODO).Happy to adjust the wording, supported-version table, or response-time expectations to match the team's actual process.
How Has This Been Tested?
Documentation-only change. Verified the file renders as valid Markdown and that no
SECURITY.mdpreviously existed in the repo root or.github/.Checklist: