ThreatModel
यह क्या करती है
यह स्किल बताती है कि आपके सेटअप में संवेदनशील डेटा कहाँ रखा है, कल्पना करती है कि किसी सिस्टम से समझौता होने पर क्या होगा, और उससे निकले जोखिमों पर नज़र रखती है। यह उन लोगों के लिए है जो अपने सिस्टम का साफ़ और रक्षात्मक दृष्टिकोण चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप जानना चाहते हों कि आपके सिस्टमों में संवेदनशील डेटा कहाँ सहेजा गया है।
- ✓जब आप देखना चाहते हों कि अगर एक सिस्टम से समझौता हो तो क्या हो सकता है।
- ✓जब आप सुरक्षा जोखिमों की सूची दर्ज करना और समीक्षा करना चाहते हों।
Skill का लिंक
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/ThreatModel/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“बताइए हमारा ग्राहक डेटा कहाँ रखा है, और हमारे analytics टूल का उल्लंघन होने पर क्या उजागर होगा।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
LifeOS
20kआपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।
AnnualReports
20kआपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।
ApertureOscillation
20kआपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।
Aphorisms
20kआपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।