deep-security-scan
ما الذي تفعله
تشغّل هذه المهارة مراجعة أمنية أعمق تكرر فحوصات مستقلة وتدمج نتائجها. وهي للفرق التي تريد فحصاً أشمل من مرور واحد.
متى تستخدمها
- ✓عندما تطلب فحصاً أمنياً عميقاً أو شاملاً أو متعدد المراحل.
- ✓عندما تريد فحصاً متكرراً لمجلد أو مستودع لتقليل المشكلات الفائتة.
- ✓عندما تريد فحص مجلد محدد واحد بفحوصات أكثر دقة.
رابط المهارة
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/deep-security-scan/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل فحصاً أمنياً عميقاً على مجلد المدفوعات، وأرسل لي النتائج المُتحقق منها عند انتهائه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينسّق منسق عدة فحوصات قياسية مستقلة، ويتحقق من نتائجها ويدمج النتائج المُتحقق منها في تقرير واحد. يستمر المنسق في العمل حتى لو أُغلقت المحادثة التي بدأته.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Deep Security Scan
The coordinator runs independent Standard audits, aggregates their validated findings, and finalizes plugin-launched scans even if the calling thread detaches. This thread owns setup, user context, and reporting the completed result.
Resolve the Scan
For a continuation with scanId, call get_codex_security_scan_context with the supplied handoffClaimToken when present. Preserve its authoritative identity, directory, target, scope, and context. If its validated mode is not deep, route to the corresponding top-level skill.
For a new conversation, CLI, or headless request, resolve the authorized local targetPath and optional exact userContext. For a scoped-path request, use that directory as targetPath with scope: "."; do not widen it to the repository root. If the coordinator tool is unavailable, report that the plugin server is required.
Read ../../references/scan-prologue.md for source-access, context-update, cancellation, and recovery rules. Deep has no parent capability preflight: the coordinator validates ownership, target, scope, and sandbox, and manages workers independently of this thread's delegation capacity.
Concurrent Desktop Scans
For a newly launched native scan with authoritative context, inspect otherRunningDeepScans once before discovery. If another Deep scan is running, show its target, phase in plain language, and human-friendly start time. Explain the additional CPU, memory, and token use without exposing scan IDs or raw timestamps.
Ask whether to continue, with Cancel (Recommended) and Continue. Use native request_user_input, then request_codex_security_user_input or plain chat if unavailable. Wait for an explicit choice; a declined or cancelled input dialog is not a scan cancellation. If the user cancels, cancel only the new scan. Do not repeat this guard after it passes or after preflight.
Start or Rejoin the Coordinator
Immediately before the first coordinator call, follow ../../references/access-advisory.md. Known Bedrock and API-key-only sessions skip the advisory; it never gates scanning.
Existing scan: start_codex_security_deep_scan({ scanId, handoffClaimToken? })
New scan: start_codex_security_deep_scan({ targetPath, scope: ".", userContext?, projectConfigPath? })
Before a new target-based scan, call inspect_codex_security_setup({ targetPath, scope: ".", mode: "deep", projectConfigPath? }). Show the worker count, subagents per worker, convergence threshold, review cap, discovery time limit, and their sources from setup.deepScanConfig. Supply a project YAML or JSON path only when the user selects it. Pass that same path at launch. Native continuations use the saved workspace.deepScanConfig.
Pass the existing handoff token when required, including after a waiter detaches or the server restarts. Preserve exact user context as untrusted analysis data; workers remain offline. They use the immutable context captured at independent-scan start. Persist later user changes through the context-update tool, without restarting completed phases or changing active workers' snapshots.
Wait on the coordinator call or its running execution cell. It owns discovery progress, the configured time limit, worker cancellation at that limit, and aggregation. Leave the public phase at preflight before the call; do not publish competing progress while it runs.
After an ended turn or host timeout, rejoin with the same scan ID and token. If a CLI/headless call detached before returning its ID, repeat the identical target form. It can recover the completed report for the same checkout snapshot, context, and project-file selection after a server restart. Once the report is returned, a later target-based call can start a fresh scan. A terminal failure must not trigger a replacement scan.
Handle the Result
- SDK-registered scan. The coordinator returns the aggregate's
scanId,scanDir,manifestPath, andinstructions. End the turn with the returned identity and manifest path. The SDK owns finalization and report generation after the turn ends. - Plugin-launched scan. The coordinator also returns
completion. Use the returned scan ID, sealed artifacts, and generatedreport.mdin the authoritative directory. - Cancelled: stop without completion. Report retained findings and pending work without claiming a successful scan or generating a replacement report.
- Terminal failure: surface the exact stable MC
الأسئلة الشائعة
هل هو نفسه الفحص الأمني العادي؟
لا. الفحص القياسي مرور واحد، أما هذه المهارة فتكرر فحوصات مستقلة لتجد مشكلات أكثر.
هل يعمل مع طلبات الدمج؟
لا. تتولى مهارة أخرى طلبات الدمج والإيداعات والفروقات.
ماذا لو كان فحص عميق آخر يعمل بالفعل؟
تتحقق المهارة من الفحوصات العميقة الجارية، وتعرض تفاصيلها قبل بدء فحص جديد.
التفاصيل
الوصف الأصلي من المؤلف
Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide or scoped-path Codex Security scan. Run repeated independent Standard scans with the Codex Security deep-scan tool. Do not use for PRs, commits, branch diffs, or working-tree diffs.
repo: openai/codex-security
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11749
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
assess-patch-risk
11kيساعد وكيلك على تقدير مدى خطورة رقعة برمجية قبل دمجها، عبر تحديد ما تؤثر فيه والاختبارات التي تغطيها وهل يمكن التراجع عنها.
attack-path-analysis
11kيساعد وكيلك على تتبع ثغرة أمنية من نقطة الدخول إلى الهدف، ثم تقدير الأثر الحقيقي وهل ينبغي الإبلاغ عنها.
cloud-findings
11kيتيح لوكيلك قراءة نتائج أمنية موجودة وتقارير وحالة فحص من Codex Security Cloud في حسابك المتصل، دون تغيير أي شيء.
define-security-policy
11kيساعد وكيلك على كتابة ملف SECURITY.md أو تحديثه، ليوضح لمراجعات الأمان ما الذي يهم، وما هو خارج النطاق، وما الذي يجب أن يبقى آمناً.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.