> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specpilot.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# threat-model.md

> What could go wrong: threats, the attack surface and what's out of scope.

`.specs/security/threat-model.md`. `specpilot validate` requires it.

## What it holds

Four numbered sections:

| Section | ID |
| - | - |
| Overview | `[SEC-001.1]` |
| Threat Model | `[SEC-002]` |
| Attack Surface Summary | `[SEC-003]` |
| Out of Scope | `[SEC-004]` |

## What setup writes

The four sections as `[TODO]`. Your security concerns and integrations add entries under Threat Model.

## Who reads it

The App's Security view and the Overview's Security card.

Checked against SpecPilot 2.22.0.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.