Verification · Threat modeling
Attack surface inventory
Lists every entry point and trust boundary: API endpoints, webhooks, queues, schedulers, parsers, CLIs, third-party scripts, model calls.
Sub-techniques
-
Network entry points
V1059.001HTTP, gRPC, WebSocket, raw socket and webhook receivers.
-
Asynchronous entry points
V1059.002Queue consumers and scheduled jobs that act on external data.
-
Data parsers and deserialization
V1059.003File, archive and object parsers that take untrusted input.
-
Infrastructure and configuration
V1059.004Infrastructure as code, secrets management, caching and edge routing.
-
AI and model interactions
V1059.005Prompts, tools and retrieved content that cross a trust boundary.
How to build it
- Enumerate entry points from route tables, consumers and schedulers in code.
- Describe the system as a model (pytm, Threagile) with data flows and trust boundaries.
- Regenerate the model when entry points change.
Signals in a repository
- threagile.yaml, pytm models or threat model documents in docs/.