How DORA relates to secure coding
There is more to DORA than 'yet another punishing regulation'. Let's explore what resilience means in product development.
Why ‘resilience’ means more than checking boxes
The main goal of the Digital Operational Resilience Act (EU regulation 2022/2554 aka DORA) is to establish a reasonable security baseline for financial entities operating in the EU – especially those entities that are providing a critical service. Unlike, say, CRA, this regulation is not about the security of the specific software products, but rather that of the organizations themselves and what kind of processes they can adopt to anticipate ICT threats (with a particular focus on third-party threats), how they respond to these threats, and how they recover from them.
The oft-quoted pillars of DORA are outlined in Article 1:
- ICT risk management – being aware of ICT threats and actively mitigating them;
- handling of ICT-related incidents – preparing appropriate monitoring systems and controls (to prepare for incidents), and incident response workflows (to deal with them);
- testing digital operational resilience – independent evaluation of system security, including threat-led penetration testing to better reflect real-world attacks;
- management of third-party ICT risk – having oversight of potentially dangerous or malicious third parties, planning for alternatives and exit plans; and
- learning and information sharing – learning from (preferably others’) mistakes and sharing threat information with other actors.
DORA only applies to organizations that are deemed large or significant enough, essentially being part of the EU’s critical finance infrastructure. We can immediately see some parallels with the NIS2 regulation, and indeed, DORA takes precedence over NIS2 for organizations that would be subject to both regulations. In practice, DORA is also more demanding than NIS2.
At the time of publishing this article (2026), DORA compliance is fully enforced, and the potential penalties are very high – though the actual numbers are member state-specific. In case of an ongoing violation by a critical ICT provider, penalties can be up to 10% of yearly turnover (compare this to 4% of the most severe GDPR fines), and even individual repercussions for senior management if they’re deemed responsible for negligence!
Yes, DORA is also about secure product development
Cybersecurity is a notoriously overloaded term (check out our in-depth article on the subject). Trying to improve a company’s cybersecurity posture can include a lot of things from organizational concerns (e.g. business continuity planning) to technical aspects (e.g. secure software design and secure coding).
At first, it may look like DORA is purely about security management and incident response, but a lot of it is about very concrete technical measures. For instance, Article 9 talks about data security requirements for ICT corresponding to the standard CIA triad (Confidentiality / Integrity / Availability) with Authenticity added in.
In the subsequent sections, we will focus on the product / software security aspects of the areas explicitly mentioned by DORA.
Identifying ICT risks via threat modeling
Chapter II of DORA focuses on managing ICT risk, and the first step of that (see Article 8) is identifying potential risk sources. However, doing this in a cybersecurity context can be sometimes notoriously slippery. For example, consider the CrowdStrike incident in 2024 that caused massive disruption across multiple sectors (sometimes lasting even for weeks) due to affected machines entering a state that was only recoverable by hand – it is safe to say nobody saw that particular issue coming. There is a history of “unknown unknowns”, too – the Shellshock vulnerability existed in the source code of bash in Linux since 1989 but was only discovered in 2014.
Controlling these risks necessitates the use of threat modeling techniques: structured ways of identifying potential threats and then designing the system with these threats in mind. These techniques started to emerge in the 1990s, using formalisms like attack trees and misuse cases. The dominant approach today is STRIDE developed by Microsoft around the turn of the millennium, facilitated by tools like the OWASP Threat Dragon. The threat modeling process requires thinking with the head of the attacker, and is best done as brainstorming – in fact, it’s often a gamified group activity (see OWASP Cornucopia, Elevation of Privilege).
Secure by Design as an enabler of first-party ICT risk management
When DORA covers the protection of ICT systems (Article 9), it is referring to the security of all ICT systems – including systems developed by the organization. At this point it’s well established that the earlier an error is detected in software, the cheaper it is to fix it (see e.g. NIST’s report from 2002), and this is especially pertinent to security vulnerabilities – if an audit discovers that a production system has been storing passwords in plaintext all along, it’ll be a lot more expensive to fix this problem compared to what it would take if the same deficiency was discovered at design time!
“Secure by design” and “shifting left” aren’t just empty buzzwords: security should be built into a system from the first step rather than treated as an afterthought. Adopting a secure SDLC (Software Development Lifecycle) process such as BSIMM, SAMM, or MS SDL is a key step to meet these requirements.
Supply chain security challenges and third-party ICT risk
Third-party ICT risk is a significant part of DORA: the entirety of Chapter V of DORA (Articles 28-44) deal with it. In general, the attackers will always try find a system’s weakest point – which may also be a third-party component the developer has no direct control over – and start from there to compromise the entire system. This problem has always existed, but the rate of attacks has intensified in the 2020s. For example, the infamous SolarWinds attack of 2020 started by infecting a software company’s build system to turn their network management software against its users and ended up compromising the systems of many United States governmental entities. Supply chain failures have risen to the #3 position on the OWASP Top 10 2025 (as opposed to #6 in 2021, and #9 in 2017).
The move towards digital ecosystems driven by open-source packages is worsening the problem, as illustrated by the “Shai-Hulud” self-replicating worm in late 2025 that compromised hundreds of packages in the npm registry – and similar attacks surfacing in 2026 against other similar package registries as well.
Third-party risk needs to be controlled, and DORA mainly specifies the contractual and legal aspects. However, in practice when it comes to open source (or AI-generated) code, there may not even be a subcontractor – in that case it’s up to the developer to curate all third-party components they use (and manage any existing vulnerabilities in them) via Software Composition Analysis tools.
Digital Operational Resilience testing and secure software development
Chapter 4 (Articles 24-27) of DORA covers the concept of digital operational resilience. At first glance, this may look like a requirement to perform security testing on the product before deployment – but it actually goes much further than that.
It’s a widespread misunderstanding of software security that “security is something you add to the project” typically via a penetration test done over a few weeks at the end. If the test’s findings are addressed (or the test reports no problems), security is solved. This is a very dangerous mindset, since not only is such a short test almost guaranteed to miss some issues, but addressing security this late will be expensive – see the importance of ‘shifting left’ above. This is also reflected in DORA itself: resilience requires constant attention to security, and security testing is not just a one-time thing, it has to be repeated regularly. Furthermore, critical financial entities must undergo Threat-Led Penetration Testing (TLPT) with an emphasis on simulating real-world attacks, necessitating significant security expertise.
DevSecOps brings many answers here with automation: static and dynamic security testing tools (SAST, DAST), Software Bill of Materials (SBOM) and even AI-based solutions. But this does not remove secure coding from the equation – and manual code reviews and security testing during development (e.g. using the OWASP ASVS) still remain important.
The role of secure development in ICT incident management
DORA covers incident response and reporting in Chapter 3 (Articles 17-23) combined with the establishment of business continuity and ICT response and recovery plans (Article 11). Having an incident response plan is also part of secure software development methodologies. But how is this related to secure development? We can look to the OWASP Top 10 for answers.
Since 2017, Security Logging and Alerting Failures (formerly titled Insufficient Logging & Monitoring) has appeared on the scene, highlighting the importance of alerting administrators when noticing anomalous behavior indicative of ongoing attacks and logging unusual events to help investigate the root cause of such attacks afterwards. It is the consensus of security experts that this is an important issue despite its underrepresentation in incident databases due to not being directly associated with specific vulnerabilities. IBM and Ponemon’s yearly Cost of a Data Breach Report corroborates this – on average it takes well over 6 months for a company to realize they were hacked in the first place, and that’s before they can even start enacting their response plan! Long story short, proper incident management needs buy-in from the developers as well (see e.g. ‘early warning indicators’ in Article 17).
Learning from (preferably others’) mistakes
DORA also covers the necessity of information sharing between financial entities in Article 45 to help raise awareness of currently ongoing threats. This is a “rising tide lifts all boats” situation, since cybercriminals frequently don’t target a specific entity but attack any vulnerable targets at the same time to maximize their profit (e.g. the MageCart criminal group was infamous for ‘spray and pray’ credit card skimming campaigns targeting numerous e-commerce sites simultaneously).
This kind of information exchange necessitates the development of security awareness programs – but also digital operational resilience training for employees within a company (see Article 13).
Is compliance the death of security?
Compliance is intended to help an organization’s security posture, but compliance is not security. It’s easy to fall into the trap of ticking checkboxes and thinking that taking care of the paperwork is enough. In fact, in some extreme scenarios, focusing too much on compliance can even create blind spots and provide a false sense of security.
In the end, if you’re developing your system to be secure from the ground up, compliance is “free”. The real solution is learning and adopting secure software development processes that enable the adoption and use of security activities throughout the entire SDLC, making sure security is built into the system. That way, the system will be resilient against attacks even when it’s not yet time for the yearly compliance audit.