-
-
Notifications
You must be signed in to change notification settings - Fork 247
Add SECURITY.md vulnerability reporting policy #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kallal79
wants to merge
4
commits into
rubysec:master
Choose a base branch
from
kallal79:issue-309-security-policy-clean
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
504db8f
Add SECURITY.md vulnerability reporting policy
kallal79 fdd10a2
Update security email to security@rubysec.com
kallal79 e68eeca
Fix CRLF line endings for rubocop
kallal79 62f0a85
Revert email to original maintainer's email pending #428 decision
kallal79 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Security Policy | ||
|
|
||
| If you discover a security vulnerability in bundler-audit, please report it | ||
| privately. | ||
|
|
||
| ## Reporting A Vulnerability | ||
|
|
||
| - Email: postmodern.mod3@gmail.com | ||
| - Subject: "[bundler-audit] Security vulnerability report" | ||
|
|
||
| Please include: | ||
|
|
||
| - A clear description of the issue and impact. | ||
| - Steps to reproduce or a proof of concept. | ||
| - Affected versions and environment details. | ||
| - Any suggested remediation, if known. | ||
|
|
||
| Do not open a public GitHub issue for suspected vulnerabilities. | ||
|
|
||
| ## Encryption | ||
|
|
||
| If you want to send encrypted details, mention this in your initial email and we | ||
| will coordinate a secure channel. | ||
|
|
||
| ## Disclosure Process | ||
|
|
||
| After confirmation, maintainers will: | ||
|
|
||
| 1. Acknowledge receipt. | ||
| 2. Investigate and validate the report. | ||
| 3. Prepare and release a fix. | ||
| 4. Coordinate responsible disclosure details. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| require 'spec_helper' | ||
|
|
||
| describe 'SECURITY.md' do | ||
| let(:path) do | ||
| File.expand_path(File.join(File.dirname(__FILE__), '..', 'SECURITY.md')) | ||
| end | ||
|
|
||
| let(:content) { File.read(path) } | ||
|
|
||
| it 'exists' do | ||
| expect(File.file?(path)).to be(true) | ||
| end | ||
|
|
||
| it 'contains private reporting guidance' do | ||
| expect(content).to include('Reporting A Vulnerability') | ||
| expect(content).to include('Do not open a public GitHub issue') | ||
| end | ||
|
|
||
| it 'contains a security contact channel' do | ||
| expect(content).to include('postmodern.mod3@gmail.com') | ||
| end | ||
| end |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we need to change the email now. Any idea where to point now? @jasnow what about your contact?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened this yesterday for
security@rubysec.com:I just created a backup gmail email and will share it if we need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to propose that we use a contact address that is itself a resource with shared ownership (e.g., a private Google group where we can manage membership and permissions), presuming we gain control of gem publishing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.