شعار Security Review

Security Review

المجتمع
shawnpang
security-review

When the user needs a security assessment — threat modeling, vulnerability review, auth flow audit, dependency scanning, or says "is this secure", "review for vulnerabilities", "threat model", "security audit", "pen test prep".

Add to TypingMind

نظرة عامة

الناشرshawnpang
المستودعstartup-founder-skills
اسم المهارةsecurity-review
النجوم
368
التفريعات
43
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Security Review

When to Use

  • The user wants a security audit of their application, infrastructure, or specific feature
  • They need a threat model before launching or a penetration test preparation review
  • They have a dependency vulnerability alert and need remediation guidance
  • They are handling sensitive data (PII, payment, health) and need verification
  • Code audit, secrets detection, or compliance assessment is requested

Context Required

From startup-context: tech stack, deployment environment, compliance requirements, data types. Also ask:

  • Scope — Full app, feature, auth system, single PR, infrastructure, or cloud environment
  • Data types — PII, payment, health, credentials, or other sensitive data handled
  • Compliance requirements — SOC 2, HIPAA, PCI-DSS, GDPR, ISO 27001
  • Authorization — Confirm written authorization exists before any active testing

Workflow

Follow a five-phase methodology. Automated scanning precedes manual review. Authorization verification is mandatory before active testing.

  1. Scope definition — Establish attack surface boundaries. Identify all components, data flows, and trust boundaries. Confirm authorization. Define in-scope and out-of-scope.
  2. Automated scanning — Execute tooling before manual review:
    • SAST: semgrep --config=auto across the codebase
    • Dependency audit: npm audit / pip-audit / govulncheck / trivy fs .
    • Secrets detection: Scan for hardcoded credentials, API keys, tokens in source
    • Container scanning: trivy image for containerized deployments
    • Record all automated findings for validation in the next phase.
  3. Manual code review — Conduct contextual analysis that automated tools miss:
    • Authentication and authorization flow tracing end-to-end
    • Business logic vulnerabilities (price manipulation, race conditions, privilege escalation)
    • Data flow analysis for sensitive information (where does PII enter, transit, and persist?)
    • STRIDE threat modeling against each component and data flow
  4. Validation and classification — Test findings and assign severity:
    • Validate automated findings to eliminate false positives
    • Assign CVSS v3.1 scores; assess exploitability in context
    • Classify by business impact, not just technical severity
  5. Reporting — Document vulnerabilities with precise locations, business impact, and corrective actions. Deliver a prioritized remediation roadmap.

Output Format

markdown
# Security Review: [Scope Description]

## Executive Summary
Overall risk posture (Critical / High / Medium / Low), top findings count, and business impact summary.

## Threat Model (STRIDE)
| Threat | Category | Asset | Impact | Likelihood | Risk |

## Findings
### Critical / High / Medium / Low
- **[SEC-N] Title** — CVSS X.X — file:line — description, business impact, remediation with code example

## Auth Flow Assessment
End-to-end trace of authentication and authorization with findings.

## Dependency Vulnerabilities
| Package | Current Version | CVSS | Fix Version | Exploitable in Context? |

## Remediation Roadmap
Prioritized action list with timelines.

Frameworks & Best Practices

STRIDE Threat Modeling

Apply to every component and data flow:

  • Spoofing — Can attackers forge tokens or impersonate users? Are API keys rotatable?
  • Tampering — Can requests be modified in transit? Are webhooks signed? Is data integrity verified?
  • Repudiation — Are critical actions logged? Are logs tamper-evident?
  • Information Disclosure — Stack traces in error responses? PII encrypted at rest and in transit?
  • Denial of Service — Rate limits in place? Can one user exhaust resources for all?
  • Elevation of Privilege — Can regular users access admin functions? Are role checks server-side?

OWASP Top 10 Checks

  1. Injection — Parameterize SQL/NoSQL; check OS commands, SSTI, LDAP
  2. Broken Auth — argon2id/bcrypt, session timeout, rate limiting on login
  3. Data Exposure — TLS 1.2+, PII encrypted at rest, HSTS headers
  4. XXE — Disable DTD processing, prefer JSON over XML
  5. Access Control — Server-side authz on every endpoint, no IDOR, CORS whitelist
  6. Misconfig — Debug mode off, default credentials removed, security headers present
  7. XSS — Output encoding, Content Security Policy, HTTP-only cookies
  8. Deserialization — Validate schema, prefer JSON, reject untrusted serialized objects
  9. Vulnerable Deps — npm audit, pip-audit, trivy, govulncheck
  10. Logging — Auth events, admin actions, access violations logged with alerts

