{"playbook":"Open source maintenance","url":"https://agentwranglers.se/playbook/open-source","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"OSS-1","revision":"3f9fb2c77d6d","updated":"2026-10-27","name":"Choose an OSI-approved licence before the first release","level":"Required","risk":"law","rule":"Before the first public release, put the full text of one OSI-approved licence in a `LICENSE` file at the root of the repository. Ship the same text inside every release.","check":"The repository root has a `LICENSE` or `LICENSE.txt` file. A licence detector run on it reports one SPDX identifier, and that identifier is marked OSI approved in the SPDX licence list. The latest release archive contains the same file.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/osi-approved-licence","related":["/playbook/documentation/readme-and-docs-as-code/linked-decision-records","/playbook/stack/how-to-choose/open-licence-or-exit","/playbook/open-source/project-supply-chain/openssf-badge"],"sources":["https://opensource.org/licenses","https://opensource.org/osd","https://spdx.org/licenses/"]},{"id":"OSS-2","revision":"c566968e34bc","updated":"2026-10-27","name":"Writing your own licence or changing a standard one","level":"Avoid","rule":"A licence you wrote yourself, or a standard licence with words added or removed. Examples are \"MIT, but not for commercial use\" and an extra clause that bans some users.","check":"A licence matcher compares `LICENSE` with the SPDX template of its identifier and reports a full match. Only the copyright line and year differ.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/no-custom-licence","related":["/playbook/due-diligence/code-and-ownership/licence-inventory"],"sources":["https://opensource.org/osd"]},{"id":"OSS-3","revision":"e48d0cef8c81","updated":"2026-10-27","name":"Mark every file with its licence and copyright holder","level":"Recommended","rule":"Start every source file with an `SPDX-License-Identifier` line and an `SPDX-FileCopyrightText` line. Keep each licence's text in a `LICENSES/` folder, named by its SPDX identifier.","check":"`reuse lint` exits 0 in CI on every pull request. A test file added without the two header lines makes the job fail.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/spdx-file-headers","related":["/playbook/documentation/examples-that-run/sample-code-licence","/playbook/application-security/supply-chain/sbom-and-provenance","/playbook/open-source/licences-and-copyright/third-party-notices"],"sources":["https://reuse.software/spec-3.3/","https://spdx.org/licenses/"]},{"id":"OSS-4","revision":"806f392069cb","updated":"2026-10-27","name":"Declare the licence in the package metadata","level":"Recommended","rule":"Put the licence as an SPDX expression in the package metadata of every published package. It matches the `LICENSE` file and the file headers.","check":"A test in CI reads the metadata licence and the `SPDX-License-Identifier` of the main source file. The two are equal, and the published package page shows the same identifier.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/licence-in-package-metadata","related":["/playbook/due-diligence/code-and-ownership/licence-inventory"],"sources":["https://peps.python.org/pep-0639/","https://docs.npmjs.com/cli/v12/configuring-npm/package-json"]},{"id":"OSS-5","revision":"540c3f8621a8","updated":"2026-10-22","name":"Keep copied code under its own licence","level":"Recommended","rule":"Keep the original licence and copyright lines on any code you copy or vendor into the project. Ship every notice its licence asks for, such as the Apache-2.0 `NOTICE` file.","check":"`reuse lint` passes, and each file under the vendored folders has the SPDX identifier and copyright holder of its origin, not your own. When a vendored package's licence is Apache-2.0 and it has a `NOTICE` file, the release archive contains that file.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/third-party-notices","related":["/playbook/documentation/examples-that-run/sample-code-licence","/playbook/open-source/licences-and-copyright/spdx-file-headers","/playbook/ai-assisted-development/reviewing-agent-output/code-provenance","/playbook/open-source/using-open-source/dependency-notices"],"sources":["https://opensource.org/license/mit","https://opensource.org/license/apache-2-0"]},{"id":"OSS-6","revision":"97241574880f","updated":"2026-10-22","name":"Changing the licence without every copyright holder's consent","level":"Avoid","rule":"Releasing code that others wrote under a new licence when they never agreed to it. This includes moving from an open source licence to a source-available one.","check":"A CI job fails any pull request that changes `LICENSE`, `LICENSES/` or the metadata licence unless it carries a `licence-change` label. That label requires a linked consent record covering every author in `git shortlog -s`.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/relicensing-consent","related":["/playbook/open-source/contributions/contributor-sign-off"],"sources":[]},{"id":"OSS-45","revision":"61a3dab000a2","updated":"2026-10-27","name":"Write a trademark policy for the project name and logo","level":"Recommended","rule":"Publish a trademark policy that says how others may use the project's name and logo. Name who holds the marks, and register the name before you sell services under it.","check":"`TRADEMARKS.md` exists, names the holder of the marks and is linked from the README. Its list of allowed uses has at least the cases of plain reference, unchanged redistribution and forks.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/licences-and-copyright/trademark-policy","related":["/playbook/open-source/maintainers-and-governance/project-owned-accounts"],"sources":["https://opensource.org/license/apache-2-0"]},{"id":"OSS-7","revision":"d18179793de1","updated":"2026-10-27","name":"Write a contributing guide","level":"Recommended","rule":"Keep a `CONTRIBUTING.md` that says how to set up the project, run the tests, propose a change and what a change must include before review. If you take no outside changes, say so in it.","check":"`CONTRIBUTING.md` exists in the root, `docs/` or `.github/`. A test finds the headings for setup, tests, how to propose a change and review time, or one sentence saying outside changes are not accepted.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/contributions/contributing-guide","related":["/playbook/documentation/readme-and-docs-as-code/readme-sections","/playbook/open-source/contributions/contributor-sign-off","/playbook/open-source/issues-and-triage/first-response-time"],"sources":["https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors","https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-8","revision":"f1d55ca07fff","updated":"2026-10-22","name":"Adopt a code of conduct with a named contact","level":"Recommended","rule":"Publish a `CODE_OF_CONDUCT.md` that names a private way to report a problem and who reads those reports. Name at least two people, so a report about one of them still reaches someone else.","check":"`CODE_OF_CONDUCT.md` exists and contains no `[NOTE` or `[INSERT` placeholder. Its reporting section names an address that receives a test message, and at least two people get it.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/contributions/code-of-conduct","related":["/playbook/open-source/maintainers-and-governance/governance-document"],"sources":["https://www.contributor-covenant.org/version/3/0/code_of_conduct/","https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project"]},{"id":"OSS-9","revision":"738e69362de9","updated":"2026-10-27","name":"Record each contributor's right to submit","level":"Recommended","rule":"Require each contributor to state, for every commit, that they have the right to submit it under the project's licence. Use the Developer Certificate of Origin sign-off or a contributor licence agreement, and check it in CI.","check":"A required CI check fails a pull request with any commit whose message lacks a `Signed-off-by:` line matching the commit author's email. With a contributor agreement, the check fails for an author who has not signed it.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/contributions/contributor-sign-off","related":["/playbook/open-source/licences-and-copyright/relicensing-consent","/playbook/open-source/contributions/contributing-guide","/playbook/open-source/contributions/ai-contribution-policy","/playbook/open-source/using-open-source/upstream-contributions","/playbook/due-diligence/code-and-ownership/code-ownership-rights"],"sources":["https://developercertificate.org/","https://git-scm.com/docs/git-commit","https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-10","revision":"82fb71845956","updated":"2026-10-27","name":"Review build files and test data in every outside change","level":"Recommended","rule":"Give build scripts, CI files, release scripts and binary test files code owners from the maintainer group. Require one of them to approve every change to those paths, from anyone.","check":"The code owners file covers the CI folder, every build and release script and every test data folder. A test pull request that changes one of them cannot merge without an approval from a listed owner.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/contributions/review-hidden-changes","related":["/playbook/engineering/version-control-and-review/code-owners","/playbook/open-source/project-supply-chain/no-binaries-in-repository","/playbook/application-security/supply-chain/ci-secrets","/playbook/open-source/maintainers-and-governance/vet-new-maintainers"],"sources":["https://nvd.nist.gov/vuln/detail/CVE-2024-3094","https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners"]},{"id":"OSS-11","revision":"6e8d6b2b3c31","updated":"2026-10-27","name":"State your rules for changes written with AI","level":"Recommended","rule":"Say in `CONTRIBUTING.md` whether changes written with AI tools are accepted. If they are, require the contributor to say so in the pull request and to have read and tested every line.","check":"`CONTRIBUTING.md` has a section on AI tools. The pull request template contains a required disclosure checkbox, and a CI check fails a pull request whose description leaves it unanswered.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/contributions/ai-contribution-policy","related":["/playbook/ai-assisted-development/reviewing-agent-output/code-provenance","/playbook/open-source/contributions/contributor-sign-off"],"sources":[]},{"id":"OSS-12","revision":"b0f5396b9b3d","updated":"2026-10-27","name":"Keep at least two people who can publish","level":"Required","risk":"outage","rule":"Give at least two maintainers admin rights on the repository, owner rights on every registry package and access to the release process. Each of them has published at least one release in the last 12 months.","check":"The registry lists at least two owners for every package, and the code host lists at least two admins. The release history shows a release by each of them within 12 months.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/two-publishers","related":["/playbook/open-source/releases/trusted-publishing","/playbook/open-source/maintainers-and-governance/retire-inactive-maintainers","/playbook/open-source/releases/release-approval","/playbook/open-source/project-supply-chain/openssf-badge","/playbook/open-source/issues-and-triage/good-first-issues"],"sources":["https://www.bestpractices.dev/en/criteria/1","https://docs.npmjs.com/cli/v12/commands/npm-owner"]},{"id":"OSS-13","revision":"1e92ddc86b8f","updated":"2026-10-27","name":"Write down how decisions are made","level":"Recommended","rule":"Keep a `GOVERNANCE.md` that names the roles and what each may decide. It also says how disputes are settled and how people gain or lose a role.","check":"`GOVERNANCE.md` exists and has sections for roles, decisions, disputes and changes of role. Every role it names appears in the maintainers list with at least one person.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/governance-document","related":["/playbook/open-source/contributions/code-of-conduct","/playbook/open-source/maintainers-and-governance/maintainers-list","/playbook/documentation/readme-and-docs-as-code/linked-decision-records"],"sources":["https://www.bestpractices.dev/en/criteria/1","https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-14","revision":"dad632b99382","updated":"2026-10-22","name":"List everyone who holds a key to the project","level":"Recommended","rule":"Keep a `MAINTAINERS.md` naming everyone with write or admin rights on the repository or owner rights on a registry. Add everyone with access to the domain, signing keys or CI secrets. A CI job compares it with the code host every week.","check":"The weekly job lists the accounts with admin, maintain or write rights and the registry owners. It fails when any account is missing from `MAINTAINERS.md`, or the file names someone who holds no rights.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/maintainers-list","related":["/playbook/open-source/maintainers-and-governance/governance-document","/playbook/engineering/version-control-and-review/code-host-accounts"],"sources":["https://baseline.openssf.org/versions/2026-08-28","https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization"]},{"id":"OSS-15","revision":"14f63e9329f4","updated":"2026-10-22","name":"Vet a person before giving them release or admin rights","level":"Recommended","rule":"Give release, admin or registry rights only after a written nomination that another maintainer approves. The nominee has at least 6 months of reviewed contributions to the project.","check":"Each grant of admin, maintain or registry owner rights in the code host's audit log links a nomination issue. That issue has an approval from a maintainer other than the nominee and the person who granted the rights.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/vet-new-maintainers","related":["/playbook/open-source/contributions/review-hidden-changes","/playbook/open-source/funding-and-the-end-of-a-project/archive-the-project","/playbook/open-source/maintainers-and-governance/retire-inactive-maintainers"],"sources":["https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-16","revision":"d51acb826c29","updated":"2026-10-22","name":"Take back rights from people who have gone quiet","level":"Recommended","rule":"Remove release, admin and registry rights from anyone with no commit, review or release in the project for 12 months. Thank them by name as emeritus maintainers in `MAINTAINERS.md`.","check":"A monthly job lists everyone with release, admin or registry rights, with the date of their last commit, review or release. Nobody on the list has a date older than 12 months.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/retire-inactive-maintainers","related":["/playbook/open-source/maintainers-and-governance/vet-new-maintainers","/playbook/open-source/maintainers-and-governance/two-publishers"],"sources":[]},{"id":"OSS-17","revision":"c09cbe661c52","updated":"2026-10-22","name":"Hold the project's accounts in an organisation","level":"Recommended","rule":"Keep the repository, the registry namespace, the domain and the chat server in accounts owned by the project, each with at least two admins. Never keep them under one person's private account.","check":"Every package belongs to an organisation or scope on its registry, and the repository belongs to an organisation account. Each of them, and the domain registrar account, lists at least two admins from `MAINTAINERS.md`.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/maintainers-and-governance/project-owned-accounts","related":["/playbook/open-source/licences-and-copyright/trademark-policy","/playbook/website/hosting-and-network/domain-renewal"],"sources":[]},{"id":"OSS-18","revision":"b0548bedf1eb","updated":"2026-10-27","name":"Build every release in CI with signed provenance","level":"Recommended","rule":"Build each release from its version tag on a hosted CI service. Publish signed provenance for every file at SLSA Build Level 2 or higher. Never upload a file built on a laptop.","check":"For every file in the latest release, `gh attestation verify <file> -R example-shop/cart` succeeds, or the registry's own check does, such as `npm audit signatures`. A file changed by one byte fails the check.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/releases/release-provenance","related":["/playbook/open-source/releases/trusted-publishing","/playbook/application-security/supply-chain/sbom-and-provenance","/playbook/developer-tools/libraries-and-sdks/semver-check","/playbook/open-source/releases/publish-tagged-files-only","/playbook/developer-tools/distribution/checksums-and-signatures"],"sources":["https://slsa.dev/spec/v1.2/build-track-basics","https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/use-artifact-attestations","https://docs.npmjs.com/generating-provenance-statements"]},{"id":"OSS-46","revision":"b2e596fc2ecd","updated":"2026-10-27","name":"Publish your packages without stored tokens","level":"Recommended","rule":"Publish your own packages only from the build server through trusted publishing, with two-factor login on every maintainer account. Keep no long-lived publish token anywhere.","check":"Search the build settings, the secrets store and each maintainer's `~/.npmrc` and `~/.pypirc` for publish tokens. None is found. A publish attempt with a classic token is refused by the registry.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/releases/trusted-publishing","related":["/playbook/engineering/ci-and-supply-chain/build-in-ci-and-verify","/playbook/open-source/maintainers-and-governance/two-publishers","/playbook/open-source/releases/release-provenance","/playbook/accounts/second-factors-and-recovery/two-factor-login","/playbook/open-source/releases/release-approval","/playbook/developer-tools/libraries-and-sdks/semver-check","/playbook/developer-tools/distribution/package-manager-checksums"],"sources":["https://docs.npmjs.com/trusted-publishers/","https://www.cisa.gov/news-events/alerts/2025/09/23/widespread-supply-chain-compromise-impacting-npm-ecosystem"]},{"id":"OSS-19","revision":"36e61fc9707b","updated":"2026-10-27","name":"Tell users how to verify a release","level":"Recommended","rule":"Publish the exact commands that verify a release's signature or provenance and name the identity that signed it. A CI job runs those commands on the latest release every week.","check":"The README or `SECURITY.md` has a \"Verify a release\" section with commands. The weekly job downloads the latest release, runs those commands, and fails when any of them fails.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/releases/verification-instructions","related":["/playbook/engineering/ci-and-supply-chain/immutable-releases","/playbook/engineering/ci-and-supply-chain/build-in-ci-and-verify","/playbook/developer-tools/distribution/checksums-and-signatures"],"sources":["https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-20","revision":"4fd647c3843a","updated":"2026-10-27","name":"Publish only the files from the tagged source","level":"Required","risk":"takeover","rule":"Name the files each package may contain in an allow list. Before upload, CI compares the package with the files at the release tag. It fails on any file that is neither in git nor on the list.","check":"The release job lists the package's files and the files tracked in git at the tag. It fails on any file in the package that is not tracked and is not a named build output. A test package with an extra `.env` file fails.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/releases/publish-tagged-files-only","related":["/playbook/open-source/releases/release-provenance","/playbook/application-security/secrets-and-configuration/secrets-out-of-code"],"sources":["https://nvd.nist.gov/vuln/detail/CVE-2024-3094","https://docs.npmjs.com/cli/v12/configuring-npm/package-json"]},{"id":"OSS-21","revision":"c1ece48fcfdd","updated":"2026-10-27","name":"Let a second maintainer approve each release","level":"Recommended","rule":"Run the publish step in a protected CI environment that only release tags can use. It waits for approval from a maintainer other than the person who started the release.","check":"The code host's API shows the release environment with at least one required reviewer, self-review blocked and a tag-only rule. The registry's trusted publisher names that environment.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/releases/release-approval","related":["/playbook/open-source/releases/trusted-publishing","/playbook/open-source/maintainers-and-governance/two-publishers"],"sources":["https://docs.github.com/en/actions/reference/workflows-and-actions/deployments-and-environments"]},{"id":"OSS-47","revision":"1dfe9254ec4a","updated":"2026-10-27","name":"Publish a security policy with the code","level":"Recommended","rule":"Put a `SECURITY.md` in every repository that others use or deploy. Name the supported versions, a private way to report, and the reply time.","check":"Each repository has a `SECURITY.md` with a supported versions section and a reporting section. `gh api repos/example/shop/private-vulnerability-reporting --jq .enabled` prints `true`, or the file names a security address. A test report each quarter gets a reply within the stated time.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/security-policy","related":["/playbook/documentation/reference-and-changelogs/versioned-docs","/playbook/documentation/help-centres-and-user-guides/cra-user-information","/playbook/customer-support/response-times-and-escalation/security-and-legal-routing","/playbook/connected-devices/support-and-vulnerability-reports/device-disclosure-policy","/playbook/open-source/vulnerabilities-and-advisories/security-contacts","/playbook/website/standard-addresses/security-txt","/playbook/compliance/security-laws/cra-support-period","/playbook/open-source/vulnerabilities-and-advisories/steward-security-policy"],"sources":["https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository"]},{"id":"OSS-22","revision":"58f5737dc7f2","updated":"2026-10-27","name":"Send private reports to at least two people","level":"Required","risk":"takeover","rule":"Turn on the code host's private vulnerability reporting, and name at least two security contacts in `SECURITY.md`. Each of them gets every new report.","check":"`gh api repos/example-shop/cart/private-vulnerability-reporting --jq .enabled` prints `true`. `SECURITY.md` names at least two contacts. A test report each quarter reaches both of them.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/security-contacts","related":["/playbook/open-source/vulnerabilities-and-advisories/security-policy","/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines","/playbook/open-source/issues-and-triage/issue-forms","/playbook/application-security/errors-logs-and-vulnerabilities/disclosure-policy"],"sources":["https://docs.github.com/en/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository","https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-23","revision":"46bc5fa160f2","updated":"2026-10-27","name":"Fix a reported hole in private","level":"Recommended","rule":"Write and review the fix for a reported vulnerability in a private fork or private branch. Merge it, release it and publish the advisory together, on one day.","check":"For each of the last five advisories, the fix commit reached a public branch on the day of the release and the advisory, never earlier.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/private-fix","related":["/playbook/documentation/reference-and-changelogs/changelog-deprecations-security","/playbook/developer-tools/libraries-and-sdks/support-matrix"],"sources":["https://docs.github.com/en/code-security/concepts/vulnerability-reporting-and-management/about-repository-security-advisories"]},{"id":"OSS-24","revision":"a2a2fdbe7f20","updated":"2026-10-27","name":"Agree the publication date with the reporter","level":"Recommended","rule":"Agree with each reporter when the advisory goes out, and credit them by name in it unless they ask not to be named. Write the agreed date in the private report.","check":"Every published advisory lists a credit or a note that the reporter declined one. Each private report thread records an agreed publication date before the advisory is published.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/coordinated-disclosure","related":["/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines"],"sources":["https://docs.github.com/en/code-security/concepts/vulnerability-reporting-and-management/about-coordinated-disclosure-of-security-vulnerabilities"]},{"id":"OSS-25","revision":"fff8ecc09a03","updated":"2026-10-22","name":"Get a CVE for every vulnerability in a released version","level":"Recommended","rule":"Request a CVE ID for each confirmed vulnerability in a released version before the advisory goes out. Ask the CVE Numbering Authority whose scope covers the project.","check":"Every published advisory for a released version carries a CVE ID, or a written reason in the advisory why none was assigned.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/request-cve","related":["/playbook/open-source/vulnerabilities-and-advisories/machine-readable-advisory"],"sources":["https://docs.github.com/en/code-security/concepts/vulnerability-reporting-and-management/about-repository-security-advisories","https://www.cve.org/PartnerInformation/ListofPartners"]},{"id":"OSS-26","revision":"0a6b9777f7bb","updated":"2026-10-27","name":"Publish an advisory that tools can read","level":"Recommended","rule":"Publish every advisory in the code host's advisory database or in OSV format. Give the ecosystem, the affected range, the first fixed version and a CVSS score.","check":"Query the OSV API for the package at the last affected version. It returns the advisory with the first fixed version and a CVSS vector.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/machine-readable-advisory","related":["/playbook/open-source/vulnerabilities-and-advisories/request-cve","/playbook/compliance/security-laws/security-advisories"],"sources":["https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/publishing-a-repository-security-advisory","https://www.first.org/cvss/v4.0/specification-document","https://docs.oasis-open.org/csaf/csaf/v2.0/csaf-v2.0.html"]},{"id":"OSS-27","revision":"fe46c036ba2c","updated":"2026-10-27","name":"Find out your role under the Cyber Resilience Act","level":"Recommended","applies":["eu-users"],"region":["EU"],"rule":"Record whether the project makes you a manufacturer, an open source steward or neither under the EU Cyber Resilience Act, with the reason. Decide again whenever the project's funding or business model changes.","check":"`GOVERNANCE.md` or the project's compliance record names the role, the reason and the date of the decision. The decision is dated after the last change to `FUNDING.yml` or the sponsor list.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/cra-role","related":["/playbook/compliance/security-laws/cra-scope","/playbook/open-source/funding-and-the-end-of-a-project/disclose-funding"],"sources":["https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"OSS-28","revision":"ce3aabff71e9","updated":"2026-10-27","name":"Publish a cybersecurity policy as an open source steward","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"An open source steward under the Cyber Resilience Act publishes a dated cybersecurity policy for each project it supports, by 11 December 2027. It covers how vulnerabilities are recorded, fixed and shared.","check":"A policy document exists for each supported project, linked from its `SECURITY.md`, with a date of last review within 12 months. It has sections on recording, fixing and disclosing vulnerabilities and on taking reports from developers and manufacturers.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/steward-security-policy","related":["/playbook/open-source/vulnerabilities-and-advisories/security-policy","/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines"],"sources":["https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"OSS-29","revision":"8703c4742ebf","updated":"2026-10-27","name":"Report actively exploited holes as a steward","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"review_by":"2027-09-30","rule":"A steward involved in a project's development reports each actively exploited vulnerability in it through the EU single reporting platform. Do the same for a severe incident on the systems you run for its development.","check":"The incident runbook names the reporting platform, the account and two people who can file a report. A drill each year files a test notice within the deadline in the compliance rule.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/vulnerabilities-and-advisories/steward-reporting","related":["/playbook/compliance/security-laws/cra-vulnerability-reporting","/playbook/compliance/breaches-and-reporting/reporting-clocks"],"sources":["https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"OSS-30","revision":"e2543842f44c","updated":"2026-10-27","name":"Run the OpenSSF Scorecard every week","level":"Recommended","rule":"Run the OpenSSF Scorecard on the repository every week and on every change to the CI files. Fail the job when a check of Critical or High risk scores below 10, unless the exception is written down.","check":"The weekly job, such as the Scorecard GitHub Action or a call to the public API, passes. Every Critical or High check scores 10 or is named in the written exception list.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/project-supply-chain/openssf-scorecard","related":["/playbook/application-security/supply-chain/review-new-packages","/playbook/application-security/supply-chain/ci-secrets","/playbook/engineering/version-control-and-review/protect-the-main-branch","/playbook/open-source/project-supply-chain/no-binaries-in-repository"],"sources":["https://openssf.org/projects/scorecard/","https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-31","revision":"7a0a6c893d06","updated":"2026-10-22","name":"Keep built and binary files out of the repository","level":"Recommended","rule":"Commit no compiled programs, archives or other binary files that nobody can review, except listed test data and images. A CI check fails any change that adds one.","check":"A CI job lists the files a change adds and fails on any file that git reports as binary outside the allowed paths. A test change adding a `.so` or `.jar` file fails.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/project-supply-chain/no-binaries-in-repository","related":["/playbook/open-source/contributions/review-hidden-changes","/playbook/open-source/project-supply-chain/openssf-scorecard"],"sources":["https://baseline.openssf.org/versions/2026-08-28"]},{"id":"OSS-32","revision":"f096bae6d7de","updated":"2026-10-27","name":"Test the oldest dependency versions your library allows","level":"Recommended","rule":"A library declares version ranges for its dependencies, not exact pins. CI runs the tests once with the newest versions in each range and once with the lowest.","check":"The CI matrix has a job that installs the lowest allowed version of every direct dependency and runs the full test suite. Lowering one range's floor below a version the code needs makes that job fail.","check_type":"command","url":"https://agentwranglers.se/playbook/open-source/project-supply-chain/test-lowest-dependencies","related":["/playbook/application-security/supply-chain/audit-dependencies","/playbook/engineering/version-control-and-review/automated-dependency-updates"],"sources":["https://doc.rust-lang.org/cargo/reference/unstable.html#direct-minimal-versions"]},{"id":"OSS-33","revision":"7025c962404b","updated":"2026-10-22","name":"Earn the OpenSSF passing badge","level":"Optional","rule":"Fill in the OpenSSF self-assessment for the project and reach at least the \"passing\" level. Show the badge in the README.","check":"The project's entry on bestpractices.dev shows the passing level or higher, and the README links to it.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/project-supply-chain/openssf-badge","related":["/playbook/open-source/licences-and-copyright/osi-approved-licence","/playbook/open-source/maintainers-and-governance/two-publishers"],"sources":["https://www.bestpractices.dev/en/criteria/0"]},{"id":"OSS-34","revision":"3de8b84ff02b","updated":"2026-10-27","name":"Ask for version and steps in every bug report","level":"Recommended","rule":"Offer issue forms for bugs and feature requests. The bug form requires the version, the environment, the steps to reproduce, and what was expected and what happened.","check":"`.github/ISSUE_TEMPLATE/` holds a bug form whose version and steps fields are required, and `config.yml` sets `blank_issues_enabled: false`. The form links the security policy.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/issues-and-triage/issue-forms","related":["/playbook/open-source/vulnerabilities-and-advisories/security-contacts","/playbook/engineering/ci-and-supply-chain/ci-script-injection","/playbook/open-source/issues-and-triage/triage-labels"],"sources":["https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms"]},{"id":"OSS-35","revision":"2f1ff9c911e9","updated":"2026-10-27","name":"Answer every new issue and pull request within a set time","level":"Recommended","rule":"State a first-response time in `CONTRIBUTING.md`, at most 14 days, and give every new issue and pull request a human answer within it. A weekly job lists the ones that waited longer.","check":"The weekly job lists open issues and pull requests older than the stated time with no comment or review from a maintainer. The list is empty.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/issues-and-triage/first-response-time","related":["/playbook/open-source/contributions/contributing-guide","/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines","/playbook/open-source/issues-and-triage/triage-labels","/playbook/open-source/issues-and-triage/good-first-issues"],"sources":[]},{"id":"OSS-36","revision":"8df7fdc49b0b","updated":"2026-10-22","name":"Label every issue by type and status","level":"Recommended","rule":"Keep a fixed set of labels, written down in `CONTRIBUTING.md`, with one type label and one status label on every open issue. Remove a `needs-triage` label only once both are set.","check":"A weekly job lists open issues that lack exactly one type label and one status label, or that still carry `needs-triage` past the first-response time. The list is empty.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/issues-and-triage/triage-labels","related":["/playbook/open-source/issues-and-triage/issue-forms","/playbook/open-source/issues-and-triage/first-response-time","/playbook/open-source/issues-and-triage/no-stale-auto-close"],"sources":["https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels"]},{"id":"OSS-37","revision":"1303a77c097f","updated":"2026-10-22","name":"Mark small tasks for newcomers","level":"Optional","rule":"Keep at least three open issues labelled `good first issue`, each with the files to change and how to test the change.","check":"A search for open issues labelled `good first issue` returns at least three, and each one names at least one file path and a test command.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/issues-and-triage/good-first-issues","related":["/playbook/open-source/issues-and-triage/first-response-time","/playbook/open-source/maintainers-and-governance/two-publishers"],"sources":["https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/encouraging-helpful-contributions-to-your-project-with-labels"]},{"id":"OSS-38","revision":"52ab8d52f55f","updated":"2026-10-22","name":"Closing issues only because nobody touched them","level":"Avoid","rule":"A bot that closes issues or pull requests only because nobody commented for some weeks, while the bug may still be there.","check":"No workflow in the repository closes issues or pull requests for inactivity, unless it is limited to the `needs-info` label. A search for issues closed by a bot account in the last 90 days finds only issues with that label.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/issues-and-triage/no-stale-auto-close","related":["/playbook/open-source/issues-and-triage/triage-labels"],"sources":[]},{"id":"OSS-39","revision":"5b626885a40f","updated":"2026-10-22","name":"Say who pays for the project","level":"Recommended","rule":"List in the README or `GOVERNANCE.md` every organisation that pays a maintainer to work on the project or funds it. Say what each one receives, such as a logo, a support contract or a seat on a steering group.","check":"The funding section lists every organisation that appears in the sponsorship platform's export or employs a maintainer named in `MAINTAINERS.md` for project work. `FUNDING.yml`, when present, passes the code host's validation.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/funding-and-the-end-of-a-project/disclose-funding","related":["/playbook/open-source/vulnerabilities-and-advisories/cra-role","/playbook/seo/links-from-other-sites/disclose-paid-links"],"sources":["https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository"]},{"id":"OSS-40","revision":"d6ed71026436","updated":"2026-10-22","name":"Archive a project you stop maintaining","level":"Recommended","rule":"When nobody will maintain the project, first offer it to a vetted maintainer or a foundation. Failing that, put a notice at the top of the README, mark every package deprecated on its registry and archive the repository.","check":"The README's first lines say the project is no longer maintained. Each package shows deprecated or archived on its registry. The code host's API reports the repository as archived, with no open security advisory left in draft.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/funding-and-the-end-of-a-project/archive-the-project","related":["/playbook/open-source/maintainers-and-governance/vet-new-maintainers"],"sources":["https://docs.github.com/en/repositories/archiving-a-github-repository/archiving-repositories","https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions"]},{"id":"OSS-41","revision":"6e5a481dbb97","updated":"2026-10-27","name":"Deleting a published version that others depend on","level":"Avoid","rule":"Removing a released version or a whole package from a registry while other projects still install it. This includes deleting a release tag or its files from the code host.","check":"No script or workflow in the repository runs `npm unpublish`, `gh release delete` or a registry delete call. Every version listed in the changelog still answers 200 from its registry.","check_type":"static","url":"https://agentwranglers.se/playbook/open-source/funding-and-the-end-of-a-project/no-unpublish","related":["/playbook/application-security/secrets-and-configuration/secrets-out-of-code","/playbook/engineering/ci-and-supply-chain/immutable-releases"],"sources":["https://docs.npmjs.com/policies/unpublish"]},{"id":"OSS-42","revision":"6f94bf500501","updated":"2026-10-27","name":"Check every dependency licence against an allow list in CI","level":"Recommended","rule":"Keep one written licence policy with a list of allowed, reviewed and denied licences. A CI job reads the licence of every direct and indirect dependency and fails on any licence outside the allowed list.","check":"The licence job runs on every pull request that changes a lock file. Adding a package licensed `AGPL-3.0-only` on a branch fails the job, unless the exception file names that package and version.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/using-open-source/dependency-licence-policy","related":["/playbook/stack/how-to-choose/open-licence-or-exit","/playbook/due-diligence/code-and-ownership/licence-inventory"],"sources":["https://spdx.org/licenses/","https://www.gnu.org/licenses/agpl-3.0.html"]},{"id":"OSS-43","revision":"c866b2b79493","updated":"2026-10-27","name":"Ship the licence texts and notices of every dependency you distribute","level":"Required","risk":"law","rule":"Ship the licence text, the copyright lines and any `NOTICE` file of every open source dependency inside each thing you distribute. That covers app bundles, installers, container images, firmware and the JavaScript you send to browsers.","check":"The release job builds the notices file from the lock file. A test compares its package list with the packages in the release, and fails on any package missing from it. Every Apache-2.0 package that has a `NOTICE` file has that text in the notices file.","check_type":"manual","url":"https://agentwranglers.se/playbook/open-source/using-open-source/dependency-notices","related":["/playbook/open-source/licences-and-copyright/third-party-notices"],"sources":["https://opensource.org/license/mit","https://opensource.org/license/apache-2-0"]},{"id":"OSS-44","revision":"d6485ed9af71","updated":"2026-10-27","name":"Send fixes to the projects you depend on","level":"Recommended","applies":["team"],"rule":"Write down who may contribute to outside open source projects on the company's behalf, and under which licence and sign-off. Every local patch to a dependency links to the upstream issue or pull request that would make it unnecessary.","check":"The policy file exists and names an approver. A script finds every file in `patches/` and fails when one has no `Upstream:` line with a link to an issue or pull request.","check_type":"http","url":"https://agentwranglers.se/playbook/open-source/using-open-source/upstream-contributions","related":["/playbook/open-source/contributions/contributor-sign-off"],"sources":[]}]}