threat-model-visualize
ما الذي تفعله
تنشئ هذه المهارة مستكشفاً مرئياً من نموذج تهديد موجود، يُظهر كيف يمكن أن تسوء الأمور وأين تساعد الضوابط. وهي لفرق التطبيقات والقادة الذين يحتاجون إلى فهم المخاطر.
متى تستخدمها
- ✓عندما تريد رؤية نموذج تهديد كصورة بنية تفاعلية.
- ✓عندما تريد أن تُظهر للقيادة كيف يمكن أن يحدث هجوم وأين تمنعه الضوابط.
- ✓عندما تطلب نموذج التهديد من آخر فحص لمشروع ما.
رابط المهارة
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/threat-model-visualize/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“صوّر نموذج التهديد من آخر فحص لخدمة الفوترة لدينا، حتى يستطيع فريق القيادة متابعة مسارات الهجوم.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يجد الذكاء الاصطناعي نموذج التهديد الموجود وآخر تقييم له، ثم يبني صفحة مستقلة تعرض البنية ومسارات التهديد. يبقى الأمر غير المؤكد موسوماً كفرضية لا كنتيجة مؤكدة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Threat Model Visualize
Create a standalone explorer that shows application teams and leadership what can go wrong, how it could happen, why it matters, and where controls would stop or limit it. Use the shared workbench and role palette; do not use Mermaid or run a new scan.
A request such as “Visualize the threat model generated in the last scan of X” is sufficient. Resolve the target, latest assessment and snapshot. If the latest artifact is missing, disclose that before using an older fallback. The default input is the existing threat-model artifact, not an automatic import of a complete scan. Keep inputs immutable and do not silently combine snapshots. Do not inspect application code or invent topology, authority, controls, reachability or validation.
Capture source-supported deployment context: exposure, trust, tenant and process boundaries, identities, and conditional deployment assumptions. Do not treat repository defaults as proof of deployed configuration. Preserve uncertainty and the distinction between hypotheses, findings, declared controls and observed enforcement. For several explicitly supplied artifacts, pass one derived document to --assessment. Label verbatim excerpts with each source’s identity, snapshot and original finding status. Distinguish findings from hypotheses, identify local IDs, and preserve conflicting accounts and the original artifacts.
For a fresh candidate or regeneration, author a new view model; do not patch or copy a previous candidate model or HTML. Ordinary edits may reuse the existing model. Renderer-only polishing is a display update, not fresh generation.
1. Enumerate and validate the source
Complete this phase before planning any visualization, choosing display groupings or routes, assigning geometry, or authoring the explorer JSON. Save source-inventory.md in the workspace. Validate fidelity to the supplied assessment, not the application implementation; do not run a new assessment to fill gaps.
Record the assessment identity, exact file hash and scope. Give inventory rows semantic IDs and supporting source spans or exact quotations, without assigning visual node or edge IDs. Enumerate:
- Components and roles: actors, inputs, application components, stores, external dependencies, trust boundaries, platform-specific instances and administrative contexts. Distinguish trusted operators, assumed compromise, controlled input, owned assets and enforcing components.
- Relationships and capabilities: each supported caller → operation → receiver relationship, meaningful return, independently sufficient authority or entry condition, prerequisites and platform/deployment conditions. Enumerate alternatives per operation: an account session and an issued capability may each authorize the same operation. Preserve known logical capabilities when transport or order is unknown; do not import a prerequisite from another entry point.
- Controls and qualifications: each protective mechanism → enforcing owner → constrained component → protected operation, with conditions and evidence. Record an unmapped enforcer explicitly; configuring or being subject to a restriction does not establish enforcement ownership. Classify existing mechanisms, proposals, security objectives, configuration behavior and caveats separately. Ownership, expanded permissions, disabled protection or documentation advice alone is not an existing safeguard.
- Threat-model coverage: substantive threats, supplied findings, hypotheses and consequential configurations, linked to the relevant components, relationships and controls. Retain source confidence, potential impact and unresolved questions.
Review the inventory against the complete assessment before proceeding. Check that evidence supports the same object, caller, operation and owner; distinguish configuration delivery from protected operations and assets from their managers. Do not transfer a validation rule between different inputs or infer platform endpoints from a group label. Account for every substantive source concern; reconcile aliases and record contradictions without inventing a resolution. Correct unsupported assertions, misclassified controls and unexplained omissions now.
Finish the inventory with source-reconciliation corrections and unresolved source gaps. Keep later model-repair notes and review verdicts in correctness-review.md, not this source inventory. It is ready for composition when its claims are supported
الأسئلة الشائعة
هل يُجري تقييماً جديداً؟
لا. يستخدم نموذجاً موجوداً ولا يُجري تقييماً أمنياً جديداً.
ماذا لو كان أحدث نموذج تهديد مفقوداً؟
تُعلن المهارة ذلك قبل أن تستخدم نسخة أقدم كبديل احتياطي.
هل تخترع بنية النظام؟
لا. لا تخترع الطوبولوجيا أو الضوابط أو إمكانية الوصول التي لا تدعمها الشيفرة المصدرية.
التفاصيل
الوصف الأصلي من المؤلف
Turn an existing threat model into an interactive architecture and threat-path explorer. Resolve simple requests for a target's last scan; do not perform a new assessment.
repo: openai/codex-security
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11758
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
assess-patch-risk
11kيساعد وكيلك على تقدير مدى خطورة رقعة برمجية قبل دمجها، عبر تحديد ما تؤثر فيه والاختبارات التي تغطيها وهل يمكن التراجع عنها.
attack-path-analysis
11kيساعد وكيلك على تتبع ثغرة أمنية من نقطة الدخول إلى الهدف، ثم تقدير الأثر الحقيقي وهل ينبغي الإبلاغ عنها.
cloud-findings
11kيتيح لوكيلك قراءة نتائج أمنية موجودة وتقارير وحالة فحص من Codex Security Cloud في حسابك المتصل، دون تغيير أي شيء.
deep-security-scan
11kيساعد وكيلك على تشغيل فحص أمني عميق متعدد المراحل لمستودع أو مجلد، بتكرار فحوصات مستقلة ودمج النتائج المُتحقق منها.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.