security-policy-conventions
Skill7 starsChanged 4 days agoMITView on GitHub
SECURITY.md: how to report a vulnerability in a public repository, and what happens next. TRIGGER when: creating or editing `SECURITY.md`; a repository is or becomes public; scaffolding a public project; user asks how people should report a vulnerability, or about a security policy. SKIP when: the repository is private; fixing or scanning for a vulnerability (`ci-conventions`).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leroyguillaume/skillsword for word, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 1
- leroyguillaume/skills★ 7100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- dependency-update-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- mise-conventionsSkill
- ollama-conventionsSkill
- openssf-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- task-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 102
Never create a SECURITY.md in a private repository.
- Distinctive: line 103
Never invite a report through a public issue, pull request or discussion.
- Distinctive: line 104
Never invent a contact address or a response time.
- Distinctive: line 105
Never list supported versions as a table of numbers.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security policy conventions
A SECURITY.md answers one question: "I found a vulnerability in this
project — how do I tell the maintainers without telling everyone else?"
GitHub shows it under the repository's Security tab and links it from the
new-issue page, which is where a reporter about to open a public issue looks.
Every public repository has one, at the root
- Public repository →
SECURITY.mdat the repository root. GitHub also reads.github/anddocs/, but the root is where a reader browsing the tree finds it, and one location is one home. - Private repository → none. Its reporters are its members, who have better channels than a file.
- In English, present tense, like every document
(
documentation-conventions).
Structure
# Security policy
## Reporting a vulnerability
## Supported versions
## Scope
## What happens nextReporting a vulnerability
- Through GitHub's private vulnerability reporting, linked directly:
https://github.com/<owner>/<repo>/security/advisories/new. The report opens a draft advisory only the maintainers and the reporter see, where the fix can be discussed and prepared. - Never a public issue, pull request or discussion, and say so in one line: a vulnerability described in public is disclosed before it is fixed.
- The link only works with private vulnerability reporting switched on;
turning it on is
github-repo-settings' job, in the same change that adds the file. - No email address unless the user gives one for this purpose. Private reporting already reaches the maintainers, and an address published here is one more inbox someone has to watch for reports.
- What a useful report holds, as a short list: the affected version, the steps to reproduce, the impact as the reporter sees it.
Supported versions
State the policy, not a table of version numbers. A 1.4.x ✅ table goes
stale at the next release, and nobody remembers to update it
(documentation-conventions). Write the rule instead:
- a project that cuts releases: "fixes ship in a new release; only the latest release is supported";
- a project that does not: "the default branch is the only supported version".
Support for older lines is the user's call; write it only when they state it.
Scope
What counts as a vulnerability in this project, in a few bullets drawn from what it is: its own code and the artifacts it publishes, with the attack surface that makes sense for it (an HTTP API, a CLI parsing untrusted input, a container image, a chart's defaults). Then what is out of scope:
- a vulnerability in a dependency, already public upstream: report it there;
the dependency bot (
dependency-update-conventions) brings the fix in; - a finding that needs an already-compromised host or account;
- scanner output with no path to exploitation.
What happens next
The steps a report goes through, as an ordered list: acknowledged, assessed, fixed in the advisory's private fork, released, then the advisory published — with a CVE requested through GitHub when the impact warrants one — and the reporter credited unless they prefer otherwise.
No response time unless the user gives one. An invented SLA is a promise
the maintainer did not make; without one, say that reports are handled on a
best-effort basis. The OpenSSF Best Practices badge (openssf-conventions)
requires a first response within 14 days: when the project applies for it,
ask the user whether they commit to that, and state it if they do.
Never
- Never create a
SECURITY.mdin a private repository. - Never invite a report through a public issue, pull request or discussion.
- Never invent a contact address or a response time.
- Never list supported versions as a table of numbers.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

