You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4706f4b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: SECURITY.md
+28-7Lines changed: 28 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,27 @@ fix ships in the next tag rather than being backported.
7
7
8
8
## Reporting a vulnerability
9
9
10
-
Use GitHub's **private vulnerability reporting** on this repository
11
-
(Security → Report a vulnerability). It stays private until a fix ships.
10
+
Use GitHub's private vulnerability reporting on this repository: <https://github.com/Rethunk-Tech/rethunk-git-cli/security/advisories/new>, or the **Security** tab, then **Report a vulnerability**. The report stays private between you and us until a fix ships.
12
11
13
-
Please do not open a public issue for a suspected vulnerability first.
12
+
If private reporting is unavailable, email [oss@rethunk.tech](mailto:oss@rethunk.tech) with **[SECURITY]** in the subject.
13
+
14
+
Please do not open a public issue, pull request or discussion for a suspected vulnerability.
15
+
16
+
A useful report has the affected repository and version (or commit), steps to reproduce, what an attacker gets and under which conditions, and whether anyone else knows.
17
+
18
+
## What counts as a vulnerability
19
+
20
+
A vulnerability is a flaw that lets someone cross a boundary they should not: run code, read or change data they have no right to, escape a sandbox or path restriction, or leak a credential. A bug is anything else that misbehaves, such as a crash on your own input, wrong output or a slow path; open an ordinary issue for those. If you are unsure which one you have, report it privately and we will say.
21
+
22
+
## Coordinated disclosure
23
+
24
+
We handle the report inside the private advisory, so you see each status change and can comment on the fix. The advisory goes public when the fix ships, or 90 days after your report, whichever comes first. If a fix is close, either of us can ask for more time in the thread. You are credited in the advisory unless you would rather not be.
25
+
26
+
## Response timelines
27
+
28
+
- We acknowledge your report within 3 business days.
29
+
- We give you an assessment (accepted, needs more information or declined, with reasons) within 10 business days.
30
+
- We aim to ship a fix within 90 days of the report.
14
31
15
32
## What is in scope
16
33
@@ -24,13 +41,13 @@ are ones where it writes something the caller did not name:
24
41
- Anything that causes `rgit` to run a command the caller did not ask for,
25
42
beyond the `git` invocations it documents.
26
43
27
-
## What is not
44
+
## What is out of scope
28
45
29
46
-**Hooks running arbitrary code.**`rgit` runs git's hooks exactly as
30
47
`git commit` does, and deliberately does not police them
31
48
([`docs/USAGE.md`](docs/USAGE.md#behaviour-inherited-from-git)). A
32
49
malicious hook in a repository you have already checked out is outside
33
-
this boundary — as it is for `git` itself.
50
+
this boundary, as it is for `git` itself.
34
51
-**Language servers and the tree-sitter CLI.** Both are optional external
35
52
programs you install; `rgit` shells out to them and trusts them the way
36
53
any editor does. That trust does not extend to the path `rgit` reaches
@@ -43,7 +60,11 @@ are ones where it writes something the caller did not name:
43
60
`privateSocketDir`). Windows has no UID to scope by (`os.Getuid` returns
44
61
`-1`, naming the directory `rgit--1`) and needs no ownership check: its
45
62
per-user temp directory is already ACL-restricted by the platform. A
46
-
caller-supplied `$RGIT_LSP_SOCKET` is exempt — it is the caller's path to
63
+
caller-supplied `$RGIT_LSP_SOCKET` is exempt: it is the caller's path to
47
64
manage, not one `rgit` vouches for.
48
-
-**A wrong extent that stages too little.** That is a correctness bug —
65
+
-**A wrong extent that stages too little.** That is a correctness bug;
49
66
please file it as an ordinary issue.
67
+
68
+
## Safe harbour
69
+
70
+
We will not pursue legal action against good-faith research that avoids privacy violations, data destruction and disruption of services, stops at a proof of concept, and keeps the details private until the advisory is published. Rethunk.Tech, LLC maintains this repository.
0 commit comments