performing-cryptographic-audit-of-application
ما الذي تفعله
تفحص هذه المهارة الكود وملفات الإعدادات بحثًا عن مشكلات أمنية تتعلق بالتشفير. تبحث عن كلمات مرور مكشوفة، وخوارزميات تشفير ضعيفة أو قديمة، وعيوب أخرى قد تترك بياناتك عرضة للخطر.
متى تستخدمها
- ✓عندما تفحص أمان تطبيق جديد.
- ✓عندما يكون قد جرى تحديث كبير للكود.
- ✓عندما تريد فحصًا دوريًا للتأكد من أن كل شيء آمن.
رابط المهارة
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-cryptographic-audit-of-application/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افحص كود Python الخاص بي بحثًا عن كلمات مرور غير آمنة أو طرق تشفير ضعيفة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تحلل المهارة الكود وملفات الإعدادات، وتبحث عن أنماط معروفة لنقاط الضعف في التشفير، مثل كلمات المرور المكتوبة مباشرة في الكود، أو استخدام خوارزميات تشفير لم تعد تُعتبر آمنة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Performing Cryptographic Audit of Application
Overview
A cryptographic audit systematically reviews an application's use of cryptographic primitives, protocols, and key management to identify vulnerabilities such as weak algorithms, insecure modes, hardcoded keys, insufficient entropy, and protocol misconfigurations. This skill covers building an automated crypto audit tool that scans Python and configuration files for common cryptographic weaknesses.
When to Use
- When conducting security assessments that involve performing cryptographic audit of application
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- Familiarity with cryptography concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Detect usage of deprecated algorithms (MD5, SHA-1, DES, RC4)
- Identify insecure cipher modes (ECB) and padding schemes
- Find hardcoded keys, passwords, and secrets in source code
- Verify TLS/SSL configuration strength
- Check key derivation function parameters
- Validate random number generator usage
- Produce a structured audit report with findings and remediation
Key Concepts
Cryptographic Weakness Categories
| Category | Examples | Risk Level |
|---|---|---|
| Weak Hashing | MD5, SHA-1 for integrity/signatures | High |
| Insecure Encryption | DES, 3DES, RC4, Blowfish | High |
| Bad Cipher Mode | ECB mode for any block cipher | High |
| Insufficient Key Size | RSA < 2048, AES-128 for long-term | Medium |
| Hardcoded Secrets | Keys/passwords in source code | Critical |
| Weak KDF | Low iteration PBKDF2, plain MD5 | High |
| Poor Entropy | time-based seeds, predictable IVs | High |
| Deprecated Protocols | SSLv3, TLS 1.0, TLS 1.1 | High |
Security Considerations
- Review both application code and configuration files
- Check third-party dependencies for known crypto vulnerabilities
- Verify certificates and TLS configurations on deployed servers
- Ensure secrets are loaded from environment variables or vaults
- Review key storage and rotation practices
Validation Criteria
- Scanner detects all injected test weaknesses
- MD5/SHA-1 usage for security purposes is flagged
- ECB mode usage is flagged
- Hardcoded keys/passwords are detected
- Weak KDF parameters are identified
- Report includes severity, location, and remediation
- False positive rate is below 10%
الأسئلة الشائعة
ما هي «الأدوات التشفيرية الأساسية» (cryptographic primitives)؟
هي اللبنات الأساسية للتشفير، مثل خوارزميات التجزئة (للتحقق من السلامة) وخوارزميات التشفير (لتشويش البيانات).
ماذا تعني «إدارة المفاتيح»؟
تعني الطريقة التي تُنشأ بها مفاتيح التشفير السرية وتُخزَّن وتُستخدم وتُتلف بشكل آمن.
ما هي «الخوارزمية الضعيفة»؟
هي طريقة تشفير أصبحت قديمة، ويستطيع المتسللون كسرها بسهولة نسبية، فتتعرض بيانات الأمان للخطر.
التفاصيل
الوصف الأصلي من المؤلف
A cryptographic audit systematically reviews an application's use of cryptographic primitives, protocols, and key management to identify vulnerabilities such as weak algorithms, insecure modes, hardco
الشعبية
- نجوم GitHub
- 35k
- الترتيب
- #8212
- الترخيص
- Apache-2.0
- آخر تحديث
- 31/8/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
abusing-dpapi-for-credential-access
35kيمنح وكيل الذكاء الاصطناعي تعليمات جاهزة لمهمة محددة، ليؤديها بشكل أفضل وأسرع.
abusing-shadow-credentials-for-privesc
35kيعلّم وكيل الذكاء الاصطناعي لديك كتابة نص واضح ومنظم جيدًا.
achieving-cmmc-level-2-compliance
35kيساعد وكيلك على تجهيز بيئة للامتثال لمستوى CMMC 2. يطبق متطلبات الأمان ويدير الوثائق اللازمة.
acquiring-disk-image-with-dd-and-dcfldd
35kيساعد وكيلك على إنشاء نسخ مطابقة تمامًا لأقراص التخزين. هذا مفيد لضمان عدم فقدان أي معلومات أو تغييرها أثناء التحقيقات.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.