شعار Security Testing

Security Testing

المجتمع
mn-youssef
security-testing

Use when you want to security-test, pentest, audit, or find vulnerabilities in an application you own or are authorized to test — entry point that confirms authorization and routes to the right phase (threat model, code audit, active test, or hardening).

نظرة عامة

الناشرmn-youssef
المستودعsecurity-skills
اسم المهارةsecurity-testing
النجوم
49
التفريعات
7
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها mn-youssef على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Security Testing في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/mn-youssef/security-skills/tree/master/skills/security-testing
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mn-youssef/security-skills.git /tmp/security-skills
mkdir -p .claude/skills
cp -r /tmp/security-skills/skills/security-testing .claude/skills/security-testing
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Security Testing في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Security Testing تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Security Testing بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

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

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Security Testing (Orchestrator)

Overview

Front door for defensive security work. It enforces an authorization gate, then routes you through the lifecycle: PLAN → FIND → EXPLOIT → FIX. Use attacker thinking to find your own weaknesses, then close them.

Core principle: Attackers think in paths, defenders think in lists. A defender must be right everywhere; an attacker needs one weak link. Hunt the path.

How to run this orchestrator (MANDATORY — read first)

This skill is a router, not a substitute for the skills it names. The tables below tell you which skill to open at each phase — you MUST actually open it with the Skill tool.

The rule: before doing the work of a phase, invoke that phase's skill and follow its checklist. Reading a one-line description in a routing table is NOT running the skill and does NOT count as coverage. Doing the work "from your own expertise" instead of invoking the skill is the failure this section exists to stop.

  • RECON → recon-and-osint · PLAN → threat-modeling
  • FIND/EXPLOIT → invoke each applicable specialist (access-control-testing, authentication-testing, injection-testing, file-upload-and-ssrf, api-security-testing, client-side-exploitation, business-logic-testing, secrets-management-audit) before testing that area — plus security-code-audit (static) and active-pentest (dynamic).
  • CHAIN → vulnerability-chaining · FIX → security-hardening · REPORT → pentest-reporting

Coverage honesty: in the coverage report, mark a skill ✓ ONLY if you invoked it via the Skill tool. If you applied its methodology from memory without invoking it, write "methodology-only". If it's irrelevant to the target, write "N/A — ". Never mark ✓ to mean "I did similar work."

Red flags — STOP and invoke the skill before continuing:

  • "I already know what this covers / I know this domain extremely well"
  • "The summary in the routing table is enough"
  • "I'll just start with the highest-yield target and do the work directly"
  • "I'll consult the specialist skills later / as a reference"
  • "The skill is overkill — I've found these bugs hundreds of times"
  • Time pressure: "the user wants results fast, skip the load step"

Each of these is the exact rationalization that produces silent gaps. The map is not the territory — open each door (call Skill) before doing its work.

Authorization Gate (do this first — every time)

Before any testing, confirm out loud with the user:

  1. Ownership / authorization — Do you own this app, or have written permission to test it?
  2. Target environment — Is testing scoped to a lab/staging/local instance (not third-party production)?
  3. Out of scope — Confirm no destructive actions, no DoS, no real user data exfiltration.

If any answer is unclear or "no" → stop and only do code audit on code the user controls. Never test third-party systems without written authorization.

Routing

dot
digraph route {
  "What do you need?" [shape=diamond];
  "recon-and-osint" [shape=box];
  "threat-modeling" [shape=box];
  "FIND/EXPLOIT skills" [shape=box];
  "security-hardening" [shape=box];
  "pentest-reporting" [shape=box];

  "What do you need?" -> "recon-and-osint" [label="discover the attack surface"];
  "What do you need?" -> "threat-modeling" [label="plan / prioritize"];
  "What do you need?" -> "FIND/EXPLOIT skills" [label="find & validate bugs"];
  "What do you need?" -> "security-hardening" [label="fix findings"];
  "What do you need?" -> "pentest-reporting" [label="report & track closure"];
  "recon-and-osint" -> "threat-modeling" -> "FIND/EXPLOIT skills";
  "FIND/EXPLOIT skills" -> "security-hardening" -> "pentest-reporting";
}

Lifecycle phases (run in order for a full assessment):

