Skip to content

Commit b0fbd0b

Browse files
Add a security policy and private reporting links
SECURITY.md directs vulnerability reports to GitHub private vulnerability reporting (now enabled), lists supported versions and describes what is in scope for a local app that handles untrusted repositories, remotes and setup bundles. The new-issue chooser and CONTRIBUTING.md point there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f56a71e commit b0fbd0b

3 files changed

Lines changed: 46 additions & 0 deletions

File tree

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Report a security vulnerability
4+
url: https://github.com/Commanderx-code/command-center/security/advisories/new
5+
about: Report vulnerabilities privately, not as a public issue. See SECURITY.md.

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Thanks for helping improve Command Center. Small fixes, documentation improvemen
66

77
Check [existing issues](https://github.com/Commanderx-code/command-center/issues) first, then use the bug report or feature request template. For bugs, include the app version, distribution, installation method, steps to reproduce, and expected versus actual behavior. Mention whether the problem occurs in the desktop app or browser preview.
88

9+
**Security vulnerabilities:** don't open a public issue. Report them privately as described in [SECURITY.md](SECURITY.md).
10+
911
Remove secrets and personal information from screenshots and logs. Terminal transcripts and configuration files can contain credentials; include only the relevant, redacted excerpt.
1012

1113
## Work on a change

‎SECURITY.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Security policy
2+
3+
## Reporting a vulnerability
4+
5+
Please report vulnerabilities privately through GitHub: **[Report a vulnerability](https://github.com/Commanderx-code/command-center/security/advisories/new)** (Security tab → *Report a vulnerability*). Don't open a public issue, discussion, or pull request for a security problem.
6+
7+
Include what you can:
8+
9+
- the Command Center version (Settings → About & updates) and your distribution;
10+
- what an attacker controls and what they gain;
11+
- steps to reproduce, or a proof of concept;
12+
- any fix you'd suggest.
13+
14+
You'll get a reply in the private advisory. Once a fix is ready, it ships in a patch release, and the advisory is published with credit to you unless you'd rather stay anonymous. Please keep the details private until then.
15+
16+
## Supported versions
17+
18+
Security fixes go into the latest release only. Update to the newest version before reporting, and check whether the problem still occurs.
19+
20+
| Version | Supported |
21+
|---|---|
22+
| 0.7.x (latest) | ✅ |
23+
| Older | ❌ |
24+
25+
## Scope
26+
27+
Command Center runs locally as your normal user, so the most important boundary is **untrusted data reaching the app**. Examples of in-scope problems:
28+
29+
- a repository, submodule, Git remote, or its output making the app run commands or misbehave without your review;
30+
- a setup bundle or settings import changing what runs automatically or reading files it shouldn't;
31+
- credentials or private data leaking to other local users, logs, Activity, or exports;
32+
- a way around command review, so something runs that you didn't approve;
33+
- problems in the release packages, the Arch recipe, or the CI workflows that build them.
34+
35+
Out of scope:
36+
37+
- actions that need someone already running code as your user, or with root;
38+
- commands you reviewed and approved yourself;
39+
- installer scripts from [Commander Toolbox](https://github.com/Commanderx-code/commander-toolbox): report those to that repository.

0 commit comments

Comments
 (0)