# Threat Modeling as Code

DevFeed: [Threat Modeling as Code](<https://devfeed.tech/articles/threat-modeling-as-code-37029.md>)

Original publisher: [Read original article](<https://shostack.org/blog/threat-modeling-as-code/>)

Author: Adam

Published: 2019-01-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [engineering-culture](<https://devfeed.tech/topics/engineering-culture.md>), [Code](<https://devfeed.tech/topics/code.md>), [standard](<https://devfeed.tech/topics/standard.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [practices](<https://devfeed.tech/tags/practices.md>), [productivity](<https://devfeed.tech/tags/productivity.md>)

## AI overview

This commentary explores representing threat models as code and aligning threat modeling with established engineering practices. It argues that converting threat-modeling analysis into code and selecting suitable code representations can increase delivery consistency and productivity, while requiring upfront effort.

## Source excerpt

Exploring threat models as code.