From 74fcc8658901419283a5d03fa3bf9fb8cc984501 Mon Sep 17 00:00:00 2001 From: "Simon J.L. Billinge" Date: Thu, 19 Nov 2026 21:41:10 -0800 Subject: [PATCH] docs: add SECURITY.md so vulnerabilities are reported privately through GitHub advisories instead of public issues No issue exists for this change. It follows from #204, which was reported as a public issue. Co-Authored-By: Claude Fable 5.2 --- SECURITY.md | 31 +++++++++++++++++++++++++++++++ news/security-policy.rst | 23 +++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 SECURITY.md create mode 100644 news/security-policy.rst diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..83cae87d --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,31 @@ +# Security policy + +## Reporting a vulnerability + +Please do not report security vulnerabilities in public GitHub issues, +discussions or pull requests. + +Instead, report them privately using GitHub's private vulnerability +reporting: + +1. Go to + (or open the **Security** tab of the repository and click + **Report a vulnerability**). +2. Describe the problem, the versions affected, and the steps needed to + reproduce it. A small example file or script is very helpful. + +The report is visible only to you and the maintainers. If you cannot use +GitHub's private reporting, email the maintainer, Simon Billinge +(sbillinge@ucsb.edu), and ask for a private channel before sending any +details. + +## What to expect + +We will acknowledge the report, investigate it, and keep you informed in +the private advisory. Once a fix is released we will publish the advisory +and credit you, unless you prefer to remain anonymous. + +## Supported versions + +Security fixes are made to the latest release of `diffpy.structure`. +Please upgrade to the latest release before reporting a problem. diff --git a/news/security-policy.rst b/news/security-policy.rst new file mode 100644 index 00000000..cc4c293e --- /dev/null +++ b/news/security-policy.rst @@ -0,0 +1,23 @@ +**Added:** + +* No news needed: SECURITY.md is repository policy and not user facing + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +*