Files
breakpilot-compliance/backend-compliance/compliance/api/machinery_reg_cyber.py
T
Benjamin Admin b0f78ae9a3 feat(cra): readiness derives obligations from Machinery Reg 2023/1230 too
Machine/plant builders are hit by BOTH the CRA and the new Machinery Regulation.
New machinery_reg_cyber.py models its two well-corroborated Annex III cyber-with-
safety essential requirements (1.1.9 protection against corruption, 1.2.1 control-
system safety incl. foreseeable manipulation) in our own words; EU legal text is
freely reusable (Commission Decision 2011/833/EU, source acknowledged), harmonised
standards referenced by identifier only. The readiness check asks "is it
machinery?" and, if so, adds these obligations tagged "Maschinen-VO" alongside the
CRA ones — the combination is visible (regulations list + per-item source badge).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-14 14:26:08 +02:00

51 lines
2.5 KiB
Python

"""Machinery Regulation (EU) 2023/1230 — the NEW cyber-with-safety essential
requirements (Annex III). Applies from 20 Jan 2027 and, for the first time,
puts cybersecurity-affecting-safety into the CE machinery framework — the
counterpart to the CRA for machine/plant builders.
Own-words summaries of the regulation text (EU legal texts are freely reusable
incl. commercial with source acknowledgement, Commission Decision 2011/833/EU).
We do NOT reproduce verbatim, and harmonised standards (prEN 50742, EN ISO 13849,
EN ISO 12100) are referenced BY IDENTIFIER ONLY — they are copyrighted (CEN/ISO).
Scope note: only the two well-corroborated Annex III cyber clauses (1.1.9, 1.2.1)
are modelled. Further clauses are intentionally omitted rather than guessed.
"""
SOURCE_REGULATION = "Maschinenverordnung (EU) 2023/1230"
MACHINERY_REG_CYBER = [
{
"req_id": "MR-1.1.9",
"annex_anchor": "Anhang III, 1.1.9",
"title": "Schutz vor Korruption/Manipulation",
"category": "Manipulationsschutz",
"description": (
"Vernetzung oder Fernzugriff darf keine gefaehrliche Situation ausloesen. "
"Sicherheitsrelevante Hardware, Software und uebertragene Signale muessen identifiziert und "
"gegen versehentliche wie absichtliche Manipulation geschuetzt werden; Eingriffe in "
"sicherheitsrelevante Software/Konfiguration muessen als legitim oder unzulaessig "
"nachvollziehbar (protokolliert) sein."
),
"severity": "HIGH",
"evidence_type": "hybrid",
"norm_references": ["Maschinenverordnung (EU) 2023/1230, Anhang III, 1.1.9", "prEN 50742 (Entwurf)"],
"source_regulation": SOURCE_REGULATION,
},
{
"req_id": "MR-1.2.1",
"annex_anchor": "Anhang III, 1.2.1",
"title": "Sicherheit und Zuverlaessigkeit der Steuerungen",
"category": "Steuerungssicherheit",
"description": (
"Steuerungen sind so auszulegen, dass Fehler, aeussere Einfluesse (auch Funkstoerungen), "
"Bedienfehler und vernuenftigerweise vorhersehbare Manipulationsversuche Dritter zu keiner "
"gefaehrlichen Situation fuehren — die Sicherheit der Sicherheitsfunktionen muss erhalten bleiben."
),
"severity": "HIGH",
"evidence_type": "code",
"norm_references": ["Maschinenverordnung (EU) 2023/1230, Anhang III, 1.2.1", "EN ISO 13849", "prEN 50742 (Entwurf)"],
"source_regulation": SOURCE_REGULATION,
},
]