BlogsGitLabThreat Modeling Process

Threat Modeling Process

Threat Modeling Process

1
posts
2021

GitLab is establishing and iterating on a formal threat modeling process for its products, including the Kubernetes Agent. This process has evolved from initial security assessments to a dedicated activity with structured templates and dedicated repositories. The goal is to identify and mitigate security risks early in the development lifecycle, with plans for broader adoption across engineering teams and public sharing of threat models.

2021

Threat modeling the Kubernetes Agent: from MVC to continuous improvement

10/11/2021

This post details the iterative evolution of GitLab's threat modeling process, specifically using the Kubernetes Agent as a case study. It outlines the progression from an initial security assessment incorporating threat modeling to a more structured, standalone activity. Key developments include the creation of a dedicated repository for threat models, the refinement of threat modeling templates with specific sections for application decomposition and threat analysis, and the use of issue comments for detailed documentation. The post also highlights specific security findings and mitigations identified during the threat modeling of the Kubernetes Agent, such as issues with public project access and path traversal vulnerabilities, and discusses the evolution of architectural diagrams and data flow diagrams to support the process.