aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-06 14:07:10 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-06 14:25:27 +0200
commit1f4f151019558699ea05ad292f5a4095ade1b05c (patch)
treeef0142465b80325cd9390dc61f1ec160c81140e4
parent5447516b9a87725a6f8c55ec7e4ea1c1be839ee6 (diff)
downloadPeerTube-1f4f151019558699ea05ad292f5a4095ade1b05c.tar.gz
PeerTube-1f4f151019558699ea05ad292f5a4095ade1b05c.tar.zst
PeerTube-1f4f151019558699ea05ad292f5a4095ade1b05c.zip
add vulnerability disclosure policy
-rw-r--r--SECURITY.md50
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example2
3 files changed, 52 insertions, 2 deletions
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000..37ed19246
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,50 @@
1**Introduction**
2
3Security is core to our values, and we value the input of hackers acting in good faith to help us maintain a high standard for the security and privacy for our users. This includes encouraging responsible vulnerability research and disclosure. This policy sets out our definition of good faith in the context of finding and reporting vulnerabilities, as well as what you can expect from us in return.
4
5**Expectations**
6
7When working with us according to this policy, you can expect us to:
8- Extend Safe Harbor (see below) for your vulnerability research that is related to this policy;
9- Work with you to understand and validate your report
10- Work to remediate discovered vulnerabilities in a timely manner; and
11- Recognize your contribution to improving our security if you are the first to report a unique vulnerability, and your report triggers a code or configuration change.
12
13**Safe Harbor**
14
15When conducting vulnerability research according to this policy, we consider this research to be:
16- Authorized in accordance with the law, and we will not initiate or support legal action against you for accidental, good faith violations of this policy;
17- Exempt from the Digital Millennium Copyright Act (DMCA), and we will not bring a claim against you for circumvention of technology controls;
18- Exempt from restrictions in our Terms & Conditions that would interfere with conducting security research, and we waive those restrictions on a limited basis for work done under this policy;
19- Lawful, helpful to the overall security of the Internet, and conducted in good faith.
20
21You are expected, as always, to comply with all applicable laws.
22
23If at any time you have concerns or are uncertain whether your security research is consistent with this policy, please submit a report through one of our Official Channels before going any further.
24
25**Ground Rules**
26
27To encourage vulnerability research and to avoid any confusion between good-faith hacking and malicious attack, we ask that you:
28- Play by the rules. This includes following this policy, as well as any other relevant agreements. If there is any inconsistency between this policy and any other relevant terms, the terms of this policy will prevail.
29- Report any vulnerability you have discovered promptly.
30- Avoid violating the privacy of others, disrupting our systems, destroying data, and/or harming user experience.
31- Use only the Official Channels to discuss vulnerability information with us.
32- Keep the details of any discovered vulnerabilities confidential until they are fixed, according to the Disclosure Terms in this policy.
33- Perform testing only on in-scope systems, and respect systems and activities which are out-of-scope.
34- If a vulnerability provides unintended access to data: Limit the amount of data you access to the minimum required for effectively demonstrating a Proof of Concept; and cease testing and submit a report immediately if you encounter any user data during testing, such as Personally Identifiable Information (PII), Personal Healthcare Information (PHI), credit card data, or proprietary information.
35- You should only interact with test accounts you own or with explicit permission from the account holder.
36- Do not engage in extortion.
37
38**Official Channels**
39
40To help us receive vulnerability submissions we use the following official reporting channels:
41- chocobozzz@cpy.re (GPG: [583A612D890159BE](https://keybase.io/chocobozzz/pgp_keys.asc?fingerprint=c44aad638367912ca93edd57583a612d890159be))
42
43If you think you have found a vulnerability, please include the following details with your report and be as descriptive as possible:
44- The location and nature of the vulnerability,
45- A detailed description of the steps required to reproduce the vulnerability (screenshots, compressed screen recordings, and proof-of-concept scripts are all helpful), and
46- Your name/handle and a link for recognition.
47
48If you would like to encrypt the information, please use our GPG key.
49
50We may modify the terms of this program or terminate this program at any time. We will not apply any changes we make to these program terms retroactively.
diff --git a/config/default.yaml b/config/default.yaml
index e95fa3ec7..40458bb38 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -129,7 +129,7 @@ instance:
129 Disallow: '' 129 Disallow: ''
130 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. 130 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
131 securitytxt: 131 securitytxt:
132 "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube\nContact: mailto:" 132 "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
133 133
134services: 134services:
135 # Cards configuration to format video in Twitter 135 # Cards configuration to format video in Twitter
diff --git a/config/production.yaml.example b/config/production.yaml.example
index edc774e6b..d032e4a0c 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -143,7 +143,7 @@ instance:
143 Disallow: '' 143 Disallow: ''
144 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. 144 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
145 securitytxt: 145 securitytxt:
146 "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube\nContact: mailto:" 146 "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
147 147
148services: 148services:
149 # Cards configuration to format video in Twitter 149 # Cards configuration to format video in Twitter