Repository navigation
Docs: Update the security policy and add the machine-generated contributions section #2
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
timmywil
wants to merge
1
commit into
main
Choose a base branch
from
security-policy
base: main
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.
+36
−10
Open
Changes from all commits
Commits
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
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 |
|---|---|---|
|
|
@@ -4,13 +4,15 @@ | |
|
|
||
| Please check which versions of the jQuery project you are using are currently supported. | ||
|
|
||
| - The [latest released version of jQuery UI](https://github.com/jquery/jquery/releases) is supported. | ||
| - The [latest released version of jQuery](https://github.com/jquery/jquery/releases) is supported. | ||
| - The [latest released version of jQuery UI](https://github.com/jquery/jquery-ui/releases) is supported, but jQuery UI supports multiple versions of jQuery. More information can be found at https://jqueryui.com/. | ||
| - [jQuery Mobile](https://github.com/jquery-archive/jquery-mobile) is no longer supported. | ||
|
|
||
| Fixes are not backported to earlier versions. Commercial support for previous versions is available from third parties; see the [jQuery README](https://github.com/jquery/jquery#version-support). | ||
|
|
||
| ## jQuery Websites | ||
|
|
||
| The jQuery instrastructure is maintained with puppet and the configuration is publicly available and documented at https://github.com/jquery/infrastructure-puppet. | ||
| The jQuery infrastructure is maintained with puppet and the configuration is publicly available and documented at https://github.com/jquery/infrastructure-puppet. | ||
|
|
||
| Content for individual sites can be found in their respective repositories. For example, the content for jquery.com is available at https://github.com/jquery/jquery.com. | ||
|
|
||
|
|
@@ -24,20 +26,31 @@ Please report security issues **privately**: | |
|
|
||
| **Do not** file public GitHub issues for security problems. | ||
|
|
||
| When reporting, please include: | ||
| - Affected project/repo and version(s) | ||
| - Impact and component(s) involved | ||
| - Reproduction steps or PoC (if available) | ||
| Reports **must** include: | ||
| - The version(s) you tested, with the commit SHA if you tested a build from `main` | ||
| - The specific API involved, with the file and line in the project's source you believe is at fault | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This repeats a lot that's also added in jquery/jquery#5925, so let's align on the final version there before merging. |
||
| - A proof of concept that runs against an unmodified build of the version you name | ||
| - A description, in your own words, of what the library is doing that you consider unsafe and what the impact is | ||
| - Your contact and preferred credit name | ||
|
|
||
| If you do not receive an acknowledgement of your report within **6 business days**, or if you cannot find a private security contact for the project, you may **escalate to the OpenJS Foundation CNA** at `security@lists.openjsf.org`. | ||
| Reports missing any of the above will be closed with a request for the missing information. | ||
|
|
||
| ### Report quality and automated submissions | ||
|
|
||
| Most reports we receive are produced by automated tools or language models and do not describe a real vulnerability. Reviewing them costs maintainer time that would otherwise go to real issues. | ||
|
|
||
| You may use whatever tools you like to find and write up an issue, but you are responsible for every claim in your report. Reports that cite APIs, files, or lines that do not exist, that restate documented behavior as a vulnerability, or that name a vulnerability class without demonstrating a specific path through the library will be closed. We will ask follow-up questions and expect answers in your own words; if you cannot answer them, the report will remain closed. Repeat submissions of this kind may result in a ban from the project and withdrawal of any credit previously given. | ||
|
|
||
| This applies regardless of how the report reaches us: email, a GitHub security advisory, or escalation through the OpenJS Foundation CNA. See also [Unsolicited and Machine-Generated Contributions](CONTRIBUTING.md#unsolicited-and-machine-generated-contributions) in CONTRIBUTING.md. | ||
|
|
||
| If you receive no response (including a closure or a request for more information) within **6 business days**, or if you cannot find a private security contact for the project, you may **escalate to the OpenJS Foundation CNA** at `security@lists.openjsf.org`. | ||
|
|
||
| If the project acknowledges your report but does not provide any further response or engagement within **14 days**, escalation is also appropriate. | ||
|
|
||
| ## Coordination & Disclosure | ||
|
|
||
| Important: | ||
| - If the vulnerability is considered valid and accepted, a patch will be made for the latest jQuery version. | ||
| - If the vulnerability is considered valid and accepted, a patch will be made for the latest version of the affected project. | ||
| - If the vulnerability is deemed invalid, no further action is required. | ||
|
|
||
| We follow coordinated vulnerability disclosure: | ||
|
|
||
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.
This is not true in all cases for jQuery, we e.g. backported quite a lot of things to the upcoming 3.8.0.
We don't guarantee that and e.g. after 3.8.0 we will generally avoid such backports, but I wonder if this language is not too strong.