Skip to content

Lightweight native Discord client for Windows, Linux and macOS, written in Rust. No Electron, no browser engine.

Add private security reporting: SECURITY.md and an issue chooser link

VRonGitHuba3fa8ea03f8e
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 0417d82..eedad6a 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
+ - name: Report a security problem
+ url: https://github.com/VRonGitHub/RustCord/security/advisories/new
+ about: Anything that could expose someone's token, account or computer. This is private; please don't open a public issue for it.
- name: Questions and answers
url: https://github.com/VRonGitHub/RustCord#faq
about: Is it safe, where is my login kept, does it run on macOS? The FAQ covers the common questions.
diff --git a/README.md b/README.md
index 2d55950..5213585 100644
--- a/README.md
+++ b/README.md
@@ -407,6 +407,9 @@ Bug reports, ideas and pull requests are welcome: open an
run `cargo test --workspace` and `cargo clippy --workspace`. By contributing you agree that your
contribution is released under the project's licence.
+Found a security problem? Please [report it privately](https://github.com/VRonGitHub/RustCord/security/advisories/new)
+instead of opening an issue (see [SECURITY.md](SECURITY.md)).
+
## ⭐ Star History
<a href="https://star-history.com/#VRonGitHub/RustCord&Date">
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 0000000..539a982
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,20 @@
+# Security
+
+If you find something in RustCord that could put someone at risk, please report it
+privately instead of opening a public issue.
+
+**[Report a security problem](https://github.com/VRonGitHub/RustCord/security/advisories/new)**
+
+Only you and the maintainer can see the report. Examples of what belongs here:
+
+- a way to read or leak someone's Discord token or other login data
+- a message, embed, link or file that makes RustCord run code, open something it
+ shouldn't, or crash for everyone who sees it
+- a Rencord plugin or theme that can reach beyond what it's allowed to
+- anything another program on the same computer can abuse through RustCord, such as
+ the Rich Presence connection
+
+Please include the RustCord version, your operating system and the steps to trigger
+it. Ordinary bugs go in the [issues](https://github.com/VRonGitHub/RustCord/issues).
+
+Fixes go into the newest release only, so please update before reporting.