Understanding security tactics in microservice APIs using annotated software architecture decomposition models – a controlled experiment
Empirical Software Engineering · 2025-05 · 30 (3)
DOI: 10.1007/s10664-024-10601-1 ↗Kurz gefasst
Fachartikel in der Zeitschrift Empirical Software Engineering, online erschienen am 14.02.2025. Verfasst von Patric Genfer und 4 weiteren Autor:innen. Beteiligte Einrichtung: Research Group Software Architecture, Faculty of Computer Science and UniVie Doctoral School Computer Science DoCS, University of Vienna, Vienna, Aus…. Die Arbeit wurde bisher 9-mal zitiert (Crossref) und nennt 90 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung, European Commission, Austrian Science Fund.
Abstract (Originalsprache)
While microservice architectures have become a widespread option for designing distributed applications, designing secure microservice systems remains challenging. Although various security-related guidelines and practices exist, these systems’ sheer size, complex communication structures, and polyglot tech stacks make it difficult to manually validate whether adequate security tactics are applied throughout their architecture. To address these challenges, we have devised a novel solution that involves the automatic generation of security-annotated software decomposition models and the utilization of security-based metrics to guide software architectures through the assessment of security tactics employed within microservice systems. To evaluate the effectiveness of our artifacts, we conducted a controlled experiment where we asked 60 students from two universities and ten experts from the industry to identify and assess the security features of two microservice reference systems. During the experiment, we tracked the correctness of their answers and the time they needed to solve the given tasks to measure how well they could understand the security tactics applied in the reference systems. Our results indicate that the supplemental material significantly improved the correctness of the participants’ answers without requiring them to consult the documentation more. Most participants also stated in a self-assessment that their understanding of the security tactics used in the systems improved significantly because of the provided material, with the additional diagrams considered very helpful. In contrast, the perception of architectural metrics varied widely. We could also show that novice developers benefited most from the supplementary diagrams. In contrast, senior developers could rely on their experience to compensate for the lack of additional help. Contrary to our expectations, we found no significant correlation between the time spent solving the tasks and the overall correctness score achieved, meaning that participants who took more time to read the documentation did not automatically achieve better results. As far as we know, this empirical study is the first analysis that explores the influence of security annotations in component diagrams to guide software developers when assessing microservice system security.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Research Group Software Architecture, Faculty of Computer Science and UniVie Doctoral School Computer Science DoCS, University of Vienna, Vienna, Austria.
- Software Institute (USI), Lugano, Switzerland.
- Research Group Software Architecture, Faculty of Computer Science, University of Vienna, Vienna, Austria.
ORCID-Profile: Patric Genfer
Förderung
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- European Commission
- Austrian Science Fund
Zitieren
APA
Genfer, P., Serbout, S., Simhandl, G., Zdun, U., & Pautasso, C. (2025). Understanding security tactics in microservice APIs using annotated software architecture decomposition models – a controlled experiment. Empirical Software Engineering, 30(3). https://doi.org/10.1007/s10664-024-10601-1
Vancouver
Genfer P, Serbout S, Simhandl G, Zdun U, Pautasso C. Understanding security tactics in microservice APIs using annotated software architecture decomposition models – a controlled experiment. Empirical Software Engineering. 2025;30(3). doi:10.1007/s10664-024-10601-1
BibTeX
@article{Genfer2025,
author = {Genfer, Patric and Serbout, Souhaila and Simhandl, Georg and Zdun, Uwe and Pautasso, Cesare},
title = {Understanding security tactics in microservice APIs using annotated software architecture decomposition models – a controlled experiment},
journal = {Empirical Software Engineering},
year = {2025},
volume = {30},
number = {3},
doi = {10.1007/s10664-024-10601-1}
}
EUVIMED