SECURITY.md Generator
Write a SECURITY.md vulnerability disclosure policy with supported versions, a private reporting channel and response times.
Tell researchers how to report a vulnerability privately and what to expect next - generate a clear SECURITY.md in a minute.
More Developer Documentation / Project Tools
View all 11Only promise response times your team can meet, and make sure someone watches the reporting channel.
What Is the SECURITY.md Generator?
It writes a SECURITY.md file: a short, public security policy that tells people which versions receive security fixes and how to report a vulnerability privately. GitHub shows this file on the repository's Security tab and links to it when someone tries to open a security-related issue.
Why It Matters
Without a policy, a researcher who finds a problem often has no choice but to open a public issue - which discloses the vulnerability to everyone before you can fix it. A clear policy gives them a private channel and sets expectations on both sides.
How to Use It
- Choose how reports should reach you: GitHub private vulnerability reporting, an email address, or a web form.
- List your supported versions, one per line, ending with
yesorno. - Set realistic response times and choose whether to include a good-faith research statement and reporter credit.
- Generate, then save the file in the repository root,
docs/or.github/.
Example
The lines 2.x yes and < 1.4 no become a Supported Versions table with a tick and a cross. With email reporting, the policy asks reporters to write to your security address and lists what to include: impact, reproduction steps, affected versions.
Understanding the Output
The generated policy has five parts: supported versions, how to report, what to include, what reporters can expect (acknowledgement and fix timelines, coordinated disclosure) and what is out of scope. Only promise response times your team can actually meet.
Limitations
A policy is a promise, not a process: someone must watch the reporting channel. This template is not a legal safe-harbor agreement or a bug bounty programme. For email-based reporting, publishing a /.well-known/security.txt file (RFC 9116) on your website helps too. Link the policy from your CONTRIBUTING.md.
Frequently Asked Questions
Explore More Tools
Keep going with related categories and our most used tools.