competition-prompt-injection
ما الذي تفعله
هذه المهارة تساعد على تحليل كيف يمكن خداع برنامج، أي وكيل، بمعلومات خبيثة. تتتبع كيف تستطيع البيانات غير الموثوقة تغيير سلوك البرنامج أو كشف معلومات سرية.
متى تستخدمها
- ✓عندما تشك في أن برنامجاً «انخدع» بنص خبيث.
- ✓عندما تريد فهم كيف يمكن لبيانات خارجية أن تغيّر إجراءات البرنامج.
- ✓عندما تحقق في كشف برنامج لمعلومات سرية.
رابط المهارة
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حلّل كيف يمكن لهذا النص أن يجعل الوكيل يكشف سراً: [النص الخبيث هنا]”
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
- Identify the first untrusted content that becomes model-visible.
- Map the chain from retrieval, memory, or transcript into planner or executor behavior.
- Record the exact point where text becomes a tool argument, file path, network target, or secret request.
- Prove one minimal exploit chain before exploring variants.
- 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.mdfor 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.
الشعبية
- نجوم GitHub
- 42k
- الترتيب
- #6443
- الترخيص
- MIT
- آخر تحديث
- 22/9/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
competition-ad-certificate-abuse
42kيساعد وكيلك على تحليل الهجمات على أنظمة الشهادات الرقمية. يبحث في كيفية إساءة استخدام الشهادات للوصول إلى الصلاحيات.
competition-agent-cloud
42kيساعد وكيلك على تحليل التحديات الأمنية في أنظمة الذكاء الاصطناعي والسحابة. يبحث في كيفية استغلال الأوامر والأدوات والسحابة.
competition-android-hooking
42kيساعد وكيلك على التحقيق في تطبيقات Android. يحلل كيف تعمل التطبيقات من الداخل وكيف يمكن تعديلها أو استغلالها.
competition-browser-persistence
42kيساعد وكيلك على تحليل كيفية تخزين المواقع للمعلومات في متصفحك. يبحث في ملفات تعريف الارتباط وغيرها من البيانات لفهم عمل الجلسات.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.