원클릭으로
add
Add components, boundaries, data flows, or data items to a threat model
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add components, boundaries, data flows, or data items to a threat model
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Assign classes to unclassified components, boundaries, data flows, and data items
Auto-discover infrastructure components from codebase using the infrastructure-scout agent
Guided end-to-end threat modeling workflow — scope through validation and sync
Populate security attributes, MITRE ATT&CK references, credentials, and monitoring tools
Quality dashboard with score breakdown, gap analysis, and readiness assessment
Attack surface summary with component breakdown, trust boundary crossings, and control gap analysis
| name | add |
| description | Add components, boundaries, data flows, or data items to a threat model |
| agent | threat-modeler |
| argument-hint | [element description] |
@../../docs/guidelines-layout.md @../../docs/guidelines-schema.md
Add elements to an existing Dethernety threat model using natural language.
Use the Model Resolution Protocol to identify the target model. Read current model files from disk (structure.json, dataflows.json, data-items.json).
From $ARGUMENTS or conversation, determine what to add:
| Input Example | Element Type |
|---|---|
| "add a Redis cache in the data tier" | Component (STORE) |
| "add a DMZ boundary for internet-facing services" | Boundary |
| "add a flow from API Server to Redis for session lookups" | Data flow |
| "add PII data item on the user registration flow" | Data item |
If ambiguous, ask the user to clarify the element type.
For components:
mcp__plugin_dethereal_dethereal__get_classes if platform is connectedFor boundaries:
dimensionsMinWidth and dimensionsMinHeight to prevent collapseFor data flows:
For data items:
Present the addition before writing:
Adding to "Production Stack":
Component: "Redis Cache" (STORE) in Data Tier boundary
Position: (200, 100) relative to Data Tier
New data flows:
API Server → Redis Cache: "Cache read/write" (right → left)
Redis Cache → API Server: "Cache response" (bottom → top)
Confirm? (yes / adjust)
Update the relevant model file(s):
structure.json for components and boundariesdataflows.json for data flowsdata-items.json for data itemsattributes/ if the element is classifiedAt DISCOVERED or STRUCTURE_COMPLETE: Addition proceeds normally, state is unchanged. The model stays at its current state.
At ENRICHING or later: A structural change triggers backward transition:
currentState to STRUCTURE_COMPLETE in .dethereal/state.json.dethereal/quality.json (forces recomputation)model_signed_off from state.json if presentstaleElements[]Call mcp__plugin_dethereal_dethereal__validate_model_json to check structural validity.
[done] Added [STORE] "Redis Cache" to Data Tier. Quality: X/100.
[next] /dethereal:add (continue adding) or /dethereal:discover (scan for more components)