Skip to content

Commit 02b9005

Browse files
authored
Merge pull request #1582 from input-output-hk/security-policy
Establish a more explicit security policy
2 parents 1ddcd46 + 8809cb7 commit 02b9005

File tree

1 file changed

+108
-1
lines changed

1 file changed

+108
-1
lines changed

SECURITY.md

Lines changed: 108 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,108 @@
1-
See the security file in the [Cardano engineering handbook](https://github.com/input-output-hk/cardano-engineering-handbook/blob/main/SECURITY.md).
1+
# Security Vulnerability Disclosure Policy
2+
3+
## Introduction
4+
5+
The Mithril open source project is committed to ensuring the security of
6+
its software and the privacy of its users. We value the contributions
7+
of the security community in helping us identify and address
8+
vulnerabilities in our code. This _Security Vulnerability Disclosure
9+
Policy_ outlines how security vulnerabilities should be reported and
10+
how we will respond to and remediate such reports.
11+
12+
## Security Vulnerability Handling Process
13+
14+
### Reporting a Vulnerability
15+
16+
If you discover a security vulnerability in Mithril, we encourage you to
17+
responsibly disclose it to us. To report a vulnerability, please use
18+
the [private reporting form on
19+
GitHub](https://github.com/input-output-hk/mithril/security/advisories/new)
20+
to draft a new _Security advisory_.
21+
22+
Please include as much details as needed to clearly qualify the issue:
23+
24+
* A description of the vulnerability and its potential impact.
25+
* Steps to reproduce the vulnerability.
26+
* The version of `mithril-node` package where the vulnerability exists.
27+
* Any relevant proof-of-concept or exploit code (if applicable).
28+
29+
30+
### Processing Vulnerability
31+
32+
1. **Acknowledgment**: The team acknowledges the receipt of your report
33+
within 3 business days by commenting on the issue reporting it or replying to email.
34+
35+
2. **Validation**: The team investigates the issue and either _reject_ or _validate_ the
36+
reported vulnerability.
37+
38+
a. **Rejection**: If the team rejects the report, detailed explanations will be provided by email or commenting on the relevant issue and the latter will be made public and closed as `Won't fix`.
39+
40+
b. **Acceptance**: If the team accepts the report, a CVE identifier will be requested through GitHub and a [private fork](https://docs.github.com/en/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability) opened to work on a fix to the issue
41+
42+
3. **Resolution**: The team works to resolve the vulnerability in a
43+
timely manner. The timeline for resolution will depend on the
44+
complexity and severity of the vulnerability, but we will strive to
45+
address critical vulnerabilities as quickly as possible.
46+
47+
4. **Collaboration**: While working on a fix, the team maintains open and transparent
48+
communication with the reporter throughout the process, providing
49+
updates on the status of the vulnerability and any steps taken to
50+
remediate it. In particular this means that the reporter will be asked to review any proposed fix and to advise on the timing for public disclosure.
51+
52+
5. **Fixing Issue**: The team agrees on the fix, the announcement, and the release schedule with the reporter. If the reporter is not responsive in a reasonable time frame this should not block the team from moving to the next steps particularly in the face of a high impact or high severity issue.
53+
54+
a. **Mitigation**: Depending on the severity and criticity of the issue, the team can decide to disclose the issue publicly in the absence of a fix _if and only if_ a clear, simple, and effective mitigation plan is defined. This _must_ include instructions for users and operators of the software, and a time horizon at which the issue will be properly fixed (eg. version number).
55+
56+
b. **Fix**: When a fix is available and approved, it should be merged and made available as quickly as possible:
57+
58+
* All commits to the private repository are squashed into a single commit whose description _should not_ make any reference it relates to a security vulnerability
59+
* A new Pull Request is created with this single commit
60+
* This PR's review and merging is expedited as all the work as already been done
61+
62+
6. **Release**: The team creates and publish a release that includes the fix
63+
64+
7. **Announcement**: Concommitant to the release annoucement, the team announces the security vulnerability by making the GitHub issue public. This is the first point that any information regarding the vulnerability is made public.
65+
66+
a. **Credit**: The team publicly acknowledges the contributions of the
67+
reporter once the vulnerability is resolved, subject to the
68+
reporter's preferences for attribution.
69+
70+
7. **Disagreements**: In case of disagreements with the reporter on the fix, mitigation, timing, or announcement, the team has the final say.
71+
72+
## Responsible Disclosure
73+
74+
We kindly request that reporters adhere to responsible disclosure
75+
practices, which include:
76+
77+
- **Do not disclose the vulnerability publicly**: Please refrain from
78+
posting details of the vulnerability on public forums or social
79+
media until it has been resolved.
80+
- **Do not exploit the vulnerability**: Do not attempt to exploit the
81+
vulnerability to cause harm or gain unauthorized access to systems.
82+
- **Work with us**: Allow us a reasonable amount of time to
83+
investigate and address the vulnerability before publicly disclosing
84+
any details.
85+
86+
## Legal Protections
87+
88+
We will not pursue legal action against individuals who
89+
report security vulnerabilities to us.
90+
91+
## Contact Information
92+
93+
To report a security vulnerability, please use [GitHub
94+
form](https://github.com/input-output-hk/mithril/security/advisories/new).
95+
96+
## Revision of Policy
97+
98+
This Security Vulnerability Disclosure Policy may be updated or
99+
revised as necessary. Please check the latest version of this policy
100+
on the [Mithril repository](https://github.com/input-output-hk/mithril/blob/master/SECURITY.md).
101+
102+
## Conclusion
103+
104+
The Mithril project greatly appreciates the assistance of the security
105+
community in helping us maintain the security of our software while
106+
upholding the highest standards of privacy. Together, we can work to
107+
identify and address vulnerabilities, ensuring a safer and more secure
108+
experience for all users.

0 commit comments

Comments
 (0)