Security Incentivization: An Empirical Study of how Micropayments Impact Code Security

Stefan Rass, Martin Pinzger, Rainer W. Alexandrowicz, Georg Sengstbratl, Johann Glock, Alexander Lercher, Fabian Oraze, Christoph Wedenig · 2026

Read Security Incentivization: An Empirical Study of how Micropayments Impact Code Security by Stefan Rass, Martin Pinzger, Rainer W. Alexandrowicz, Georg Sengstbratl, Johann Glock, Alexander Lercher, Fabian Oraze, Christoph Wedenig (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-13100.txt.

Introduction

Rass and seven co-authors test whether micropayments tied to measurable security gains improve code security. Their semi-automated mechanism aggregates static analysis findings, computes security issue density, and rewards teams by relative improvement across sprints. In a course experiment with 84 students in 14 teams, the incentivised group reached significantly lower issue density than the control group, with no inflation from code volume. Front-ends and back-ends responded differently, with back-ends improving more. The pipeline proved feasible for scripting at scale.

Catalog record

CREATORStefan Rass, Martin Pinzger, Rainer W. Alexandrowicz, Georg Sengstbratl, Johann Glock, Alexander Lercher, Fabian Oraze, Christoph Wedenig
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE70205
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.13100

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Security Incentivization: An Empirical Study of how Micropayments Impact Code Security Stefan Rass, Martin Pinzger, Rainer W. Alexandrowicz, Georg Sengstbratl, Johann Glock, Alexander Lercher, Fabian Oraze, Christoph Wedenig Abstract Security often receives insufficient developer attention because it does not directly generate visible value, leading to underinvestment in practice. We evaluate a countermeasure by team-level incentives tied to measurable security improvements over time. Our semi-automated mechanism aggregates static analysis findings from Bearer, Detekt, and mobsfscan, computes security issue density, and rewards teams based on the relative improvement ratio across sprints, enabling repeatable, scriptable reporting at scale. In a controlled course experiment with 84 students across 14 teams, we compared a security-incentivized condition, in which bonus points were linked to security scanner results, against a control condition with an otherwise identical grading scheme. The treatment group achieved significantly lower security issue density overall (beta regression: β = − 0.396 , p = 0.0342 \beta=-0.396,p=0.0342 ), indicating improved measurable security under incentivization. After controlling for platform, we observed a marked front-end/back-end disparity, with back-ends showing fewer issues and higher improvement ratios under incentives, highlighting heterogeneous effects across stack layers. Notably, these gains were not the byproduct of inflated code volume, as lines of code increased similarly across groups over time. The measurement pipeline and toolchain proved feasible for scripting and automation, supporting scalable adoption in practice. Our results suggest that aligning rewards with automated security metrics can measurably improve code security and merit follow-up in professional contexts and longer development lifecycles. 1 Introduction Security has the unfortunate fate of not generating revenue by itself but rather preventing damage at additional cost [ 19 , 24 , 16 , 3 ] . As such, it does not necessarily “add” to the functionality of a system but only protects it from malfunctioning. Consequently, people may take considerably less satisfaction from implementing a security mechanism since the system works before and after, with no visible improvement other than increased robustness and security. Security must be rooted in the design and implemented concurrently with the functionality throughout the entire development life-cycle. The problem of reluctance to design a product not only for functionality but also for security has a long history of research, including sophisticated game theoretic analysis using signaling games. Past such work found that companies may not necessarily have natural incentives to invest in security, for example, if customers are unwilling to pay a higher price for a more secure product [ 9 ] . For an experimental study toward a deeper understanding of why vulnerable code is produced, [ 17 ] ran a coding competition to observe the development practices of teams, to find out why and how developers introduce, find, and fix vulnerabilities. It was found that most teams failed to implement correct security mechanisms mainly due to misunderstanding security concepts. Other reasons that effectively hinder developers from writing secure code are known, despite best coding practices such as a secure software development life-cycle (SDL) [ 30 ] : These include failure to understand or define implications or security concepts [ 37 ] , and insufficient resources (time, budget) [ 7 ] , among many others [ 33 , 36 , 52 ] . AI-powered coding tools, such as Claude Code 1 1 1 https://www.claude.com/product/claude-code or OpenAI Codex 2 2 2 https://openai.com/codex/ , hold promise to increase developer productivity, but carry the risk of producing even more insecure code [ 4 , 29 ] . Consequently, assured quality of security requires not only tools but also developer engagement, motivation, and them taking responsibility for writing secure code. Investments in security may further be due to obligations of independent auditing, (security) standard compliance, or legal obligations (e.g., [ 14 , §(64)] says that “Manufacturers should […] provide security updates to users free of charge”, which is a direct economic obligation in case of inferior security care in product design). Frameworks like the CC ( CC ) [ 8 ] or the ISO 27k family [ 26 ] provide well-formalized workflows along which the security of a product, including its production process, can be established. These standards depend on developer teams to not only tick checkboxes towards satisfying the minimum requirements that the (security) standard prescribes; for example, if the required security mechanism is implemented according to the standard’s requirement, but itself implemented with flaws due to ignorance of security quality beyond what feature is requested. Therefore, practical security will require the willingness to invest the additional effort imposed by a security-by-design paradigm, which might be increased by providing teams with additional payoffs for achieving this goal. Incentive-based security [ 25 , 31 ] relies on the hypothesis that people act rationally towards maximizing their personal payoffs. Research has found strong evidence against such a general utility maximization [ 47 , 51 , 50 ] , which may be attributed not to a flaw in the general logic of utility maximization, but rather to a mere mistake in how the utilities are modeled. Indeed, research about bounded rationality [ 10 , 47 ] has investigated causes of people not maximizing a presumed utility expressed as a real-valued and continuous function but rather considering multiple dimensions and uncertainty in their decisions. Hence, an easily perceptible incentive to maximize one’s utility, for example, an additional payoff for people who implement security on top of the product’s basic functionality , could help. Therefore, our research question is: Does incentivizing security improvements through bonus (e.g., grade points) lead to lower security issue density than equivalent incentives for general code quality? To answer this question, we design a mechanism to measure security contributions, together with an experiment to verify it. The mechanism employs an automated tool chain to quantify security improvements over time by changes in the security issue density. From these changes, i.e., improvements, we define rewards to incentivize developer teams. The incentive mechanism was evaluated in an empirical study with students of the software engineering class at the University of Klagenfurt, demonstrating that such additional incentives can increase security. Our contribution comprises: • A semi-automated mechanism to measure security contributions in teams, which we empirically pre-tested. • An experiment with students of the software engineering class at the University of Klagenfurt to empirically support the efficacy of the incentivization for better security. In Section 2 , we provide an overview of previous approaches to use incentivization for increasing software security. Section 3 discusses mechanisms by which incentivization may be engendered and describes a pre-study we performed to gain insight of the feasibility of such an approach. Section 4 describes the details of the present experiment and Section 5 shows the outcomes and their discussion. 2 Related Work Gamification is one of the most commonly applied technique to increase motivation in various contexts, like work (e.g., “employee of the month”, “best-performing teams”, etc.) [ 40 ] . Using game-based rewards is also applied to increase survey participation [ 11 ] , although with some caveats. The underlying idea is leveraging peoples motivation to “outperform” others. Such extrinsic motivation means doing an activity for a separable outcome, like rewards, recognition, status, avoiding punishment, or social comparison. It is complementary to intrinsic motivation , i.e., doing an activity because it is

Read the complete text