docs: add SECURITY.md security policy (EN + 中文)#1044
Open
circlecrystal wants to merge 1 commit into
Open
Conversation
Set up the repository's security policy so GitHub's Security tab is populated instead of showing "This project has not set up a SECURITY.md file yet." - SECURITY.md (English) + SECURITY_CN.md (中文), following the existing bilingual doc convention (CONTRIBUTING.md / CONTRIBUTING_CN.md). - Private reporting routes to GitHub Security Advisories, consistent with the existing .github/ISSUE_TEMPLATE/config.yml contact link. - Covers supported versions (rolling 0.x), reporting steps, coordinated disclosure process, scope, and a safe-harbor clause. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a security policy so the repository's Security tab is populated instead of showing "This project has not set up a SECURITY.md file yet."
Adds two files following the existing bilingual doc convention (
CONTRIBUTING.md/CONTRIBUTING_CN.md):SECURITY.md(English) — GitHub's canonical location, picked up automatically by the Security tab and the "Suggest a security policy" prompt.SECURITY_CN.md(中文) — cross-linked from the English version.Type and Areas
Type: docs
Areas: docs / repository meta
Motivation / Impact
The repo had no
SECURITY.md, so GitHub showed an empty security policy and no clear, discoverable channel for reporting vulnerabilities. This documents:0.x; fixes land on the latest release./security/advisories/new), consistent with the existing.github/ISSUE_TEMPLATE/config.ymlcontact link, with a no-details fallback for reporters who can't use Advisories.No code or user-facing runtime change.
Verification
git diff main...shows exactly the two new files (118 insertions, 0 deletions)..github/ISSUE_TEMPLATE/config.yml.Reviewer Notes
main(3a4b5ff0); the diff is limited to the policy files.Checklist
🤖 Generated with Claude Code