Skillpedia
الأمان8.0k · #12692

validate-bug

ما الذي تفعله

يعيد تشغيل إعادة إنتاج خطأ بشكل مستقل، ويقرر هل الادعاء مؤكد أو غير مؤكد أو غير حاسم. وهو موجه إلى المراجعين الذين يريدون فحصًا ثانيًا مستقلًا قبل الترقيع.

متى تستخدمها

  • ✓عندما تحتاج حزمة إعادة إنتاج إلى إعادة تشغيل مستقلة قبل الترقيع.
  • ✓عندما يريد مراجع الحكم على ادعاء خطأ دون الاعتماد على رواية من أعاد الإنتاج.
  • ✓عندما يحتاج فريق إلى نتيجة مؤكد أو غير مؤكد قبل بدء العمل على الإصلاح.

رابط المهارة

https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/trailofbits/skills/blob/main/plugins/patching-bugs/skills/validate-bug/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أعد تشغيل إثبات المفهوم هذا على خط الأساس، وأخبرني هل الخطأ مؤكد.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تقرأ المهارة النتيجة والإثبات المحفوظ دون سرد من أعاد الإنتاج. تعيد تشغيل الأمر أو البرنامج نفسه، وتحفظ الخرج، وتسجل حكمًا مع سبب قصير.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Validate Bug

When to Use

Use after reproduce-bug has supplied a finding and PoC package. Read the record contract. Before target commands, follow its project guidance.

When NOT to Use

Do not use to repair a PoC, develop a patch, or infer reproduction from the reproducer's narrative.

Procedure

  1. Read finding.json, the reproduction's proof type, commands, any PoC, and raw receipts. Do not read the reproducer's transcript.

  2. Rerun the same baseline compiler command for compile failures, or rebuild and rerun the unchanged runtime PoC and planned scoped inputs. Save stdout, stderr, exit status and timing in validate/receipts/. If an observation is unreliable, return inconclusive instead of inferring either presence or absence.

  3. Decide whether the target diagnostic or runtime assertion demonstrates the exact claim and violates the stated invariant. Write validate.json as confirmed, not_confirmed, or inconclusive with a short reason and agent identity.

    Validate record schema:

{
  "schema_version": 1,
  "outcome": "confirmed",
  "agent": "validator-1",
  "reason": "The unchanged PoC reached the assertion and demonstrated the claim."
}
  1. Manifest the complete validate/ directory with uv run --no-project <script> manifest <validate-step-dir>, then run the record checker. Return the package without editing the PoC or finding.

Rationalizations to Reject

Shortcut Required action
Fix the PoC to make the claim work. Mark it inconclusive and explain why.
Trust the reproducer's conclusion. Rerun the unchanged package independently.
الأسئلة الشائعة

هل تقرأ ملاحظات من أعاد الإنتاج؟

لا. تعمل من النتيجة والإيصالات الخام، لا من سجل من أعاد الإنتاج.

ماذا لو كان الخرج غير واضح؟

تعيد النتيجة «غير حاسم»، بدل أن تخمّن أن الخطأ موجود أو غير موجود.

هل تصلح الإثبات؟

لا. لا تصلح إثبات المفهوم ولا تكتب ترقيعًا.

التفاصيل

الوصف الأصلي من المؤلف

Use when a bug PoC package needs an independent rerun and judgment before patching.

repo: trailofbits/skills

الشعبية

نجوم GitHub
8.0k
الترتيب
#12692
الترخيص
CC-BY-SA-4.0
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة