This project requires sensitive information like bot tokens and API keys. NEVER commit these to version control.
❌ NEVER commit these:
- Bot tokens (from @BotFather)
- API keys (VirusTotal, Gemini, etc.)
- Telegram user IDs
- Phone numbers
- Personal information
.envfiles with real credentials
✅ Safe to commit:
.env.example(template with placeholder values)- Code with placeholder values like
YOUR_BOT_TOKEN_HERE - Documentation
- Configuration templates
-
Use Environment Variables
# Copy the example file cp .env.example .env # Edit .env with your real values # This file is in .gitignore and won't be committed
-
Check Before Committing
# Always review changes before committing git diff # Make sure no sensitive data is included git status
-
Use .gitignore
- The
.gitignorefile already includes common sensitive files - Add any additional sensitive files you create
- The
-
Immediately revoke/regenerate:
- Bot token: Use @BotFather to revoke and get a new one
- API keys: Regenerate them in their respective services
-
Remove from Git history:
# This is complex - contact the developer for help # Or delete the repository and create a new one
-
Never reuse compromised credentials
If you find a security vulnerability:
- DO NOT open a public issue
- Contact the developer privately:
- Telegram: @P_X_24
- Provide details about the vulnerability
- Wait for a response before disclosing publicly
يتطلب هذا المشروع معلومات حساسة مثل توكنات البوت ومفاتيح API. لا ترفع أبداً هذه المعلومات على GitHub.
❌ لا ترفع أبداً:
- توكنات البوت (من @BotFather)
- مفاتيح API (VirusTotal، Gemini، إلخ)
- معرفات المستخدمين في تيليجرام
- أرقام الهواتف
- المعلومات الشخصية
- ملفات
.envالتي تحتوي على بيانات حقيقية
✅ آمن للرفع:
.env.example(قالب بقيم وهمية)- الكود مع قيم وهمية مثل
YOUR_BOT_TOKEN_HERE - التوثيق
- قوالب الإعدادات
-
استخدم متغيرات البيئة
# انسخ الملف النموذجي cp .env.example .env # عدل .env بقيمك الحقيقية # هذا الملف في .gitignore ولن يتم رفعه
-
تحقق قبل الرفع
# راجع التغييرات دائماً قبل الرفع git diff # تأكد من عدم وجود بيانات حساسة git status
-
استخدم .gitignore
- ملف
.gitignoreيتضمن بالفعل الملفات الحساسة الشائعة - أضف أي ملفات حساسة إضافية تنشئها
- ملف
-
ألغِ/أعد إنشاء فوراً:
- توكن البوت: استخدم @BotFather لإلغائه والحصول على واحد جديد
- مفاتيح API: أعد إنشاءها في خدماتها
-
احذف من سجل Git:
# هذا معقد - تواصل مع المطور للمساعدة # أو احذف المستودع وأنشئ واحداً جديداً
-
لا تعد استخدام البيانات المخترقة أبداً
إذا وجدت ثغرة أمنية:
- لا تفتح مشكلة عامة
- تواصل مع المطور بشكل خاص:
- تيليجرام: @P_X_24
- قدم تفاصيل عن الثغرة
- انتظر الرد قبل الإفصاح علناً
- Never hardcode credentials | لا تضع البيانات مباشرة في الكود
- Use environment variables | استخدم متغيرات البيئة
- Review commits before pushing | راجع التغييرات قبل الرفع
- Keep .gitignore updated | حدّث .gitignore باستمرار
- Rotate credentials regularly | غيّر البيانات بانتظام
- Use strong, unique passwords | استخدم كلمات مرور قوية وفريدة
- Enable 2FA on all accounts | فعّل المصادقة الثنائية
- Never share your bot token | لا تشارك توكن البوت
- Keep your admin ID private | احتفظ بمعرفك الإداري خاصاً
- Don't run untrusted code | لا تشغل كود غير موثوق
- Review uploaded scripts | راجع السكربتات المرفوعة
- Use the bot responsibly | استخدم البوت بمسؤولية
- Report suspicious activity | أبلغ عن أي نشاط مشبوه
For security concerns: للمخاوف الأمنية:
- Telegram: @P_X_24
- Channel: Raven_xx24