Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xvnpw/fabric-stride-threat-model

Example of create_stride_threat_model pattern from fabric
https://github.com/xvnpw/fabric-stride-threat-model

Last synced: about 1 month ago
JSON representation

Example of create_stride_threat_model pattern from fabric

Awesome Lists containing this project

README

        

# Fabric for STRIDE Threat Model

[Fabric](https://github.com/danielmiessler/fabric) is a framework that puts AI at your fingertips. Instead of diving into chat interfaces (e.g., ChatGPT) or writing custom programs that consume APIs, you can create prompts as markdown text and receive output in markdown. Fabric also maintains a database of prompts called [patterns](https://github.com/danielmiessler/fabric/tree/main/patterns).

In this repository, I have collected examples of the usage of the [create_stride_threat_model](https://github.com/danielmiessler/fabric/blob/main/patterns/create_stride_threat_model/system.md) pattern:

| File | Description | Model |
| --- | --- | --- |
| [INPUT.md](INPUT.md) | Example of an architecture document for the fictional project AI Nutrition-Pro | --- |
| [baseline_threat_modeling_action.md](baseline_threat_modeling_action.md) | Baseline Threat Model from my [ai-threat-modeling-action](https://github.com/xvnpw/ai-threat-modeling-action) | Claude 3 Opus |
| [baseline_threat_scenarios.md](baseline_threat_scenarios.md) | Baseline Threat Model created by Fabric using the [create_threat_scenarios](https://github.com/danielmiessler/fabric/blob/main/patterns/create_threat_scenarios/system.md) pattern | Claude 3 Opus |
| [baseline_stride_gpt.md](baseline_stride_gpt.md) | Baseline Threat Model created by [STRIDE GPT](https://github.com/mrwadams/stride-gpt) | GPT-4o |
| [threat_model_claude_3_opus.md](threat_model_claude_3_opus.md) | Threat Model created using the `create_stride_threat_model` pattern | Claude 3 Opus |
| [threat_model_gpt_4o.md](threat_model_gpt_4o.md) | Threat Model created using the `create_stride_threat_model` pattern | GPT-4o |
| [threat_model_gemini_1.5_pro.md](threat_model_gemini_1.5_pro.md) | Threat Model created using the `create_stride_threat_model` pattern | Gemini-1.5 Pro Latest |

## How to Reproduce

```
# Get Fabric installed - https://github.com/danielmiessler/fabric
$ wget https://raw.githubusercontent.com/xvnpw/fabric-stride-threat-model/main/INPUT.md
$ cat INPUT.md | fabric --pattern create_stride_threat_model -m claude-3-opus-20240229 > threat_model_claude_3_opus.md
```