Lesson 6 of 9 · 28m
Security Response Without Panic Theater
Set up intake, triage, embargoed fixes, advisories, and disclosure timelines so vulnerabilities are handled quietly and credibly.
The worst time to invent a security process is while a researcher is watching a countdown and users are asking whether they are compromised. Security response is ordinary incident management plus confidentiality: a private intake path, a severity decision, a fixed release, an advisory, and coordinated disclosure. You do not need a giant program. You need rehearsed ownership.
Publish the front door
Create SECURITY.md at the repository root. Say where reports go, what information helps, what reporters should not do, and what response they can expect.
## Reporting a vulnerability
Email security@widgets.dev or open a private GitHub security advisory.
Do not file public issues, post exploit details, or test against installations
you do not own. We acknowledge reports within 3 business days and aim to
provide a remediation timeline within 7 days.Do not promise impossible SLAs. A weekend maintainer can offer honest expectations and still be credible.
Private advisory flow beats ad hoc email
GitHub private vulnerability reporting and draft security advisories let you discuss privately, collaborate on a fix, request a CVE, and publish the advisory with affected versions. Even if you use another host, copy that shape: private thread, private patch, coordinated public release.
report -> acknowledge -> reproduce/assess -> private fix
-> prepare release+advisory -> publish fix -> disclose and notify downstreamsSeverity is about exploitability in real deployment context, not the raw existence of a bug. CVSS can help structure scoring, but it does not know whether your dangerous endpoint is disabled by default or only reachable after admin auth. Write context into the advisory.
Embargo discipline
Only people who need to know should know. Do not put exploit details in public commit messages, issue titles, CI logs, or release notes before disclosure. But also do not make the fix deliberately obscure in a way that makes review impossible. A focused patch with tests is normal; the public timing is what changes.
A common sequence:
- Merge fix privately or shortly before release.
- Publish patched release.
- Publish advisory with affected/fixed versions and mitigations.
- Credit reporter if they want credit.
- Postmortem internally if process gaps appeared.
Advisories are user instructions, not victory laps
Affected versions: >= 1.2.0, < 1.8.3
Fixed: 1.8.3
Impact: token leakage to a malicious upstream server when custom mirrors
use HTTP basic auth.
Workaround: disable custom mirrors or force HTTPS endpoints.Users need to know whether they are exposed, what to upgrade to, and what to do if they cannot upgrade today. Technical detail is useful after those answers.
Field notes
- Never test a suspected vulnerability against someone else's deployment; reproduce locally or in a disposable environment.
- Rotate credentials if the vulnerability exposed tokens, even when exploitation is only theoretical.
- Do not argue severity in public while a patch is pending. Coordinate privately and document disagreements professionally.
- Security regressions are release incidents too: verify the fix, not just the unit test.
- If your project is a dependency of distributions, tell downstream packagers under embargo when feasible.
Was this lesson helpful?