When we think about cybersecurity, technical jargon, such as malware, firewalls, encryption, and so on, often comes to mind. Here’s a new term you should know: security debt. While originating in software development, this concept is not just for tech-savvy professionals. It’s a simple idea with implications for systems, businesses, and society. This post will explore the idea of security debt, why it matters, and how it accumulates in systems.
To get the full picture of security debt, it is essential first to understand the monetary metaphor of technical debt. Simply put, technical debt is used to explain the cost incurred when software quality is compromised. Different software quality attributes (i.e., maintainability, evolvability, reliability, security, etc.) may be compromised, for example, to reduce time-to-market. This can be compared to building a house quickly by skipping some structural reinforcements. It’ll stand for now, and fixing it later may cost more.
Security debt takes the concept of technical debt into the realm of security. Being able to avoid security debt or leveraging it strategically depends on a clear definition of security debt and people sharing a common understanding of what it entails. The proposed security debt definition is as follows:
Security debt is a set of design or implementation solutions that hinder or have the potential to hinder the achievement of a system's security goal.
In short, security debt refers to postponed or insufficient security measures that leave systems more vulnerable to malicious attacks. Unlike technical debt, which primarily affects maintainability and evolvability, security debt relates to increased security risk. Think of it as skipping the lock on the front door of your house. It is an insufficient security measure that should be improved as it increases the security risk.
Our society is becoming more digitalized, where computers are connecting critical infrastructure and functions we rely on as part of our daily lives. Neglecting security debt can lead to real-world consequences as it makes systems more vulnerable to malicious attacks.
Companies might face issues such as data breaches, financial losses, and reputational damage. For individuals, this could mean compromised personal information, among other problems. In a world increasingly dependent on technology, understanding and addressing security debt is crucial for everyone.
Take a simple example: outdated software. Many of us postpone updates for our personal devices, like phones and computers, because we find them inconvenient. But these updates often include security patches. For systems, it is also important to stay updated with the latest versions of protocols, libraries, etc. More about this below!
A case study was conducted by interviewing professionals from the multinational conglomerate Visma to investigate security debt. The covered areas include what security debt it, its relationship to technical debt and security vulnerabilities, and how security debt accumulates in systems. The key takeaway points are as follows:
Now that we better understand the definition of security debt and the relationship between technical debt and security vulnerabilities, the next step is to understand how security debt accumulates in systems.
To work efficiently with security debt, it is key to understand how it is accumulated. As part of the research, four accumulation patterns were identified:
What are the practical steps?
We rely on technology in our daily lives, which means we must focus on the importance of addressing security debt. The security debt research shows the need for a structured way to deal with security debt. Understanding the relationship between security debt, security vulnerabilities, and technical debt provides guidance for future research on security debt management.
Organizations must have a clear understanding of the definition of security debt and the accumulation patterns to work efficiently with security debt and the related security risks.
Let’s tackle security debt together. After all, a secure digital world benefits us all.
This post is based on the article “Defining Security Debt: A Case Study Based on Practice.” Read the entire article as part of the Product-Focused Software Process Improvement (PROFES) 2024 conference proceedings or as a preprint from the Visma website under the header “Scientific articles.”