From 11 December 2027, a connected product placed on the EU market has to come with evidence for the essential cybersecurity requirements of the Cyber Resilience Act. Most firmware and PLC teams have read the headlines. Fewer have read Annex I, the two pages that list what those requirements actually are.
This article does three things. It puts Annex I on one page. It sorts the requirements into the ones your code can provide evidence for and the ones that need a person to answer. And it follows one finding, an unchecked Modbus input, from a line of C to the requirement it belongs to and back to a closed task.
It is not legal advice. Whether the CRA applies to your product, and whether your evidence is enough, is decided by you as the manufacturer.
Annex I on one page
Annex I of Regulation (EU) 2024/2847 has two parts. The wording below is a summary; read the original before you rely on it.
Part I: properties of the product. Point 1 asks for a level of cybersecurity appropriate to the risks. Point 2 lists what that means in practice. Products shall, on the basis of the risk assessment:
- (a) be made available without known exploitable vulnerabilities,
- (b) come with a secure by default configuration, with a way to reset to the original state,
- (c) allow vulnerabilities to be addressed through security updates,
- (d) protect against unauthorised access, for example through authentication and access management,
- (e) protect the confidentiality of stored, transmitted or processed data, for example through encryption,
- (f) protect the integrity of data, commands, programs and configuration against unauthorised manipulation,
- (g) process only the data that is needed for the intended purpose,
- (h) protect the availability of essential functions, also under attack,
- (i) minimise their own negative impact on other devices and networks,
- (j) limit attack surfaces, including external interfaces,
- (k) reduce the impact of an incident through exploitation mitigation,
- (l) record and monitor relevant internal activity,
- (m) let users remove their data and settings securely.
Part II: how the manufacturer handles vulnerabilities. Identify and document the components, including a software bill of materials. Fix vulnerabilities without delay. Test regularly. Publish information about fixed vulnerabilities. Have a coordinated vulnerability disclosure policy and a contact address for reports. Distribute updates securely, without delay and free of charge.
Read that list as an engineer and something stands out. A large part of it describes properties of code and build artefacts. The rest describes decisions and processes that no scanner will ever see.
What code can show, and what needs a person
Take each item and ask one question: could a tool that reads the repository, the build and the configuration produce a piece of evidence for it, and produce it again after every change?
Evidence from code and build:
- Known exploitable vulnerabilities (a). Dependencies matched against vulnerability databases, plus static analysis of your own code.
- Secure defaults (b). Default credentials, debug interfaces left enabled, services that start open.
- Access control (d). Hard-coded passwords, authentication paths that can be skipped.
- Confidentiality and integrity (e, f). Weak or missing cryptography, plain text protocols, input that reaches memory or registers without validation.
- Attack surface and exploitation mitigation (j, k). Exposed interfaces in the configuration, missing compiler and linker hardening.
- SBOM (Part II). Generated from the build, not written by hand.
- Regular testing (Part II). The pipeline itself is the record.
- Secure update distribution (Part II). Signed artefacts, verified signatures.
Answers that need a person:
- The risk assessment behind Part I point 1. Which risks matter depends on where the machine runs and who can reach it.
- Data minimisation (g). What data is needed is a purpose decision, not a code property.
- Availability and impact on other networks (h, i). Partly design, partly operating environment.
- Disclosure policy, contact address, publishing fixes, free updates (Part II). These are commitments of the organisation.
- The support period. How long you will ship security updates is a decision, and a commercial one.
The split is not clean. Secure data removal (m) has a code side and a documentation side. Logging (l) can be found in code, but whether it records the right things is a judgement. In our own control map we ended up with 40 CRA controls for a typical product. For 21 of them, every push produces evidence from the code. The other 19 are tracked as tasks with an owner and a due date.
That ratio is the useful part. About half of the controls can be kept current by the pipeline. The other half will not move unless someone owns it.
One finding, end to end
Here is an illustrative example of a common pattern in controller code. A Modbus handler writes a request into holding registers:
/* src/comm/modbus_handler.c */
static uint16_t holding[HOLDING_COUNT];
int handle_write_multiple(const uint8_t *pdu, size_t len)
{
uint16_t start = (pdu[1] << 8) | pdu[2];
uint16_t count = (pdu[3] << 8) | pdu[4];
for (uint16_t i = 0; i < count; i++) { /* line 214 */
holding[start + i] = (pdu[6 + 2*i] << 8) | pdu[7 + 2*i];
}
return MB_OK;
}
Neither start + count nor len is checked. A single crafted frame from anyone on the network writes past the register array.
A useful finding carries everything a reviewer needs, without a questionnaire:
finding: Unchecked input at the Modbus interface
file: src/comm/modbus_handler.c
line: 214
priority: high
measure: Check start, count and frame length before the register assignment
mapped_to:
- CRA Annex I, Part I, point 2 (f): integrity of data and commands
- CRA Annex I, Part I, point 2 (j): external interfaces as attack surface
status: open
Two details matter here. The mapping is a reference, a pointer to the requirement the finding is about. It is not a statement that the requirement is met or failed. And the measure is concrete enough that a developer can act on it without a meeting.
The fix is three lines:
if (len < 6 + 2u * count ||
count == 0 || count > MB_MAX_WRITE_REGS ||
start + count > HOLDING_COUNT) {
return MB_ERR_ILLEGAL_DATA_ADDRESS;
}
On the next push the pipeline runs again. The finding is gone, the control for integrity of commands now has fresh evidence attached, dated and tied to a commit. Nobody had to update a spreadsheet. If a later change removes the check, the finding comes back and the control shows evidence missing again.
This is what "continuous" means in practice. Not a yearly audit, but a status that follows the code.
Fresh evidence on every commit, tasks for the rest
The 21 controls with evidence from code are the easy half to keep current, because the pipeline does it. The other 19 are where projects stall. A few things help:
- Every open control has an owner and a date. "Disclosure policy: owner Product Management, due 15 January" is a task. "Disclosure policy: open" is a wish.
- Answers are stored where the evidence is. The support period, the contact address and the risk assessment live next to the scan results, so the full picture for one product is in one place.
- New vulnerabilities reopen things. A library that was clean last month can be vulnerable today. Matching the SBOM against newly published vulnerabilities every day turns that into a task, not a surprise.
- Three statuses, not two. Evidence attached, evidence missing, open. "Passed" and "failed" would be conclusions, and they are not the tool's to draw.
What an auditor wants to read
Talk to anyone who reviews technical documentation and you hear the same wish: show me where it is. For each requirement they want to see what was mapped to it, where the evidence sits, how current it is, and who decided what.
A list of findings with file, line, measure, priority and requirement gives them exactly that. It is readable without access to your repository, and every line can be traced back to it.
What a tool cannot give them is the assessment. Deciding that the evidence for a requirement is sufficient, signing the EU declaration of conformity and standing behind it stays with the manufacturer. A good setup makes that decision faster and better informed. It does not make it for you.
We build this as Prüfwerk, part of the BreakPilot platform. Docs: docs.breakpilot.com/en/pruefwerk
This article describes our reading of Annex I. It is not legal advice; the assessment of your product stays with you.
We are at SPS in Nuremberg this week, until 26 November, hall 6, stand 6-253.3. Bring a finding from your own code if you like. Or write to kontakt@breakpilot.com.
How does your team split this work today, and which Annex I item has been hardest to produce evidence for? We would like to hear it in the comments.
Top comments (0)