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

replay-regression

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

https://github.com/trailofbits/skills/blob/main/plugins/regression-hunt/skills/replay-regression/SKILL.md

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

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

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

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

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

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

“أحتاج إلى فحص مستقل: هل يُظهر هذا الاختبار المحفوظ الخطأ فعلًا في النسختين القديمة والجديدة من شيفرتي؟”

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

كيف تعمل

يبني الوكيل النسختين ويشغلهما من الصفر في مجلده الخاص، باستخدام المدخل نفسه. يكتب هل تتصرف النسخة القديمة بشكل صحيح وتُظهر النسخة الجديدة الفشل، ويذكر أي شيء لا يتطابق.

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

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

Independently replay a PoC

When to Use

Input: candidate, frozen source records, complete sealed reproduction package and registry assignment. Use a fresh context distinct from the reproducer. Follow project guidance before target work.

When NOT to Use

Authoring or repairing the PoC. Return changes to the caller for reproduction; changed PoCs require new reproduction and replay.

Replay

  1. Read the standard and file contract. Verify the package; read setup and security guidance. Stop execution if prerequisites fail.
  2. Independently build and run actual S0/S1 only inside your attempt directory; never reuse another attempt's build output. List every build directory in build_dirs. Execute the unchanged PoC with the same input against both. Record whether S0 behaves correctly and S1 exhibits the claimed failure.
  3. Check real interface reachability using only the claimed user's/attacker's access. Save setup, versions, commands, observations and separate logs.
  4. Write and seal replay.json, referencing the reproduction record and original PoC/input. Record divergence or blockers; uncertainty stays unresolved. Release temporary resources without deleting evidence.

Report Back

Keep detailed evidence in the sealed package. Return only:

  • Status: complete or blocked, matching the record.
  • Record: sealed replay.json path, or why none was produced.
  • Result: one sentence describing observed agreement or divergence.
  • Blocker: missing prerequisite or required caller action, if blocked.

Completion means the replay attempt finished, not that the regression is confirmed.

Rationalizations to Reject

  • “The previous logs look right”: replay requires your own execution.
الأسئلة الشائعة

لماذا أستخدم وكيلًا منفصلًا لهذا؟

يقلل الفحص الجديد احتمال أن يخفي إعداد كاتب الاختبار الأصلي خطأً.

هل سيصلح الاختبار إذا لم يعمل؟

لا. تعود التغييرات على الاختبار إلى من كتبه، ويجب فحصها مرة أخرى.

هل تحتاج إلى الجهاز نفسه الذي شُغّل عليه الاختبار الأصلي؟

لا. يبني كل شيء ويشغّله من جديد في مجلده الخاص.

التفاصيل

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

Use when independently verifying a supplied PoC against fresh live before/after deployments.

repo: trailofbits/skills

الشعبية

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

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

0

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

التعليقات

  • …

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

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