mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 23:39:34 +00:00
2.4 KiB
2.4 KiB
Security Policy | سياسة الأمن
🛡️ Supported versions
| Version | Supported |
|---|---|
| 2.x | ✅ |
| 1.x | ❌ (EOL) |
🐛 Reporting a vulnerability
Please do NOT open a public issue for security vulnerabilities.
Instead, report them privately via:
- Email: security@ai-company.sa
- GitHub Security Advisories: Open a private advisory
Include:
- A description of the vulnerability.
- Steps to reproduce.
- Potential impact.
- Any suggested fixes.
We aim to acknowledge within 48 hours and provide a resolution timeline within 7 days.
🔒 Security features in this project
- Config: all secrets loaded from
.envviapydantic-settingswithSecretStr. - Secret scanning:
gitleaks+detect-secrets+trufflehogin pre-commit AND CI. - Dependency scanning: Dependabot weekly +
banditPython security linter. - Docker: non-root user, multi-stage build, minimal base image.
- Webhooks: HMAC-SHA256 signature verification (WhatsApp).
- LinkedIn integration: disabled by default (ToS compliance).
🔑 Key rotation guidance
If you believe a key has been exposed:
- Immediately rotate the key in the provider's dashboard:
- Anthropic Console → API Keys → regenerate
- DeepSeek, Groq, GLM, Google, OpenAI: regenerate in respective consoles
- HubSpot, Resend, SendGrid: regenerate
- WhatsApp Business: regenerate access token
- Update
.envwith the new key. - Redeploy.
- Check GitHub → Settings → Secret scanning alerts.
- Run
gitleaks detect --source . --report-format jsonto scan history.
✅ Pre-commit checklist for maintainers
Before merging any PR:
gitleakspre-commit hook passed- No new files in
.env*except.env.example - No new domain-specific secrets in
core/orintegrations/ - All new integrations use
settings.*_api_key.get_secret_value()pattern
🇸🇦 بالعربية
الإبلاغ عن ثغرات
لا تفتح issue عام للثغرات الأمنية. أرسل إلى: security@ai-company.sa
نهدف للرد خلال ٤٨ ساعة وتقديم جدول زمني للحل خلال ٧ أيام.
تدوير المفاتيح
إذا تسرّب مفتاح:
- فوراً دوّر المفتاح من لوحة المزود.
- حدّث
.env. - أعد النشر.
- افحص تنبيهات GitHub secret scanning.