attack-path-analysis
ما الذي تفعله
تتحقق هذه المهارة مما إذا كانت مشكلة أمنية مشتبهاً بها لها مسار هجوم حقيقي، ومدى خطورتها. وهي لمراجعي الأمان الذين يريدون فصل المخاطر الحقيقية عن الإنذارات الكاذبة.
متى تستخدمها
- ✓عندما يشير فحص أمني إلى مشكلة وتحتاج إلى معرفة إن كانت حقيقية.
- ✓عندما تريد تتبع نتيجة من المكان الذي يتحكم فيه المهاجم إلى العملية الحساسة.
- ✓عندما تحتاج إلى قرار واضح بشأن إمكانية الإبلاغ عن النتيجة.
رابط المهارة
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/attack-path-analysis/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تتبّع ثغرة SQL injection هذه من نموذج تسجيل الدخول إلى قاعدة البيانات، وأخبرني هل يجب الإبلاغ عنها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يرسم الذكاء الاصطناعي المهاجم ونقطة الدخول وحد الأمان والعملية الحساسة، باستخدام أدلة من الشيفرة. ينظر في الحمايات الموجودة، ويقيّم الأثر، ويعطي قراراً واضحاً لكل نتيجة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Security Attack Path Analysis
Determine whether each supplied finding has a supported attacker path, what impact it has, and whether it is reportable. Before creating or retaining files, read ../../references/artifact-storage.md.
Establish the attack path
For a scan phase, use its per-scan threat model and candidate set from ../../references/scan-artifacts.md. Preserve supplied input paths. If a required scan artifact is unavailable, report the missing input.
For standalone analysis, use the supplied finding, repository, threat model or security policy, and context. A per-scan artifact is not required. State material assumptions and ask for missing context only when it prevents a meaningful assessment.
- Establish the in-scope attacker, affected product surface, entry point, controlled input, security boundary, and sensitive operation. Trace the path from repository evidence.
- Identify relevant controls and the strongest counterevidence. Explain what they establish, which prerequisites remain, and whether the exact claimed boundary is crossed.
- Assess impact and likelihood from those facts, then apply references/severity-policy.md. Keep facts, severity calibration, and the final policy decision distinguishable in the result.
- Return an explicit decision for every eligible candidate, including ignored or deferred candidates. Do not replace a supported instance with a neighboring finding or lose its root-control location.
Use repository evidence and explicitly supplied context. Access the network only when the user has expressly authorized it; an offline scan never accesses the network. Do not invent unsupported attack chains. Missing deployment or public-ingress evidence can limit confidence without defeating an otherwise supported finding.
Scan integration
Standard scans and Deep Scan workers assess attack paths within their ordinary Standard scan workflow; neither invokes this separate phase skill.
Compact Workbench Diff
When a workbench-backed $security-diff-scan has a scanId:
- Load the per-scan threat model and all validated candidates with
list_codex_security_candidates({ scanId, cursor?, limit? }). - Analyze every
reportableordeferredvalidation candidate. Preserve candidate identity and existing discovery and validation fields. - Submit every decision together with
record_candidate_attack_paths({ scanId, attackPaths: [{ candidateId, attackPath }] }). SubmitattackPaths: []when no candidate enters this phase. The tool preserves the stored candidate order. - These nested decisions are the complete phase output. Do not create duplicate reports, receipts, or manual ledgers.
Other phase-based scans
Use the active workflow's report and receipt paths in ../../references/scan-artifacts.md. Every candidate entering this phase must have an explicit decision and a receipt with its ID, facts or exact proof gap, and report reference. Record ignored candidates before excluding them from the surviving finding set.
For repository-wide or scoped-path scans, include validation closure rows marked reportable or survives: yes, even if discovery did not assign a polished finding number. Preserve affected entrypoint/wrapper, root-control, sink, and concrete-implementation locations supplied by validation.
Output
For standalone analysis, follow the caller's format or return a concise assessment per finding. Scan phases use their output contract above. Include:
- title and supplied candidate, instance, and ledger identities;
- precise affected locations and attacker-to-impact steps;
- relevant facts from references/attack-path-facts.md;
- controls, counterevidence, prerequisites, and material proof gaps;
- impact, likelihood, calibrated severity, and final policy decision with their reasons.
Retain enough evidence to explain both surviving and suppressed findings. Apply the severity policy to the established facts rather than reopening discovery or substituting a different attack story.
الأسئلة الشائعة
هل ينظر إلى النتيجة نفسها فقط؟
لا. ينظر أيضاً إلى الضوابط والأدلة المضادة التي قد تمنع مسار الهجوم.
هل تحصل كل مرشحة على قرار؟
نعم. تحصل كل مرشحة مؤهلة على قرار صريح، بما فيها المرشحات التي تُتجاهل أو تُؤجل.
هل يحتاج إلى فحص كامل أولاً؟
لا. يستطيع العمل على نتيجة واحدة وسياق المستودع، رغم أنه يستخدم آثار الفحص عندما تتوفر.
التفاصيل
الوصف الأصلي من المؤلف
Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
repo: openai/codex-security
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11747
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
assess-patch-risk
11kيساعد وكيلك على تقدير مدى خطورة رقعة برمجية قبل دمجها، عبر تحديد ما تؤثر فيه والاختبارات التي تغطيها وهل يمكن التراجع عنها.
cloud-findings
11kيتيح لوكيلك قراءة نتائج أمنية موجودة وتقارير وحالة فحص من Codex Security Cloud في حسابك المتصل، دون تغيير أي شيء.
deep-security-scan
11kيساعد وكيلك على تشغيل فحص أمني عميق متعدد المراحل لمستودع أو مجلد، بتكرار فحوصات مستقلة ودمج النتائج المُتحقق منها.
define-security-policy
11kيساعد وكيلك على كتابة ملف SECURITY.md أو تحديثه، ليوضح لمراجعات الأمان ما الذي يهم، وما هو خارج النطاق، وما الذي يجب أن يبقى آمناً.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.