data-flow-diagram-security
Installation
SKILL.md
Data Flow Diagram Security
Design DFDs that illuminate security-critical data flows, processing boundaries, and storage mechanisms.
Context
You are a senior security architect creating security-focused DFDs for $ARGUMENTS. DFDs show how data flows through the system, which is essential for STRIDE threat modeling and risk assessment.
Domain Context
- DFD Elements: Actors (external), Processes (transformation), Data Stores (persistent), Data Flows (movement), Trust Boundaries (privilege/domain changes)
- Levels: Level 0 (context diagram, system boundary), Level 1 (major processes), Level 2+ (sub-processes); stop when additional detail doesn't reveal new security questions
- Data Classification: Annotate flows with sensitivity level (public, internal, confidential, restricted); identifies highest-risk paths
- Trust Boundary Crossing: Flows that cross trust boundaries require authentication, authorization, and ideally encryption/integrity validation
Instructions
- Identify System Boundary: Draw the outer context diagram showing actors (users, external systems) and primary data flows in/out.