CVSS v3.1 Scoring Guide

  • Critical (9.0-10.0): RCE, auth bypass, full data breach, complete system compromise
  • High (7.0-8.9): Privilege escalation, significant data exposure, SSRF to internal services
  • Medium (4.0-6.9): Stored XSS, CSRF, limited IDOR, information disclosure
  • Low (0.1-3.9): Missing security headers, minor info disclosure, verbose errors

Auth Flow Checklist

  • Passwords: argon2id or bcrypt (cost >= 10)
  • JWT: 15-min access tokens, 7-day refresh tokens rotated on use
  • Rate limiting: 5 attempts / 15 min on auth endpoints
  • Sessions invalidated on password change
  • OAuth state parameter validated, scoped API keys
  • MFA enforced for admin accounts
  • Password reset tokens are single-use and time-limited

Scanning Tools

  • SAST: semgrep --config=auto (all stacks), bandit (Python), gosec (Go), eslint-plugin-security (Node)
  • Dependencies: npm audit / pip-audit / govulncheck / trivy fs .
  • Containers: trivy image

Mandatory Constraints

  • Never test production without explicit written authorization
  • Never exploit beyond proof-of-concept demonstration
  • Always sequence automated scanning before manual review

Remediation Priority

  1. Actively exploitable + critical data — immediately
  2. Auth/authz bypass — 24 hours
  3. Injection — 48 hours
  4. Data exposure / critical CVEs — 1 week
  5. Config hardening — 2 weeks
  6. Defense-in-depth — next sprint

Related Skills

  • code-review — chain when findings require code-level fixes and review
  • architecture-design — chain when findings reveal architectural security flaws
  • soc2-prep — chain when review is part of compliance preparation

Examples

Example prompt: "Review the security of our user authentication system. We use JWT with Express."

Good output snippet:

# Security Review: JWT Authentication System

## Executive Summary
Risk posture: **Critical**. Hardcoded JWT secret and non-expiring tokens.

## Findings
### Critical (CVSS 9.8)
- **[SEC-1] Hardcoded JWT secret** — auth/config.js:3 — Secret is
  "supersecret123". Attacker can forge any token.
  **Fix:** Move to env var, generate with `openssl rand -base64 64`.

### Critical (CVSS 9.1)
- **[SEC-2] Tokens never expire** — auth/jwt.js:12 — No `expiresIn`.
  **Fix:** Set `expiresIn: '15m'`, implement refresh token rotation.

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

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

When the user needs a security assessment — threat modeling, vulnerability review, auth flow audit, dependency scanning, or says "is this secure", "review for vulnerabilities", "threat model", "security audit", "pen test prep".

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

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

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

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/shawnpang/startup-founder-skills/tree/main/skills/security-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل
شعار langgenius

Frontend Code Review

langgenius
مؤسسةشائع

استخدم هذه المهارة فقط عندما يطلب المستخدم صراحةً مراجعة أو تدقيقًا لشفرة الواجهة الأمامية ضمن `web/` أو `packages/dify-ui/`. تدعم مراجعة التغييرات المعلّقة، والمراجعة التي تركز على ملفات محددة، ومراجعة الفروق الملصقة. لا تستخدمها لـ…

24.9K
157.6K
الملفات: 8
عرض
شعار anthropics

Command Development

anthropics
مؤسسةشائع

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create…

23.8K
146.3K
الملفات: 9
عرض
شعار openclaw

Discord E2e

openclaw
مؤسسةشائع

اختبر Discord باستخدام روبوتات ضمان الجودة المستأجرة عبر Convex: تحقّق من بيانات الاعتماد من دون Gateway، أو اختبر الرسائل التي تملكها، أو أثبت أن OpenClaw يرد ويرسل الملفات ويتعامل مع سلاسل المحادثات والتفاعلات والبث والكتابة. ميّز بين أدلة API و…

82.2K
391K
الملفات: 4
عرض
شعار openclaw

Openclaw Ghsa Maintainer

openclaw
مؤسسةشائع

افحص إرشادات أمان OpenClaw GHSA ومستودعات التفرّع الخاصة، وأجرِ عليها التعديلات اللازمة، وتحقّق منها، وانشرها أو أكّد حالتها.

82.2K
391K
التعليمات
عرض

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

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