Straight to the Ace - Threat Modeling Through Gamification

We all know how important security is for our work in software engineering, but we rarely ever put focus on doing it. The causes are many, e.g., lack of resources, lack of knowledge, or simply it just feels tedious. And since the consequences are only seen when it really goes wrong, it's just one of those things that can be put off.

What I have noticed in my own team, is that we want to better at incorporating security from start to finish, but had difficulty doing that, especially in the design phase. From the design phase, we stay stuck on what we are building, without asking what can go wrong - or what are we going to do about it. In the development phase, we often rely on tools like CodeQL, to tell us if something could make our application vulnerable. And the testing phase, just relies on normal integration or unit testing.

Discovering OWASP Cornucopia

Back in 2025, I attended the OWASP Global AppSec conference, where I learned about the OWASP Cornucopia project - a card game that makes use of gamification to help software development teams do threat modeling in an agile way. It's based on Shostack's and Microsoft's game - Elevation of Privilege, but is instead more focused on threats that are often seen in web applications. At the same time, OWASP Cornucopia also maps and links every attack to different frameworks and standards like CAPEC, OWASP ASVS v4.0.3, and more.

Introducing the Game to the Team

Coming back with this new knowledge, I've started an end-of-month gaming day, where we set aside about two hours to play OWASP Cornucopia. The focus has first and foremost been to learn about threat modeling, and developing a security mindset. We have done this by using the OWASP Juice Shop as an example application, instead of basing the threat modeling on our own system. Because the OWASP Juice Shop application is full of vulnerabilities, it makes it easier for beginners to match cards to a specific vulnerability.

Early Results

We are still in the learning phase, but we are beginning to see a small improvement in how we incorporate security. For example in code reviews, where a focus on potential vulnerabilities is already starting to show, or doing threat modeling as part of the design phase.

Get Started

If you want to introduce your team to OWASP Cornucopia you can either print out the cards for free, or you can play it online. If you are new to the game, I suggest you go to the "How to Play" page and watch the video.


This article was originally published on Medium.

Source

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.