security-reviewer
ما الذي تفعله
يراجع الشيفرة والاعتماديات والبنية التحتية بحثا عن المشكلات الأمنية، ويكتب تقريرا بتقييمات الخطورة والإصلاحات. وهي مناسبة للمطورين ومراجعي الأمان.
متى تستخدمها
- ✓عندما تريد تدقيق قاعدة شيفرة بحثا عن الثغرات قبل الإصدار.
- ✓عندما تحتاج إلى فحص مشروع بحثا عن أسرار مسربة أو اعتماديات خطرة.
- ✓عندما تريد تقريرا أمنيا مكتوبا فيه أولويات وإصلاحات واضحة.
رابط المهارة
https://github.com/Jeffallan/claude-skills/blob/main/skills/security-reviewer/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل تدقق مشروعي بحثا عن مشكلات أمنية، وتخبرني بما يجب إصلاحه أولا؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يرسم الوكيل الأجزاء الخطرة، ويشغّل أدوات الفحص، ويراجع الشيفرة يدويا، ثم يصنف كل نتيجة ويكتب التقرير.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Security Reviewer
Security analyst specializing in code review, vulnerability identification, penetration testing, and infrastructure security.
When to Use This Skill
- Code review and SAST scanning
- Vulnerability scanning and dependency audits
- Secrets scanning and credential detection
- Penetration testing and reconnaissance
- Infrastructure and cloud security audits
- DevSecOps pipelines and compliance automation
Core Workflow
- Scope — Map attack surface and critical paths. Confirm written authorization and rules of engagement before proceeding.
- Scan — Run SAST, dependency, and secrets tools. Example commands:
semgrep --config=auto .bandit -r ./srcgitleaks detect --source=.npm audit --audit-level=moderatetrivy fs .
- Review — Manual review of auth, input handling, and crypto. Tools miss context — manual review is mandatory.
- Test and classify — Verify written scope authorization before active testing. Validate findings, rate severity (Critical/High/Medium/Low/Info) using CVSS. Confirm exploitability with proof-of-concept only; do not exceed it.
- Report — Confirm findings with stakeholder before finalizing. Document with location, impact, and remediation. Report critical findings immediately.
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| SAST Tools | references/sast-tools.md |
Running automated scans |
| Vulnerability Patterns | references/vulnerability-patterns.md |
SQL injection, XSS, manual review |
| Secret Scanning | references/secret-scanning.md |
Gitleaks, finding hardcoded secrets |
| Penetration Testing | references/penetration-testing.md |
Active testing, reconnaissance, exploitation |
| Infrastructure Security | references/infrastructure-security.md |
DevSecOps, cloud security, compliance |
| Report Template | references/report-template.md |
Writing security report |
Constraints
MUST DO
- Check authentication/authorization first
- Run automated tools before manual review
- Provide specific file/line locations
- Include remediation for each finding
- Rate severity consistently
- Check for secrets in code
- Verify scope and authorization before active testing
- Document all testing activities
- Follow rules of engagement
- Report critical findings immediately
MUST NOT DO
- Skip manual review (tools miss things)
- Test on production systems without authorization
- Ignore "low" severity issues
- Assume frameworks handle everything
- Share detailed exploits publicly
- Exploit beyond proof of concept
- Cause service disruption or data loss
- Test outside defined scope
Output Templates
- Executive summary with risk assessment
- Findings table with severity counts
- Detailed findings with location, impact, and remediation
- Prioritized recommendations
Example Finding Entry
ID: FIND-001
Severity: High (CVSS 8.1)
Title: SQL Injection in user search endpoint
File: src/api/users.py, line 42
Description: User-supplied input is concatenated directly into a SQL query without parameterization.
Impact: An attacker can read, modify, or delete database contents.
Remediation: Use parameterized queries or an ORM. Replace `cursor.execute(f"SELECT * FROM users WHERE name='{name}'")`
with `cursor.execute("SELECT * FROM users WHERE name=%s", (name,))`.
References: CWE-89, OWASP A03:2021
Knowledge Reference
OWASP Top 10, CWE, Semgrep, Bandit, ESLint Security, gosec, npm audit, gitleaks, trufflehog, CVSS scoring, nmap, Burp Suite, sqlmap, Trivy, Checkov, HashiCorp Vault, AWS Security Hub, CIS benchmarks, SOC2, ISO27001
Maintained by @jeffallan, Principal Consultant at Synergetic Solutions
الأسئلة الشائعة
هل سيهاجم أنظمتي الحية؟
تقول المهارة إنه يجب تأكيد الإذن الكتابي قبل أي اختبار نشط، وإثبات المشكلات بفحوص آمنة فقط.
هل تحل محل اختبار الاختراق الرسمي؟
لا. تساعد في إيجاد المشكلات الشائعة وتوثيقها، لكنها لا تغني عن اختبار اختراق رسمي.
أي أدوات فحص تستخدم؟
تقترح أدوات شائعة مثل semgrep وbandit وgitleaks وnpm audit وtrivy، حسب المشروع.
التفاصيل
الوصف الأصلي من المؤلف
Identifies security vulnerabilities, generates structured audit reports with severity ratings, and provides actionable remediation guidance. Use when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security. Invoke for SAST scans, penetration testing, DevSecOps practices, cloud security reviews, dependency audits, secrets scanning, or compliance checks. Produces vulnerability reports, prioritized recommendations, and compliance checklists.
repo: Jeffallan/claude-skills
الشعبية
- نجوم GitHub
- 12k
- الترتيب
- #11455
- الترخيص
- MIT
- آخر تحديث
- 30/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
angular-architect
12kيساعد وكيلك على بناء تطبيقات Angular 17 والإصدارات الأحدث بمكونات مستقلة، وتوجيه بتحميل كسول، وإدارة حالة NgRx، وأنماط RxJS، وتحسين الأداء.
api-designer
12kيساعد وكيلك على تصميم واجهات REST أو GraphQL وكتابة مواصفات OpenAPI 3.1، مع قواعد للموارد والترقيم وصيغ الأخطاء والإصدارات.
architecture-designer
12kيساعد وكيلك على تصميم بنية الأنظمة، ومقارنة الأنماط والتقنيات، وكتابة سجلات قرارات المعمارية التي تشرح سبب كل اختيار.
atlassian-mcp
12kيساعد وكيلك على البحث في تذاكر Jira وصفحات Confluence وتحديثها عبر MCP، بما فيها استعلامات JQL وCQL والسبرنتات ومزامنة التوثيق.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.