Skip to content

Disclosure Ready

You'll set up a private way for strangers to report a security hole in your project, then run a drill with a friend so the first real one isn't a surprise.

About

Someone will find a vulnerability in your project eventually. If the only way to tell you is a public issue, they'll either post it publicly or not tell you at all. A SECURITY.md with a private contact, a promised response time, and a plan for what happens next is about an hour of work. Then run a drill with a friend so the first real report isn't also the first time you've done this. This badge isn't about finding holes, which is the Security track. It's about being reachable when someone else does.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
5
Takes
Two evenings
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
With other people
Locked for now
Earn two more Common badges in Open Source & Community to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Write SECURITY.md with a private contact, supported versions, and a response time you'll keep. Use a dedicated email, GitHub private vulnerability reporting, or a form. Only write 'we respond within 72 hours' if you will. Say which versions get fixes, and keep the whole file under 40 lines. Take a screenshot of the committed file. Photo
  2. 2
    Turn on private vulnerability reporting and dependency alerts on the repo. GitHub has both under the Security settings, and GitLab has something similar. Make sure the alerts go to an inbox someone reads. Take a screenshot of the settings page with both switched on. Photo
  3. 3
    Write a response checklist that runs from acknowledging the report to publishing an advisory. Put seven steps on one page in the repo or a wiki: acknowledge, reproduce, fix in private, pick a date, release, credit the reporter, and publish an advisory. Include who does what if there's more than one maintainer. Take a screenshot of the checklist. Photo
  4. 4
    Run a drill by having a friend file a fake report through the private channel, then work the checklist. Make up a plausible bug and time each step. Fix it on a private branch and write the advisory draft, but don't publish it. Take a screenshot of the drill report and your timings. Photo
  5. 5
    Fix what the drill broke and write a note on what you changed. Something will be missing, whether it's a step, a person, or a credential you didn't have. Fix it. Take a screenshot of the updated checklist with the changes marked. Photo