Skip to content

Add SECURITY.md file - #2766

Merged
dingo-d merged 2 commits into
developfrom
feature/add-security-policy
Jul 21, 2026
Merged

Add SECURITY.md file#2766
dingo-d merged 2 commits into
developfrom
feature/add-security-policy

Conversation

@jrfnl

@jrfnl jrfnl commented Jul 16, 2026

Copy link
Copy Markdown
Member

Description

The other day, Rodrigo and me noticed that WPCS does not have a published security policy (via a SECURITY.md file).

This commit intends to add such a file, which should help inform security researchers how to disclose any findings they may have.

The file is placed in the .github directory. This will allow for it to be recognized correctly by GitHub, while not cluttering up the project root directory.

Ref: https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/configure-vulnerability-reporting/add-security-policy

Suggested changelog entry

N/A

Notes

I have checked the following pages to confirm that WPCS is not covered under HackerOne:

The text is in part inspired by a similar policy for the Requests library, which I previously wrote (so there are no copyright issues).

The other day, Rodrigo and me noticed that WPCS does not have a published security policy (via a `SECURITY.md` file).

This commit intends to add such a file, which should help inform security researchers how to disclose any findings they may have.

The file is placed in the `.github` directory. This will allow for it to be recognized correctly by GitHub, while not cluttering up the project root directory.

Ref: https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/configure-vulnerability-reporting/add-security-policy
@jrfnl

jrfnl commented Jul 16, 2026

Copy link
Copy Markdown
Member Author

@dd32 As you seem to have an opinion about policy files in this repo, want to check through the text of this one before it is added ?

@dingo-d dingo-d left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small fix that affected the rendering

Comment thread .github/SECURITY.md
Co-authored-by: Denis Žoljom <dingo-d@users.noreply.github.com>
@dingo-d
dingo-d merged commit e8064a6 into develop Jul 21, 2026
38 checks passed
@dingo-d
dingo-d deleted the feature/add-security-policy branch July 21, 2026 08:16
lesterchan pushed a commit to lesterchan/WordPress-Coding-Standards that referenced this pull request Aug 9, 2026
* Add `SECURITY.md` file

The other day, Rodrigo and me noticed that WPCS does not have a published security policy (via a `SECURITY.md` file).

This commit intends to add such a file, which should help inform security researchers how to disclose any findings they may have.

The file is placed in the `.github` directory. This will allow for it to be recognized correctly by GitHub, while not cluttering up the project root directory.

Ref: https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/configure-vulnerability-reporting/add-security-policy

---------

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Co-authored-by: Denis Žoljom <dingo-d@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants