Skip to content
Open {re}Source

    Open {re}Source

    Security for Maintainers: Before, During and After the First Report

    Module 06 of 10Chapter 06 of 09

    Part of a free guide to open source. Each module stands on its own.

    Published
    2026-09-27
    Updated
    2026-10-07
    Reading time
    7 min

    You’ll get a security report. It will arrive as a public issue titled “URGENT”, as an email from a company you’ve never heard of asking for a CVE, or as a patch from a helpful new co-maintainer. This chapter is what to have in place before that day, and what to do on it.

    Section 01 of 09

    Before the first report: one file and four settings#

    A SECURITY.md tells reporters where to go instead of a public issue. GitHub shows it in the repository’s Security tab, next to the Report a vulnerability button (1). Bootstrap, which Julien maintains, promises an acknowledgment within three business days (2):

    Bootstrap's Security tab: a Report a vulnerability button, and a SECURITY.md: reports acknowledged within 3 business days.

    It needs four things: which versions get fixes, how to report, how fast you’ll answer, and whether you pay bounties (usually not). A template:

    # Security policy
    
    ## Supported versions
    
    Only the latest minor release gets security fixes: (4.2.x) as of (month year).
    
    ## Reporting a vulnerability
    
    Please don't open a public issue. Use "Report a vulnerability" in the Security tab, or email (address).
    
    We'll acknowledge your report within (3 business days), and keep you informed until the fix is published. We don't pay bounties, but we credit reporters in the advisory, unless you'd rather not be named.

    Then four settings:

    • Private vulnerability reporting, in the repository’s security settings: reporters get a form, and the report reaches the maintainers privately, as a draft advisory (GitHub’s docs).
    • Two-factor authentication for everyone with write access, required at the organization level.
    • No long-lived publish tokens. Trusted publishing lets CI publish to npm with a short-lived identity instead of a token that can leak. PyPI and crates.io offer the same.
    • Secret scanning and push protection, free on public repositories: GitHub blocks a push that contains a known type of secret (GitHub’s docs).

    Section 02 of 09

    When a report arrives#

    1. Acknowledge it within the time your SECURITY.md promises, even if all you can say is “received, looking at it”.
    2. Reproduce it. Ask for the missing steps. Many reports are real; some are a misunderstanding, and some are generated nonsense.
    3. Rate it. CVSS turns “how bad is it” into a score from 0 to 10, and GitHub’s advisory form has the calculator. It’s a common language, not a verdict: don’t spend a day on the decimal.
    4. Fix it in private. A draft advisory can open a temporary private fork, where you and the reporter work on the fix without publishing it.
    5. Agree on a date with the reporter, then publish the release and the advisory together.

    Ninety days is the deadline many researchers work with. Google’s Project Zero gives vendors 90 days to fix, and 30 more for users to update (its policy). A small project can usually fix faster, and should. If you need more time, say so early: reporters are patient with maintainers who answer.

    Section 03 of 09

    One advisory gets you a CVE and alerts every user#

    A repository security advisory is a form on GitHub: affected versions, patched versions, severity, a description, a workaround if there is one, and credits. GitHub is a CVE Numbering Authority, so the same form can request a CVE identifier (GitHub’s docs). Once published and reviewed, the advisory enters the GitHub Advisory Database, and Dependabot alerts every repository that depends on an affected version.

    The advisory for the tj-actions compromise shows what a good one contains: what happened, in plain words (1), and the version that fixes it (2):

    Advisory CVE-2025-30066 for tj-actions/changed-files: high severity, affects up to 45.0.7, patched in 46.0.1, with a summary.

    Section 04 of 09

    Your CI is part of your release#

    Two attacks, a year apart, went through the build rather than the code.

    tj-actions/changed-files, March 2025. Attackers rewrote the version tags of a GitHub Action used by more than 23,000 repositories so that they pointed to a malicious commit. Every workflow that referenced a tag, like @v45, ran it and printed its secrets into the build logs, public on public repositories (CISA’s alert). Workflows that pinned the action to a full commit SHA kept running the old code.

    xz, March 2024. Part of the backdoor was “solely in the distributed tarballs”, as Andres Freund wrote: not in the Git repository anyone could review. A release built in public CI from the tagged source, with a provenance attestation, leaves no room for a file that exists only in the tarball.

    The settings that would have helped, and cost an afternoon:

    # The token can read, nothing more.
    permissions:
      contents: read
    
    jobs:
      build:
        runs-on: ubuntu-latest
        steps:
          # A commit SHA can't be moved. Dependabot updates it.
          - uses: actions/checkout@<full-commit-sha> # v5
    • Pin third-party actions to a full commit SHA. GitHub’s hardening guide calls it the only way to use an action as an immutable release.
    • Set permissions: in every workflow, and grant write access only to the job that needs it.
    • Don’t check out a pull request’s code in a pull_request_target workflow: it runs with your secrets. GitHub Security Lab calls these “pwn requests”.
    • Publish from CI with provenance: npm publish --provenance, PyPI’s attestations (automatic when you publish with trusted publishing and the official PyPA action), or for anything else GitHub’s artifact attestations. Users can then check where a release was built.
    • Audit your workflows with zizmor, which flags these patterns and more.

    Section 05 of 09

    Scorecard: run it, read the top three findings#

    OpenSSF Scorecard checks a repository against 18 practices and gives each a score out of 10. Bootstrap’s, as of September 22, 2026:

    Bootstrap's OpenSSF Scorecard: 7.3 overall; Signed-Releases and Vulnerabilities 0, Code-Review 4, Branch-Protection 8.

    7.3 out of 10, and the low scores need reading, not obeying. Signed-Releases at 0 is real: Bootstrap’s releases have no signed artifacts. Vulnerabilities at 0 flags known, unfixed vulnerabilities, often in development dependencies that never ship. Fuzzing, also at 0, pays off for parsers and hardly for a CSS framework. Fix what applies to your project, and write down why the rest doesn’t. The OpenSSF Best Practices badge is the same idea, as a questionnaire.

    Section 06 of 09

    You don’t have to do it alone#

    • OpenSSF publishes the tools above, and a guide to coordinated disclosure with templates.
    • Alpha-Omega, a Linux Foundation project, funds security work in widely used projects.
    • The GitHub Secure Open Source Fund gives $10,000 per selected project, paid to its maintainers, with a security program (as of September 2026).
    • OSTIF organizes security audits for open-source projects.
    • The oss-security mailing list is where vulnerabilities in open source are discussed once public, and where Linux distributions look.

    Bug bounty platforms bring reports, and more of them are generated by AI tools and wrong. curl’s contribution guidelines require reporters to disclose AI use, and ban those who submit made-up reports. Say what you expect in your SECURITY.md, and see AI-Assisted Contributions for what curl’s numbers looked like before it ended its bug bounty.

    Section 07 of 09

    The EU Cyber Resilience Act, briefly#

    The Cyber Resilience Act (Regulation (EU) 2024/2847) sets security requirements for software and hardware sold in the EU. It entered into force on December 10, 2024. Manufacturers have had to report actively exploited vulnerabilities since September 11, 2026, and the main obligations apply from December 11, 2027.

    • Open source is in scope only when it’s supplied in the course of a commercial activity. Accepting donations without making a profit isn’t one (the regulation, recitals 15 and 18).
    • An “open-source software steward” is a legal person, like a foundation, that supports open-source software intended for commercial use. It must have a cybersecurity policy and cooperate with authorities, with lighter obligations than a manufacturer (Article 24).
    • The companies that ship your code are manufacturers. They have to handle vulnerabilities in their components, yours included. Expect more reports, more questions about your security process, and sometimes offers of help.

    The EU Cyber Resilience Act for Open-Source Maintainers goes further: the test that decides who is what, what stewards and manufacturers owe, and what to answer when their questions arrive. Vulnerabilities in What You Ship is the same law from the company’s side: the 24-hour reporting clock, and the report and the fix a manufacturer owes your project from December 2027.

    This isn’t legal advice. If you sell or support your project commercially, read the regulation, or ask someone whose job it is.

    Section 08 of 09

    Do this now#

    • Add a SECURITY.md with supported versions, how to report and your response time.
    • Turn on private vulnerability reporting.
    • Require two-factor authentication for everyone with write access.
    • Replace long-lived publish tokens with trusted publishing.
    • Set permissions: contents: read at the top of every workflow.
    • Pin third-party actions to full commit SHAs, and let Dependabot update them.
    • Turn on secret scanning and push protection.
    • Run Scorecard, and fix the first finding that applies to your project.

    Section 09 of 09

    Go further#

    Guide contents

    10 modules, 47 chapters. Each module stands on its own.

    1. 01What Is Open Source?6 chapters
      1. 00Overview
      2. 01Definition of Open Source
      3. 02Brief History of Open Source
      4. 03The Significance of Open Source
      5. 04Ten Successful Projects and What to Steal From Them
      6. 05The Many Shapes of Open Source
      7. 06Benefits of Open Source
    2. 02Getting Started5 chapters
      1. 00Overview
      2. 01Source Code Hosting Platforms: GitHub and the Alternatives
      3. 02Finding Open-Source Software to Use
      4. 03Reading a Repository in Five Minutes
      5. 04Open Source Etiquette: Talking to Strangers Who Owe You Nothing
      6. 05Git and GitHub Basics You Actually Need
    3. 03Contributing7 chapters
      1. 00Overview
      2. 01Finding a Project to Contribute To
      3. 02Your First Contribution, Step by Step
      4. 03How to Write a Bug Report That Gets Fixed
      5. 04Non-Code Contributions Maintainers Actually Want
      6. 05Getting Involved in the Open Source Community
      7. 06Building a Portfolio with Open-Source Contributions
      8. 07Overcoming Challenges in Open-Source Contributions
    4. 04Creating5 chapters
      1. 00Overview
      2. 01Choosing a Project Idea
      3. 02Planning Your Project
      4. 03Creating Your Project
      5. 04The Files That Turn a Repository Into a Project
      6. 05Community From Day One
    5. 05Licensing & Legal6 chapters
      1. 00Overview
      2. 01Choosing a License: Four Questions and a Table
      3. 02License Compatibility: What You Can Combine, and the Tools That Check
      4. 03Relicensing: The Source-Available Wave, and the Forks That Answered
      5. 04CLA or DCO: What You Sign When You Contribute
      6. 05Licenses for Things That Aren't Code: Docs, Fonts, Hardware, Data and Models
      7. 06Trademarks, Names and Logos: What Your License Doesn't Cover
    6. 06Maintaining9 chapters
      1. 00Overview
      2. 01What a Maintainer Actually Does
      3. 02Saying No: Five Replies That Keep Contributors Coming Back
      4. 03Reviewing Pull Requests: What to Check, What to Say, When to Close
      5. 04Running a Community Without It Running You
      6. 05Governance: Who Decides, and How to Write It Down
      7. 06Security for Maintainers: Before, During and After the First ReportYou are here
      8. 07AI Crawlers and Your Project's Infrastructure
      9. 08Managing Project Dependencies
      10. 09Burnout, Succession and the End of a Project
    7. 07Promoting2 chapters
      1. 00Overview
      2. 01Introduction to Project Promotion
      3. 02Building a Strong Project Identity
    8. 08Financing3 chapters
      1. 00Overview
      2. 01Importance and Challenges of Financing Open-Source Projects
      3. 02Understanding Funding Models
      4. 03Effective Fundraising Strategies
    9. 09Open Source at Work2 chapters
      1. 00Overview
      2. 01License Compliance at Work: The Policy, the Notices and the SBOM
      3. 02Vulnerabilities in What You Ship: Triage, Upstream Fixes and the CRA
    10. 10Open Source & AI2 chapters
      1. 00Overview
      2. 01AI-Assisted Contributions: Write the Policy Your Project Needs
      3. 02Contributing with AI Tools Without Annoying Maintainers