Let's build a Threat Library for reusable tech building blocks!

:gb:? Next post. :de:? Folgt.

Am 08.10.2026 trafen sich 13 Bedrohungsmodellierungsbegeisterte von TMC DACH, um gemeinsam eine neue Threat Library aus der Wiege zu heben. Die Idee: Software besteht zu großen Teilen aus wiederverwendbaren Bausteinen. :puzzle_piece::puzzle_piece::puzzle_piece: Warum erstellen wir nicht für einige besonders relevante solcher Bausteine Threat Models? Dann können Entwickler:innen sich davon inspirieren lassen!

:gift: Gewinnspiel

Als Gewinnspiel verlosten wir 3x1 Onlinekurs Certified Threat Modeling Professional (CTMP) Training von Practical DevSecOps. Danke für die Kooperation! Die glücklichen Gewinner sind Mohamed, Maik und Christoph! Wir wünschen euch viel Spaß und gute Erkenntnisse!

:hammer_and_wrench: Ein Werkzeug zur Eingabe der Library

Wir begannen damit, das Werkzeug kennenzulernen, das Hendrik extra für diesen Anlass entwickelt hatte. Der Bildschirm ist dreigeteilt:

  • Wir sehen links eine Sammlung von Building Blocks, von denen vier vorgegeben waren.
  • In der Mitte gibt es zum derzeit selektierten Building Block “Public User Profiles” ein Systemmodell.
  • Rechts werden dazu Gefahren und Maßnahmen gesammelt.

Die Veranstaltung fand wie gewohnt auf Deutsch statt, die Zusammenarbeit im Werkzeug aber auf Englisch.

:sparkles: Besonderheiten des Werkzeugs

Das System hat eine barrierearme Mitmach-Grundphilosophie statt komplizierte Pull Request Abläufe. Alles wird in einem Web UI eingegeben. Zunächst wird auf Zusammenarbeit in Veranstaltungen gesetzt.

Auf sonst übliche Diagramme wird verzichtet, um Zeit zu sparen. Stattdessen findet sich ein textuelles Systemmodell, bei dem wir Akteure, Systemkomponenten, Daten und Flüsse hinzufügen können.

Es gibt “Gains”: Was möchte ich überhaupt von diesem Building Block? Warum gibt es z. B. Public User Profiles? Die Idee hier ist, Gefahren zum Scheitern an den eigentlichen Zielen offenkundig sichtbar zu machen - eine Form von Usability Threat Modeling.

Die Gefahren und Maßnahmen sind sehr leichtgewichtig und haben nur einen Kurztext. So können sie schnell eingegeben werden. Da es sich um eine Threat Library handelt, machen wir mit den Maßnahmen nur Vorschläge: Es braucht keine Risikobewertung, Auswahl, was tatsächlich gemacht werden soll, oder Nachverfolgung der Umsetzung.

:play_button: Gemeinsame Bedrohungsmodellierung von Public User Profiles

Um gemeinsam in Fluss zu kommen besprachen wir das von Hendrik vorbereitete Systemmodell zu Public User Profiles und sammelten dann einige Gefahren und Maßnahmen.

:record_button: Sammeln von Themen

Bei der Themensammlung stellte sich heraus: Themen haben sehr unterschiedlichen Abstraktionsgrad. Konkrete Features wie “Shopping cart”, “Like feature” oder “Content moderation” standen neben “Multiple tenants” / Multitenancy, “Importing 3rd party APIs” und “Encryption”:

:play_button: Threat Modeling in Kleingruppen

Drei Kleingruppen gingen in 30 Minuten nach Lust und Laune ausgewählte Themen an: Sie unterzogen Location Tracking, Build Processes und Tags (on content / images) einer Sicherheitsanalyse.

Das Thema Build Processes empfing zwei Teams. Aufgrund einer Kuriosität waren für das zweite Team die Eingaben des ersten Teams nicht sichtbar. Interessant: So können wir jetzt sehen, wie zwei Teams unabhängig voneinander Build Processes modelliert haben.

Hier gibt es die Ergebnisse:

:globe_with_meridians: Projektseite

Die fortlaufenden Ergebnisse des Projekts werden hier zur Verfügung gestellt:

:fast_forward: Weiter geht’s…

Wir möchten die Arbeit an der Threat Library gerne vertiefen und laden am 12.11.2026 zu einer Fortsetzung ein! Hier geht es zur Anmeldung:

:de:? Previous post. :gb:? Ahead.

On 08.10.2026, 13 threat modeling enthusiasts from TMC DACH met to build a new threat library from scratch. The idea: software consists largely of reusable building blocks. :puzzle_piece::puzzle_piece::puzzle_piece: Why not create threat models for some particularly relevant building blocks? Then developers can draw inspiration from them!

:gift: Prize Draw

As a prize draw, we raffled 3x1 online courses for the Certified Threat Modeling Professional (CTMP) Training from Practical DevSecOps. Thank you for the cooperation! The lucky winners are Mohamed, Maik and Christoph! We wish you lots of fun and good insights!

:hammer_and_wrench: A Tool for Entering the Library

We started by getting to know the tool that Hendrik had developed especially for this occasion. The screen is divided into three parts:

  • On the left, we see a collection of building blocks, four of which were predefined.

  • In the middle, there is a system model for the currently selected building block “Public User Profiles”.

  • On the right, threats and mitigations are collected for it.

As usual, the event was held in German, but the collaboration within the tool took place in English.

:sparkles: Special Features of the Tool

The system is built on a low-barrier, participatory philosophy instead of complicated pull request workflows. Everything is entered in a web UI. For now, the focus is on collaboration during events.

The usual diagrams are omitted to save time. Instead, there is a textual system model where we can add actors, system components, data, and flows.

There are “Gains”: What do I actually want from this building block? Why do Public User Profiles exist, for example? The idea here is to make threats to failing the actual goals clearly visible – a form of usability threat modeling.

Threats and countermeasures are very lightweight and consist of only a short text, so they can be entered quickly. Since this is a threat library, we only make suggestions for the countermeasures: no risk assessment, selection of what should actually be done, or tracking of implementation is needed.

:play_button: Collaborative Threat Modeling of Public User Profiles

To get into the flow together, we discussed the system model for Public User Profiles prepared by Hendrik and then collected some threats and countermeasures.

:record_button: Collecting Topics

During the topic collection, it turned out that topics have very different levels of abstraction. Concrete features such as “Shopping cart”, “Like feature” or “Content moderation” appeared alongside “Multiple tenants” / multitenancy, “Importing 3rd party APIs” and “Encryption”.

:play_button: Threat Modeling in Small Groups

Three small groups spent 30 minutes tackling topics of their own choosing: they performed a security analysis of Location Tracking, Build Processes, and Tags (on content / images).

The Build Processes topic was taken on by two teams. Due to a quirk, the second team could not see the first team’s input. Interestingly, this now lets us see how two teams independently modeled build processes.

Here are the results:

:globe_with_meridians: Project Page

The ongoing results of the project are made available here:

:fast_forward: To Be Continued…

We would like to deepen our work on the threat library and invite you to a follow-up session on 12.11.2026! The event language is German. Register here:

(Translated with Claude)