The EU Cyber Resilience Act for developers: what your code needs
Updated 9 November 2026 · 8 min read
The Cyber Resilience Act (Regulation (EU) 2024/2847) sets security rules for software and connected devices sold in the EU. If you make software that’s sold or supplied commercially in the EU, including apps and the cloud services they need to work, it very likely applies to you.
Key dates
| Date | What applies |
|---|---|
| 10 December 2024 | The Act enters into force |
| 11 September 2026 | Reporting: actively exploited vulnerabilities and severe incidents must be reported (early warning within 24 hours, notification within 72 hours) |
| 11 December 2027 | Everything else: the security requirements, conformity assessment and CE marking |
Reporting already applies. The rest gives you about a year to prepare.
Who it covers, and who it doesn’t
It covers manufacturers, importers and distributors of “products with digital elements”: software and hardware that connects to a device or network. Open-source software made outside any commercial activity is out of scope, and open-source “stewards” (foundations that support projects used commercially) have lighter duties. A company that sells or monetises software built on open source is still in scope. Some sectors with their own rules, such as medical devices and cars, are excluded.
Most software is a “default” product and can assess itself. Some categories, such as password managers, VPNs, browsers and firewalls, are “important” or “critical” and need stricter checks. The Commission’s CRA page explains the categories.
What you can prepare in code
Annex I of the Act lists the security requirements. Several of them show up directly in your repository:
- Secure by default: no debug mode in production, no default passwords or secrets, safe cookie and CORS settings.
- Protection from unauthorised access: verified, expiring tokens, access rules on every table and endpoint.
- Confidentiality and integrity: HTTPS everywhere, current encryption, no keys in code, no injection.
- Limited attack surface: no open redirects, no server requests to any address a user picks, limits on uploads.
- Security logging: important events recorded, without secrets or personal data in the logs.
Vulnerability handling (Annex I Part II)
This part is about process, but it starts in the repository:
- A software bill of materials (SBOM) listing at least your top-level components, in a format like CycloneDX or SPDX. Most teams generate one at release.
- A coordinated vulnerability disclosure policy: a
SECURITY.mdsaying where to report a problem and how soon you’ll reply. GitHub’s security policy docs show how. - Secure updates: pinned CI actions, tokens with the least permissions, and no scripts piped from the internet into a shell. Our guide on GitHub Actions script injection covers one of the most common CI holes.
- Security fixes without delay: automated dependency updates, like Dependabot or Renovate.
What code can’t show
A risk assessment, the support period (at least five years unless the product is expected to be used for less), the reporting procedure, technical documentation and the conformity route all live outside code. Plan them alongside the code work.
Checking it automatically
Lintsure maps its rules to the Act’s Annex I and lists the work outside code for you. It checks for a missing SECURITY.md (repo.no-security-policy), a missing SBOM (repo.no-sbom), unchecked downloads in scripts (update.unverified-download) and over 40 code-level issues. It’s free, open source and runs on your machine. See the Cyber Resilience Act framework page or get started.
Check your own code
Lintsure runs these checks on your machine and never uploads your code.
npx lintsure scanThis guide is our own reading of public texts, written for software teams. It is not legal advice and it doesn't cover your whole obligation, only the parts code can show. Ask a qualified person before any audit or decision. Disclaimer