Skillpedia
الوكلاء42k · #6443

competition-prompt-injection

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تشك في أن برنامجاً «انخدع» بنص خبيث.
  • ✓عندما تريد فهم كيف يمكن لبيانات خارجية أن تغيّر إجراءات البرنامج.
  • ✓عندما تحقق في كشف برنامج لمعلومات سرية.

رابط المهارة

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“حلّل كيف يمكن لهذا النص أن يجعل الوكيل يكشف سراً: [النص الخبيث هنا]”

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

كيف تعمل

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

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

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

Competition Prompt Injection

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the challenge is primarily about trust boundaries inside an agentic system.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify the first untrusted content that becomes model-visible.
  2. Map the chain from retrieval, memory, or transcript into planner or executor behavior.
  3. Record the exact point where text becomes a tool argument, file path, network target, or secret request.
  4. Prove one minimal exploit chain before exploring variants.
  5. Keep prompt snippets and tool transitions in compact evidence blocks.

Workflow

1. Map The Control Stack

  • Track system, developer, user, retrieved, memory, planner, and tool-response layers separately.
  • Distinguish claimed capability from runtime-exposed capability.
  • Note what the model can actually call, read, or mutate.

2. Prove The Boundary Crossing

  • Reproduce one chain from untrusted text to changed planner behavior, changed tool args, or secret exposure.
  • Keep the decisive transcript compact: source chunk, rewritten planner state, final tool invocation.
  • Prefer the smallest transcript that still demonstrates the bug.

3. Report By Boundary

  • State which layer failed: retrieval, summarizer, planner, executor, tool normalization, or output post-processing.
  • Separate instruction drift from actual side effect.

Read This Reference

  • Load references/prompt-injection.md for the checklist, evidence layout, and common prompt-boundary pitfalls.

What To Preserve

  • Original malicious chunk or prompt
  • Intermediate summary or planner drift if it matters
  • Final tool args, file paths, or exposed secret surface
الأسئلة الشائعة

ما هو «حقن الأوامر» (prompt injection)؟

هو أن يُدرج نص خبيث داخل برنامج ليجعله ينفذ أوامر غير مرغوبة أو يكشف معلومات.

ما هي «حدود الثقة» (trust boundaries)؟

هي حدود الثقة داخل النظام. وتتحقق هذه المهارة مما إذا كانت هذه الحدود مُحترمة، أو ما إذا كان يمكن كسرها بمعلومات خبيثة.

ماذا تسجل الأداة كدليل؟

تسجل النص الخبيث الأصلي، وأي تغييرات في سلوك البرنامج، والإجراءات النهائية التي تكشف المشكلة.

التفاصيل

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

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for prompt-injection, retrieval poisoning, memory contamination, planner drift, MCP or tool-boundary abuse, and agent exfiltration challenges. Use when the user asks to analyze prompt injection, retrieval poisoning, memory contamination, planner drift, tool-argument corruption, or secret exposure caused by an agent chain.

repo: zhaoxuya520/reverse-skill

الشعبية

نجوم GitHub
42k
الترتيب
#6443
الترخيص
MIT
آخر تحديث
22‏/9‏/2026

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

0

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

التعليقات

  • …

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

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