PhaseSkillWhen
RECONrecon-and-osintDiscover the real attack surface before assuming it.
PLANthreat-modelingRank what to worry about and test first.
FIND/EXPLOITdeep-dive specialists (below)Find and validate vulnerabilities.
FIXsecurity-hardeningCorrect, verified fixes.
REPORTpentest-reportingScore, document, and track findings to closure.

FIND/EXPLOIT deep-dive specialists (pick by what you're testing):

TargetSkill
Access control / IDOR / privesc (OWASP #1)access-control-testing
Login / sessions / OAuth / JWT / MFA (account takeover)authentication-testing
Workflow / pricing / race conditions / abusebusiness-logic-testing
REST / GraphQL / gRPC / WebSocket (OWASP API Top 10)api-security-testing
Browser / HTTP layer (DOM XSS, CSP/CORS, prototype pollution, smuggling)client-side-exploitation
Input reaching an interpreter (SQLi/NoSQLi, command, SSTI, XXE)injection-testing
File uploads, SSRF, insecure deserializationfile-upload-and-ssrf
Leaked keys/tokens (code, git history, logs, config)secrets-management-audit

Then synthesize: vulnerability-chaining combines the findings above into end-to-end attack paths — the highest-impact step, where several mediums become one critical.

Two cross-cutting helpers the specialists use:

  • security-code-audit — static (white-box) review: read source & grep for vuln patterns.
  • active-pentest — execution harness: lab/proxy/scanner setup + safe run + PoC capture. The specialists supply the attack recipe; active-pentest is how you run it on the live app.

Recommended flow: recon → threat model → deep-dive find/exploit (start with access-control-testing, it's the #1 real-world risk) → harden → report. Each phase feeds the next.

Surface-driven routing (applicability & gaps)

Don't run every skill — run what the target has. From recon-and-osint + threat-modeling, build the surface inventory, then map present surfaces to specialists:

Surface present?Route toIf absent
Browser UI / client-side JSclient-side-exploitationskip (N/A)
Login / accounts / tokensauthentication-testingskip
Authenticated / multi-user dataaccess-control-testingskip
API (REST/GraphQL/gRPC/WS)api-security-testingskip
DB / shell / template / XML sinksinjection-testingskip (per sink)
File upload / URL fetch / deserializationfile-upload-and-ssrfskip (per feature)
Workflows / money / quotasbusiness-logic-testingskip
Any code / repo / config (≈always)secrets-management-audit—

Each specialist also self-checks via its own Applies when / Skip when block — so a frontend skill pointed at a headless API reports N/A and stops instead of producing noise.

Gap check (the inverse — surface with no specialist): for every surface in the inventory that no specialist covers (e.g. a custom binary protocol, a message bus, an IoT/firmware endpoint):

  1. Flag it explicitly — never let it pass as "covered."
  2. Fall back to generic security-code-audit (static) + active-pentest (dynamic) methodology.
  3. Recommend a new specialist for it.

Always emit a coverage report so it's clear what ran, what was skipped and why, and what has no coverage:

Frontend ...... none  → client-side-exploitation: N/A (skipped)
API (REST) .... yes   → api-security-testing, access-control-testing ✓
Uploads ....... none  → file-upload-and-ssrf: N/A (skipped)
gRPC stream ... yes   → ⚠ GAP: generic methodology + consider a new specialist

Output of a full run

  • A ranked threat model (what matters most)
  • A findings register: severity · file:line · why exploitable · status
  • Validated PoCs for high-severity items
  • Applied fixes, each with a re-test confirming closure

Common mistakes

  • Reading the routing table instead of invoking the skills it routes to → the summaries are a map, not the territory. Open each door (call the Skill tool) before doing its work, and mark it ✓ only if you actually invoked it (see "How to run this orchestrator").
  • Skipping the threat model → you test random things, miss the crown jewels.
  • Auditing without authorization to test the live system → stay in code audit only.
  • Finding without fixing/re-testing → a report nobody acts on isn't security.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Security Testing؟

Use when you want to security-test, pentest, audit, or find vulnerabilities in an application you own or are authorized to test — entry point that confirms authorization and routes to the right phase (threat model, code audit, active test, or hardening).

لماذا تستخدم Security Testing على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Security Testing عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Security Testing في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/mn-youssef/security-skills/tree/master/skills/security-testing. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Security Testing؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Security Testing؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Security Testing معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Security Testing مجانية؟

نعم. نشرها mn-youssef على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