This policy covers zachthedev/.github and every zachthedev repository that carries no SECURITY.md of its
own, because GitHub serves this file as their default. .github holds what every zachthedev repository runs and
reads: the reusable workflows under .github/workflows/, the Renovate presets under renovate/, the default
community files, and the handbook. A defect there
reaches every repository on its next run. This file says what counts as a vulnerability, and how to report one
without publishing it first.
Open a private advisory from the Security tab of the repository the report concerns, where that repository has
private reporting on. For .github itself: https://github.com/zachthedev/.github/security/advisories/new. Where
the Security tab offers no private report, email hey@zachthe.dev.
Never open a public issue for a vulnerability. Everything else belongs in the issue tracker.
A report is most useful with the file it concerns, the commit it was read at, and what an attacker would have to do to reach the hole. Keep a proof of concept inert: a workflow run in your own fork that prints what it could reach proves it as well as one that pushes, publishes or reads a secret.
The default branch. A fix lands on main. Every caller reads the presets from there on its next run. A caller
pins a reusable workflow by commit, so a workflow fix reaches it after the next release of .github and that
caller's merged bump. .github releases nothing to a registry, so it has no older version to patch. Another
repository this policy covers takes a fix on its default branch, and the fix ships in its next release.
- A reusable workflow that hands a caller's secret, an app token or write access to something the pull request under test controls: a step that runs untrusted input, a permission wider than the job needs, or a checkout that keeps credentials it does not use.
- A workflow or preset that lifts a control every repository relies on: the SHA pin on an action, the three-day cooldown, the read-only default token, or a required check that stops reporting.
- A preset that makes Renovate open a pull request it must not, or hide one it must open, such as a security fix.
- The gate in
.github, where it runs on a contributor's machine: a check that reads a file it must not, or a tool resolved from somewhere other than its pin. - A vulnerability in what another covered repository ships.
- GitHub itself: Actions, Dependabot, code scanning and the rulesets. Report those to GitHub.
- Renovate, actionlint, zizmor, ShellCheck, taplo, Prettier, commitlint and lefthook themselves. Report those
upstream. A pin bump lands in
.githubonce a fix ships. - A caller that runs these workflows with settings the handbook does not describe, reported against the
workflows. A defect in the caller itself falls under its own
SECURITY.md, or under this one where it carries none. - The handbook's text. A rule that reads wrongly is an issue, not a vulnerability.
One person maintains these repositories, and a first reply takes up to a week. There is no bounty. A report gets an acknowledgment, a fix on the default branch, and a credit in the advisory unless you ask to stay anonymous.