In an aidd repository, use when code touches firmware, microcontrollers, RTOS, vehicles, CAN bus, OTA updates, IoT devices, PLCs, OT networks, ISO 26262, IEC 62443, or robots.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Embedded Automotive Industrial?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thaithienvanid-embedded-automotive-industrial)
---
name: embedded-automotive-industrial
description: "In an aidd repository, use when code touches firmware, microcontrollers, RTOS, vehicles, CAN bus, OTA updates, IoT devices, PLCs, OT networks, ISO 26262, IEC 62443, or robots."
---
<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->
# Embedded, automotive, and industrial
## Scope
Applies when the change touches firmware, vehicles, connected devices, OT. Not when the software runs only on servers or phones, with no device, vehicle, or plant control. Neighbours: `aidd-team:secure-coding`, `aidd-team:release-rollout`, `aidd-team:threat-model`.
## Terms
- **ASIL and SIL**: The integrity level the safety analysis assigns, which sets the rigour of the whole life cycle. Other sectors have their own, such as DO-178C (airborne) or EN 50716 (rail).
- **Safe state**: The state the system falls back to on a fault.
- **Functional safety, SOTIF, and cybersecurity**: Three analyses: failures, an insufficient intended function, and attacks.
- **OTA update**: A signed update delivered over the air, with rollback protection.
- **Product with digital elements**: The Cyber Resilience Act's term for hardware or software with a data connection.
## Standards
| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | MISRA C or MISRA C++ | MISRA C:2025; MISRA C++:2023 | 2026-10-16 | <https://misra.org.uk/> |
| S2 | ISO 26262 and ISO/SAE 21434 | 26262:2018, 21434:2021 | 2026-10-16 | <https://www.iso.org/standard/68383.html> |
| S3 | IEC 61508 | 2010 | 2026-10-16 | <https://webstore.iec.ch/en/publication/5515> |
| S4 | IEC 62443 | series, with 62443-4-1:2018 and 62443-4-2:2019 | 2026-10-16 | <https://webstore.iec.ch/en/publication/33615> |
| S5 | UN R155 (cyber security management) and R156 (software updates), with ISO 24089 | UN R155 and UN R156; ISO 24089:2023 with Amd 1:2024 | 2026-10-16 | <https://www.vehicle-certification-agency.gov.uk/connected-and-automated-vehicles/cyber-security-and-software-updating/> |
| S6 | ISO 21448 safety of the intended functionality (SOTIF) | ISO 21448:2022 | 2026-10-16 | <https://knowledge.bsigroup.com/products/road-vehicles-safety-of-the-intended-functionality-1> |
| S7 | EU Cyber Resilience Act for products with digital elements | Regulation (EU) 2024/2847 | 2026-10-22 | <https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act> |
| S8 | Consumer IoT security: the RED delegated act and EN 18031 (EU), ETSI EN 303 645, and UK PSTI | EN 18031-1, -2, and -3:2024; ETSI EN 303 645 V3.1.3; UK PSTI regime (2024) | 2026-10-16 | <https://single-market-economy.ec.europa.eu/sectors/electrical-and-electronic-engineering-industries-eei/radio-equipment-directive-red_en> |
| S9 | EU Data Act: access to connected-product data | Regulation (EU) 2023/2854 | 2026-10-22 | <https://eur-lex.europa.eu/eli/reg/2023/2854/oj> |
| S10 | EU Machinery Regulation, with ISO 10218 and ISO 13482 for robots | Regulation (EU) 2023/1230; ISO 10218-1 and -2:2025; ISO 13482:2014 | 2026-10-22 | <https://single-market-economy.ec.europa.eu/sectors/mechanical-engineering/machinery_en> |
## Dated obligations
| From | Obligation | Standard |
| --- | --- | --- |
| 2024-04-29 | UK PSTI: a consumer connectable product has no universal default password, says how to report a vulnerability, and states its support period. | S8 |
| 2024-07-07 | UN R155 and R156 apply to existing EU whole-vehicle type approvals (categories M and N) too. | S5 |
| 2025-08-01 | The RED delegated act's cybersecurity requirements apply to internet-connected radio equipment. EN 18031 gives no presumption of conformity where the user may skip setting a password. | S8 |
| 2026-09-11 | CRA (EU): report an actively exploited vulnerability or a severe incident on the clocks in `aidd-team:incident-response`, older products included. The main obligations apply from 2027-12-11. | S7 |
| 2026-09-12 | EU Data Act Art. 3(1): a connected product placed on the market after this date makes its data accessible to the user by design. | S9 |
| 2026-12-09 | Beside the CRA, the EU Product Liability Directive (EU) 2024/2853: software placed on the market after this date is a product, and a missing update can make it defective. | S7 |
| 2027-01-20 | The Machinery Regulation replaces the Machinery Directive. | S10 |
| 2027-12-11 | The RED delegated act is repealed, and the CRA covers a radio product's cybersecurity. | S7, S8 |
## Invariants and missed cases
| Always true | The case a plan misses |
| --- | --- |
| Every fault ends in a defined safe state. | A power loss during an update, or a watchdog reset loop. |
| An update installs only when it is signed and newer. | A downgrade to a vulnerable version, or a half-written image. |
| Timing budgets hold in the worst case, not the average. | A new log line in an interrupt handler. |
## Checklist by loop step
| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | Safety-related code is major with a safety reviewer; name the safety integrity level (ASIL, SIL) the change touches. | S2, S3 |
| Before the first edit (`aidd risk --paths`) | A product with digital elements sold in the EU is in CRA scope. Name whether it is an important or critical product (Implementing Regulation (EU) 2025/2392), its support period, and whether a radio adds the RED delegated act. | S7, S8 |
| Before the first edit (`aidd risk --paths`) | A machine or robot for the EU: its safety software is a safety component, protected against corruption (references/robotics.md). | S10 |
| Specify | Requirements trace to tests; timing, memory, and power budgets in the Acceptance; failure modes and safe states named. | S2, S3 |
| Specify | A vehicle change names its effect on type approval: the cyber security risk assessment (R155), and for an update its target versions and record (R156, ISO 24089), and other markets' rules. | S5 |
| Specify | A perception or driver-assistance change names its triggering conditions, its performance limits, and how scenarios validate them (SOTIF; ISO/PAS 8800 for AI). | S6 |
| Specify | A connected product's data and its metadata are accessible to the user by default (EU Data Act Art. 3(1)), and the Spec names the data and the access path. | S9 |
| Implement | MISRA-compliant code, deviations documented; no dynamic allocation after init where the standard forbids it; secure boot and update paths untouched or re-verified. | S1, S4 |
| Implement | No universal default password; a vulnerability-disclosure contact; a stated support period; signed updates with rollback protection; an SBOM from the build. | S8, S7 |
| Review | Static analysis clean; hardware-in-the-loop results where the project has a rig, otherwise simulation or model results, and the Spec says which. | S1, S2 |
| Roll out | Staged fleet rollout with a rollback image; fault and reset telemetry as the observe signals. | S2, S5 |
## Test commands
| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| MISRA and static analysis | no rule violation without a documented deviation | the `misra-checker`'s tests entry, such as Cppcheck with the MISRA addon, Clang-Tidy, or a qualified tool | S1 |
| Coverage at the required level | statement, branch, or MC/DC coverage as the standard requires | the unit test runner with coverage thresholds | S2, S3 |
| HIL or simulation run | the changed behavior holds on hardware or a model | the HIL rig in CI where the project has one, otherwise the simulator or model; the Spec says which | S2 |
| Firmware signing test | an unsigned, tampered, or older (rollback) image is rejected | a test of the update path | S4, S5 |
| Protocol fuzzing | every parser and protocol handler survives malformed input | libFuzzer or AFL++ on the handlers | S4 |
| Default credential and open port check | the built image has no universal default password and listens only on the ports the Spec names | boot the image on the rig or an emulator, compare its listening ports with the Spec's allow-list, and try the factory credentials | S8, S7 |
- From `aidd-domains:enterprise-controls`: Container scan and SBOM.
## References
- [references/robotics.md](references/robotics.md): the Machinery Regulation's software duties, robot safety standards, SROS2, and Automotive SPICE.
- [references/open-choices.md](references/open-choices.md): its open choices, with aidd's defaults.
## Keep it current
Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.