Skip to content

Adding a boilerplate security policy.#143

Open
schneidergithub wants to merge 2 commits intowebmachinelearning:mainfrom
schneidergithub:main
Open

Adding a boilerplate security policy.#143
schneidergithub wants to merge 2 commits intowebmachinelearning:mainfrom
schneidergithub:main

Conversation

@schneidergithub
Copy link

This is a default security policy, which is expected in github repos. Feel free to update the content, I copied & pasted it from another repo of mine.

Copilot AI review requested due to automatic review settings March 17, 2026 14:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a repository SECURITY.md document intended to guide contributors on handling sensitive material and reporting security issues, aligning the repo with common GitHub expectations for a security policy file.

Changes:

  • Introduces a new SECURITY.md with guidance on handling secrets/sensitive data.
  • Adds guidance on evidence/audit integrity expectations.
  • Adds a section describing how to report security issues.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@schneidergithub
Copy link
Author

schneidergithub commented Mar 17, 2026

Ready for review / approval. I suggest one of the maintainers (tagging the first from microsoft & google for visibility & simplicity): @bwalderman & @bokand adds an email address or contact form for a proper security issue submission that is private, versus using public issues.

Copy link
Member

@anssiko anssiko left a comment

Choose a reason for hiding this comment

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

Thanks for the suggestion. There's no established SECURITY.md boilerplate for W3C repos currently. I'll put this to W3C Security Lead's desk.

@simoneonofri, can you suggest an appropriate SECURITY.md file considering https://w3c.github.io/security-disclosure/? My expectation is a link to that doc would be preferred over custom text to keep a canonical reference. When settled, I'd expect best practices and templates to be updated accordingly.

@anssiko anssiko requested a review from simoneonofri March 17, 2026 15:10
@schneidergithub
Copy link
Author

Thank you for the feedback Anssi. I would love to see a standard document & template to use for all my projects. A link to an official doc sounds like a great pragmatic solution.

@schneidergithub
Copy link
Author

I apologize, I made another commit to my fork that is getting auto-added to this PR. The second commit is just a repo clean-up policy I personally use, where it dismisses stale / inactive issues that have no activity over a month.

@simoneonofri
Copy link

Thanks for the suggestion. There's no established SECURITY.md boilerplate for W3C repos currently. I'll put this to W3C Security Lead's desk.

@simoneonofri, can you suggest an appropriate SECURITY.md file considering https://w3c.github.io/security-disclosure/? My expectation is a link to that doc would be preferred over custom text to keep a canonical reference. When settled, I'd expect best practices and templates to be updated accordingly.

@anssiko thank you. Yes the security disclosure document you linked is the one we're working on. Something done before was this one https://github.com/w3c/securityig/blob/main/SECURITY.md as I am acting as the point of contact, but for tldr, we're also using the GitHub feature

@schneidergithub
Copy link
Author

Would you like me to close this PR since you guys seem to be on top of it. Or I can take ownership of this and submit a new PR that just points to https://github.com/w3c/securityig/blob/main/SECURITY.md

Copy link

@simoneonofri simoneonofri left a comment

Choose a reason for hiding this comment

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

I made some changes by adding the reference to the ED of the policy. PLMK

Comment on lines +25 to +35
If you identify a security weakness in repository content, proposed changes, or
automation:

- Do not publish sensitive exploit details in a public issue unless the repo
owner explicitly requests that workflow.
- Notify the designated repository owner, security contact, or maintainers
through the approved internal reporting path.
- Include enough detail to reproduce and assess the issue without attaching
secrets or sensitive data.
- If the issue affects documented controls or evidence expectations, update the
relevant documentation only after maintainers confirm the correct handling.

Choose a reason for hiding this comment

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

Suggested change
If you identify a security weakness in repository content, proposed changes, or
automation:
- Do not publish sensitive exploit details in a public issue unless the repo
owner explicitly requests that workflow.
- Notify the designated repository owner, security contact, or maintainers
through the approved internal reporting path.
- Include enough detail to reproduce and assess the issue without attaching
secrets or sensitive data.
- If the issue affects documented controls or evidence expectations, update the
relevant documentation only after maintainers confirm the correct handling.
The World Wide Web Consortium (W3C) recognizes that there may be some security issues in W3C standards and specifications. W3C appreciates researchers' feedback on our work because it is critical to keeping the Web secure. If you have found a security issue in a W3C specification, your help is very important.
If you believe that you have spotted a security bug in a specification, we invite you to follow the [Standards Vulnerability Disclosure & Handling Process and Policy](https://w3c.github.io/security-disclosure/)
**It is important to note that reports of this type are about the standards themselves, not their implementations. It is possible, for example, to propose updates to Security Consideration Sections.**
To report a security issue in W3C website, please refer to the [W3C security.txt file](https://w3.org/security.txt)

@simoneonofri
Copy link

@schneidergithub thank you for rising the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants