ThreatModel
하는 일
이 스킬은 설정 안에서 민감한 데이터가 있는 곳을 지도로 그리고, 시스템이 침해되었을 때 무슨 일이 생길지 그려 보며, 그 결과 위험을 추적합니다. 자신의 시스템을 명확하고 방어적인 관점에서 보고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓여러 시스템에 걸쳐 민감한 데이터가 어디에 저장되어 있는지 알고 싶을 때.
- ✓한 시스템이 침해되면 무슨 일이 생길지 보고 싶을 때.
- ✓보안 위험 목록을 기록하고 검토하고 싶은 경우.
스킬 링크
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ThreatModel/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“고객 데이터가 어디에 저장되어 있는지 지도로 그려 주시고, 분석 도구가 침해되면 무엇이 노출되는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 민감한 데이터가 있는 곳을 분류하고, 각 자산에 대해 침해 시나리오를 시뮬레이션하며, 결과에 점수를 매깁니다. 위험은 검토 날짜가 있는 위험 대장에 보관되며, 자산을 건드리거나 테스트하지 않고 시스템을 모델링합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
ThreatModel
Contents: Ideal State · Intent Routing · Data & Config (safety gate) · Risk Scoring · Asset Graph Integration · Continuous review and the TELOS link · Gotchas · Examples
Threat modeling for the estate you actually run. Three moves: classify where sensitive data lives, simulate compromise of the assets that hold it, and keep the resulting risks in a register that gets reviewed instead of forgotten.
Ideal State
- Every artifact a run produces (data map, scenario, injection map, target model, register entry) sits in the private data dir with no secret value in it, and the skill tree holds code only.
- Impact and likelihood rest on evidence: data classes and what an asset can reach for impact, exposure for likelihood, Atlas output where the install has it and a stated hand-built inventory where it does not.
- Every real risk a run surfaces lands in the register through the CLI with a score, a scope and a review date, so the Socrates review loop (
References/Continuous.md) reviews it instead of it being forgotten. - The estate is modeled, never touched: no run exploits, scans or changes an asset, and the audit writes none of the registers it reads.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| SensitiveDataMap | "where is our sensitive data", "data classification", "which assets hold sensitive data" | Intents/SensitiveDataMap.md |
| CompromiseScenario | "what if X got hacked", "compromise scenario", "blast radius of X" | Intents/CompromiseScenario.md |
| ThreatModelTarget | "threat model X", "threat model the estate", "risk assessment of X" | Intents/ThreatModelTarget.md |
| InjectionSurfaceMap | "prompt injection", "injection surfaces", "where can untrusted content get in", "trust boundaries", "what can inject into the agent", "lethal trifecta" | Intents/InjectionSurfaceMap.md |
| RiskRegister | "risk register", "add a risk", "risk review", "accept risk", "close risk" | Intents/RiskRegister.md |
| SecurityAudit | "run a full security audit", "security audit", "how exposed am I", "audit our security", "latest audit" | Intents/SecurityAudit.md |
| File | Read when |
|---|---|
References/Continuous.md |
Setting --telos-ref or scope on a row, exporting one scope, or changing what the daily Socrates questions check |
Data & Config (safety gate)
This skill directory is public code, so it never holds data.
- Data dir:
~/.claude/LIFEOS/USER/SECURITY/THREATMODEL/by default (release-excluded USER tree);THREATMODEL_DATA_DIRoverrides it.Tools/RiskRegister.tsstructurally refuses any data dir that resolves inside askills/path. - Register entries reference credentials by env-var name only, never by value. No tokens, keys, or cookies anywhere in threat-model output.
- Customizations:
<configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/ThreatModel/PREFERENCES.md, where configRoot is$CLAUDE_CONFIG_DIRwhen set, else~/.claude. When it exists, load and apply it before executing (data locations, sensitive-data class priorities, response runbook cross-references); otherwise use the defaults.
Risk Scoring
score = likelihood (1-5) × impact (1-5) → Low 1-4 · Medium 5-9 · High 10-14 · Critical 15-25. The CLI computes score and level from the two inputs.
Impact is anchored to data classes and blast radius: an asset whose compromise exposes credentials or customer data starts at impact 4+. A worker with no data of its own routinely inherits a 5 through its bindings.
- 5: credentials to many systems, customer data at scale, or financial/health PII
- 4: credentials to one data-bearing system, or a private data store
- 3: internal-only data, or write access to a public surface
- 2: limited internal exposure
- 1: public-only data, no pivot
Likelihood is anchored to exposure (public URL, auth boundary, patch state, credential hygiene).
Asset Graph Integration
If the install has Atlas (~/.claude/LIFEOS/ATLAS/Atlas.ts), intents use it as the current-state source of truth:
bun ~/.claude/LIFEOS/ATLAS/Atlas.ts blast <key> # what relies on this asset
bun ~/.claude/LIFEOS/ATLAS/Atlas.ts owns <key> # what deleting/losing it orphans
bun ~/.claude/LIFEOS/ATLAS/Atlas.ts exposed <key> # which credentials it would leak, priority-ordered
bun ~/.claude/LIFEOS/ATLAS/Atlas.ts injection # ingestion surfaces by trust class + control coverage
bun ~/.claude/LIFEOS/ATLAS/Atlas.ts
자주 묻는 질문
제 시스템을 공격하나요?
아니요. 설정을 모델링할 뿐이며, 어떤 자산도 악용하거나 스캔하거나 바꾸지 않습니다.
비밀 값이 파일에 저장되나요?
아니요. 기록에는 비밀 값이 없으며, 비공개 데이터 폴더에 보관됩니다.
위험은 어떻게 순위가 매겨지나요?
영향과 가능성은 데이터 등급, 노출 정도, 자산 목록 증거를 바탕으로 점수화됩니다.
상세 정보
작성자의 원본 설명
Defensive threat modeling of your own estate: sensitive-data map, trust boundaries, compromise scenarios, a scored risk register via CLI. USE WHEN run a full security audit, security audit, how exposed am I, threat model, risk register, risk assessment, what if X got hacked, compromise scenario, blast radius, sensitive data map, data classification, add a risk, accept a risk, injection surfaces, trust boundaries, lethal trifecta. NOT FOR pentesting (a private-only offensive skill), futures or stress-testing an idea (RedTeam, Research), running IR.
repo: danielmiessler/LifeOS
인기도
- GitHub 스타
- 20k
- 순위
- #10468
- 라이선스
- MIT
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
LifeOS
20k에이전트가 LifeOS를 설정하도록 돕습니다. LifeOS는 인터뷰와 대시보드를 통해 현재 상태를 이상적인 상태에 연결하는 개인 시스템입니다.
AnnualReports
20k에이전트가 주요 업체의 사이버보안 연간 보고서에서 침해와 랜섬웨어 추세를 찾아 비교하고, 모든 수치에 출처를 붙이도록 돕습니다.
ApertureOscillation
20k에이전트가 설계 질문 하나를 좁은 범위와 넓은 범위에서 검토하고, 만들기 전에 두 답이 충돌하는 지점을 짚도록 가르칩니다.
Aphorisms
20k에이전트가 큐레이션된 컬렉션에서 출처가 밝혀진 인용문을 찾고 맞추고 관리하며, 최근 뉴스레터에 쓴 인용문은 피하도록 돕습니다.