لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Threat Model

آزاد تازه‌وارد تاییدشده امن

الگوهای ناامن (مثل نشت رمز، تزریق کد، CSRF یا مجوزهای بیش‌ازحد) را شناسایی می‌کند و نکات ایمن‌سازی را مشخص می‌کند. (شامل ۱۱ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

مخزن اصلی در گیت‌هاب ↗ مطابق مجوز، دانلود مستقیم فایل غیرفعال است

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: threat-model
description: Use when designing or changing anything that crosses a trust boundary - auth, input handling, data access, or external calls - before implementation
---

# Threat Model

**Inbound route**: `brainstorming` hands off when a trust boundary is in scope;
`reviewing-security` hands off when a finding needs a design fix. The artifact is
a design input.

Write `docs/threat-model.md` (one per change; append a section if it exists).
Lightweight and design-time: a short artifact, not a document pile.

## Checklist

1. **Assets** — what is worth stealing, breaking, or lying about?
2. **Entry points** — every input: users, APIs, files, env, webhooks, other services.
3. **Trust boundaries + DFD** — draw the data flow (externals, processes, stores, flows); mark every boundary. See `references/dfd-and-threats.md`.
4. **Attacker paths** — per boundary, attacker input → sink → impact.
5. **Threats** per boundary (STRIDE-lite): spoofing, tampering, repudiation, information disclosure, denial of service, elevation; plus LLM (OWASP LLM Top 10) and supply-chain (SLSA/NIST SP 800-218 SSDF/ATT&CK) per `references/dfd-and-threats.md`.
6. **Mitigations** — one per credible threat; prefer platform/framework controls over hand-rolled ones.
7. **Residual risk** — what remains and the named residual owner who accepts it.

## Output (`docs/threat-model.md`)

| boundary | threat | risk | mitigation | residual owner |
|---|---|---|---|---|

Risk is binary: high or low. No ordinal 1–10 likelihood or impact scores; if you cannot say high or low, trace the path further.

Mappings (paraphrased, attributed): OWASP Top 10 / OWASP LLM Top 10 / NIST (SP 800-218, AI RMF) / MITRE ATT&CK & ATLAS — `references/mappings.md`. Cite a framework ID per row (e.g. A01, LLM01, T1195).
## Rules

- No finding without a traced path: attacker input → impact.
- Validate at the boundary, once. Encode invariants in types where possible.
- Secrets never enter the model context or logs.
- Every threat cites a framework ID from `references/mappings.md`.


— ‹guest · 2026-11-30› —

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
یادگیری ماشین
✦ Pro

OpenAI Docs

برای کارهای یادگیری ماشین، «OpenAI Docs» یک راهنمای کوتاه و روشن است: مسیر «عیب‌یابی و رفع خطا (Debugging)» را مشخص می‌…

⚡ /openai-docs SKILL.md
OpenAI CodexChatGPT +۲
۹۲/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Threat Model Source Code Repo

اگر روی یادگیری ماشین کار می‌کنید، «Threat Model Source Code Repo» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی …

⚡ /security-threat-model SKILL.md
OpenAI CodexCline
۸۹/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

LiteRT on Google Tensor: compile, benchmark, package for apps

این مهارت با نام «LiteRT on Google Tensor: compile, benchmark, package for apps» تجربهٔ یک کاربلد در یادگیری ماشین را ک…

⚡ /litert-google-tensor SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۵۳
یادگیری ماشین
✦ Pro

GKE AI/ML Inference

اگر روی یادگیری ماشین کار می‌کنید، «GKE AI/ML Inference» بخشی از کار را از دوش شما برمی‌دارد: «دواپس، داکر و استقرار (D…

⚡ /gke-inference SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۰
یادگیری ماشین
✦ Pro

Data Manager API Troubleshooting

«Data Manager API Troubleshooting» یک مهارت آماده در حوزهٔ یادگیری ماشین است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «عیب‌…

⚡ /data-manager-api-troubleshooting SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۴۶
یادگیری ماشین
✦ Pro

Gemini API in Gemini platform

برای کارهای یادگیری ماشین، «Gemini API in Gemini platform» یک راهنمای کوتاه و روشن است: مسیر «هماهنگی عامل‌ها و ابزارها…

⚡ /gemini-api SKILL.md
GeminiMCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