Add an organization-wide security policy - #1
Open
jeremy wants to merge 1 commit into
Open
Conversation
GitHub falls back to this repository for any ruby/* repo that has no SECURITY.md of its own, so one file here gives every library in the organization a Report a vulnerability path. Today most of them have none. A reporter looking at ruby/zlib, ruby/psych or ruby/openssl sees no policy and no private reporting, and the reasonable guess is to open an issue -- which is the one thing we do not want. Content follows https://www.ruby-lang.org/en/security/ and adds nothing new: HackerOne or security@ruby-lang.org, the PGP key, do not open a public issue, valid reports are published after a fix. Website and third-party gem reports are pointed elsewhere. Japanese readers are pointed at the Japanese version of the same page.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GitHub falls back to this repository for any
ruby/*repo that has noSECURITY.mdof its own, soone file here gives every library in the organization a Report a vulnerability path.
Today most of them have none. I checked while looking for somewhere to send a report:
SECURITY.mdruby/zlib.github/,docs/)ruby/syckruby/.github(the fallback)So a reporter who lands on a default gem's repository sees no policy and no private reporting
button, and the reasonable guess is to open an issue — which is the one thing we do not want. This
is not hypothetical: these gems ship with Ruby, and
ruby/zlibhas already publishedGHSA-g857-hhfv-j68w through
its security tab, so the outbound half is in use while the inbound half is missing.
What it says
Nothing new — it restates https://www.ruby-lang.org/en/security/:
security@ruby-lang.orgruby/www.ruby-lang.org; gems that are not part of Ruby follow theRubyGems.org instructions
It also says explicitly that a library in its own repository here —
ruby/openssl,ruby/psych—is still Ruby, and should be reported through the same channels rather than in that library's issue
tracker. That is the case people get wrong.
Notes
speakers, so I avoided idioms and phrasal verbs.
the Japanese version of the same page rather than to a
translation of mine.
to a plain restatement of the website.