Which existing practices should an open source project adopt now to prepare for the CRA?
NewThe practices worth adopting now are the ones the CRA writes into law for manufacturers in its vulnerability handling requirements (CRA Annex I, Part II), most of which open source projects already know as good practice. A project that is not in scope has no obligation to adopt any of them; they help because the companies that build your project into their products have to check these things as part of their due diligence (What is the appropriate level of due diligence?), and because a steward's cybersecurity policy is built from them (CRA Article 24(1)).
From Annex I, Part II of the CRA, the practices are:
- A software bill of materials (SBOM) in a commonly used, machine-readable format, covering at least your top-level dependencies.
- A coordinated vulnerability disclosure policy and a contact address for reporting vulnerabilities, typically a
SECURITY.md. The Commission's guidance says manufacturers who find a vulnerability in your project should report it through the channels you publish (Guidance point 223) and share fixes the way your guidelines ask (Guidance point 227). - Security advisories once a fix is out, describing the vulnerability, the affected versions, its severity and how to remediate it.
- Security updates without delay, separate from feature updates where feasible, and securely distributed, for example signed releases.
- Regular security tests and reviews of the code.
Doing these is what manufacturers check when they integrate a component: its security update history, known vulnerabilities, its SBOM and its support period (What is the appropriate level of due diligence?). What documentation helps them: see How can open source projects or their stewards support the due diligence requirements of manufacturers through documentation?. Whether the CRA applies to your project at all: see I am worried about how the CRA might impact me, and so I am considering shutting down my open source projects. Should I do that?.
Disclaimer
Disclaimer: The information contained in this FAQ is of a general nature only and is not intended to address the specific circumstances of any particular individual or entity. It is not necessarily comprehensive, complete, accurate, or up to date. It does not constitute professional or legal advice. If you need specific advice, you should consult a suitably qualified professional.