BashWeatherBashWeather
← App
Security الأمان

Security Policy

سياسة الأمان

Last updated: March 31, 2026 · Effective: March 31, 2026

آخر تحديث: ٣١ مارس ٢٠٢٦ · تاريخ النفاذ: ٣١ مارس ٢٠٢٦

1. Our Security Practices

BashWeather is built on a security-first architecture. We apply industry-standard and best-practice controls at every layer of the application to protect your data and our infrastructure.

  • HTTPS Everywhere: All communication between your browser and BashWeather servers is encrypted using HTTPS. We enforce HTTP Strict Transport Security (HSTS) to prevent protocol downgrade attacks.
  • Encrypted Storage: User preferences, saved locations, and account metadata are stored in Cloudflare KV with encryption at rest. No sensitive data is stored in plaintext.
  • Cloudflare Web Application Firewall (WAF): All traffic passes through Cloudflare's WAF, which filters known attack patterns including SQL injection, cross-site scripting (XSS), and credential stuffing attempts.
  • No Plaintext Passwords: BashWeather uses Google OAuth 2.0 exclusively for authentication. We never create, store, or transmit user passwords in any form.
  • Content Security Policy (CSP): We enforce a strict CSP to prevent injection attacks and unauthorized script execution.
  • Rate Limiting: API endpoints and authentication flows are rate-limited to mitigate brute-force and denial-of-service attacks.

١. ممارساتنا الأمنية

تم بناء BashWeather على بنية تعطي الأولوية للأمان. نطبّق ضوابط وفق معايير الصناعة وأفضل الممارسات على كل طبقة من طبقات التطبيق لحماية بياناتك وبنيتنا التحتية.

  • HTTPS في كل مكان: جميع الاتصالات بين متصفحك وخوادم BashWeather مشفَّرة باستخدام HTTPS. نفرض بروتوكول HTTP Strict Transport Security (HSTS) لمنع هجمات تخفيض البروتوكول.
  • التخزين المشفَّر: تُخزَّن تفضيلات المستخدم والمواقع المحفوظة وبيانات تعريف الحساب في Cloudflare KV مع تشفير في حالة السكون. لا تُخزَّن أي بيانات حساسة بنص واضح.
  • جدار حماية تطبيقات الويب (WAF) من Cloudflare: يمر جميع حركة المرور عبر WAF الخاص بـ Cloudflare، الذي يصفّي أنماط الهجوم المعروفة بما فيها حقن SQL والبرمجة النصية عبر المواقع (XSS) ومحاولات حشو بيانات الاعتماد.
  • لا كلمات مرور بنص واضح: تستخدم BashWeather Google OAuth 2.0 حصرًا للمصادقة. لا نقوم أبدًا بإنشاء أو تخزين أو نقل كلمات مرور المستخدمين بأي شكل من الأشكال.
  • سياسة أمان المحتوى (CSP): نفرض سياسة CSP صارمة لمنع هجمات الحقن وتنفيذ النصوص البرمجية غير المصرح به.
  • تحديد معدل الطلبات: تخضع نقاط نهاية API وتدفقات المصادقة لتحديد المعدل للتخفيف من هجمات القوة الغاشمة وهجمات رفض الخدمة.

2. Data Encryption

BashWeather encrypts data both in transit and at rest:

Data State Encryption Method Details
In Transit TLS 1.2 and TLS 1.3 All HTTP traffic is encrypted. TLS 1.0 and 1.1 are disabled. Cipher suites follow Cloudflare's recommended security profile.
At Rest Cloudflare KV Encryption All persistent user data stored in Cloudflare Workers KV is encrypted at rest by Cloudflare's infrastructure using AES-256.
Push Subscription Data Web Push Protocol Encryption Push notification payloads are encrypted end-to-end using the Web Push Protocol (RFC 8291), which uses ECDH key agreement and AES-128-GCM encryption.

٢. تشفير البيانات

تشفِّر BashWeather البيانات أثناء النقل وفي حالة السكون:

حالة البيانات طريقة التشفير التفاصيل
أثناء النقل TLS 1.2 و TLS 1.3 جميع حركة مرور HTTP مشفَّرة. تم تعطيل TLS 1.0 و1.1. تتبع مجموعات التشفير ملف تعريف الأمان الموصى به من Cloudflare.
في حالة السكون تشفير Cloudflare KV جميع بيانات المستخدم الدائمة المخزَّنة في Cloudflare Workers KV مشفَّرة في حالة السكون بواسطة بنية Cloudflare التحتية باستخدام AES-256.
بيانات اشتراك الدفع تشفير بروتوكول Web Push تُشفَّر حمولات إشعارات الدفع من طرف إلى طرف باستخدام بروتوكول Web Push (RFC 8291)، الذي يستخدم اتفاقية مفاتيح ECDH وتشفير AES-128-GCM.

3. Authentication

BashWeather uses Google OAuth 2.0 as its sole authentication mechanism. This means:

  • We never create, store, or manage passwords on our servers.
  • Your identity is verified entirely by Google's authentication infrastructure.
  • We receive only the information you authorize via Google's consent screen: your name, email address, and profile picture.
  • OAuth tokens issued by Google are short-lived and are refreshed securely on each session.
  • Session cookies are HttpOnly, Secure, and SameSite=Strict to prevent cross-site request forgery and session hijacking.
If you suspect your Google account has been compromised, visit myaccount.google.com/security to secure it. You can also revoke BashWeather's access from Google's connected apps page at any time.

٣. المصادقة

تستخدم BashWeather Google OAuth 2.0 كآلية مصادقة وحيدة. هذا يعني:

  • لا نقوم أبدًا بإنشاء أو تخزين أو إدارة كلمات المرور على خوادمنا.
  • تُتحقَّق هويتك بالكامل من خلال بنية مصادقة Google التحتية.
  • نتلقى فقط المعلومات التي تصرح بها عبر شاشة موافقة Google: اسمك وعنوان بريدك الإلكتروني وصورة ملفك الشخصي.
  • رموز OAuth الصادرة عن Google قصيرة الأجل ويتم تجديدها بأمان في كل جلسة.
  • ملفات تعريف ارتباط الجلسة هي HttpOnly وSecure وSameSite=Strict لمنع تزوير الطلبات عبر المواقع واختطاف الجلسات.
إذا كنت تشك في اختراق حساب Google الخاص بك، تفضل بزيارة myaccount.google.com/security لتأمينه. يمكنك أيضًا إلغاء وصول BashWeather من صفحة التطبيقات المتصلة بـ Google في أي وقت.

4. Responsible Disclosure

We take all security vulnerability reports seriously. If you have discovered a potential security issue affecting BashWeather, we encourage you to report it to us responsibly before disclosing it publicly.

How to Report

  • Email us at security@bashweather.app with a clear description of the vulnerability.
  • Include: steps to reproduce, the potential impact, and any supporting evidence (screenshots, proof-of-concept code).
  • Please encrypt sensitive reports using our PGP key if available, or clearly label the email subject as "Security Vulnerability Report."

Our Commitment

  • Acknowledgement: We will acknowledge receipt of your report within 72 hours.
  • Assessment: We will assess the issue and provide a status update within 7 business days.
  • Resolution: We aim to resolve confirmed vulnerabilities within 30 days, depending on severity and complexity.
  • Coordination: We will coordinate with you before any public disclosure.

We ask that you do not exploit the vulnerability beyond what is necessary to confirm its existence, do not access or modify data belonging to other users, and do not perform denial-of-service attacks or disrupt production services.

٤. الإفصاح المسؤول

نأخذ جميع تقارير الثغرات الأمنية بجدية تامة. إذا اكتشفت مشكلة أمنية محتملة تؤثر على BashWeather، نشجعك على الإبلاغ عنها لنا بشكل مسؤول قبل الإفصاح عنها علنًا.

كيفية الإبلاغ

  • راسلنا على security@bashweather.app مع وصف واضح للثغرة الأمنية.
  • أدرج: خطوات إعادة الإنتاج، والتأثير المحتمل، وأي أدلة داعمة (لقطات شاشة، كود إثبات المفهوم).
  • يرجى تشفير التقارير الحساسة باستخدام مفتاح PGP الخاص بنا إن توفر، أو وضع علامة واضحة على موضوع البريد الإلكتروني بـ"تقرير ثغرة أمنية".

التزاماتنا

  • الإقرار: سنؤكد استلام تقريرك خلال ٧٢ ساعة.
  • التقييم: سنقيّم المشكلة ونقدم تحديثًا للحالة خلال ٧ أيام عمل.
  • الحل: نهدف إلى حل الثغرات المؤكدة خلال ٣٠ يومًا، اعتمادًا على الخطورة والتعقيد.
  • التنسيق: سننسق معك قبل أي إفصاح عام.

نطلب منك عدم استغلال الثغرة الأمنية أكثر مما هو ضروري لتأكيد وجودها، وعدم الوصول إلى بيانات المستخدمين الآخرين أو تعديلها، وعدم تنفيذ هجمات رفض الخدمة أو تعطيل خدمات الإنتاج.

5. Bug Bounty Program

BashWeather does not currently operate a formal paid bug bounty program. However, we deeply value the work of security researchers and will:

  • Publicly acknowledge researchers (with their permission) who report valid, significant vulnerabilities.
  • Provide a written letter of appreciation for qualifying disclosures.
  • Consider remedial cooperation on a case-by-case basis for researchers acting in good faith.

We reserve the right to establish a formal bug bounty program in the future. Researchers who have already reported vulnerabilities in good faith will be considered for retroactive recognition if such a program is launched.

٥. برنامج مكافآت الأخطاء

لا تدير BashWeather حاليًا برنامج مكافآت أخطاء رسميًا مدفوعًا. ومع ذلك، نقدّر عمل باحثي الأمن تقديرًا عاليًا وسنقوم بما يلي:

  • الاعتراف العلني بالباحثين (بإذنهم) الذين يبلّغون عن ثغرات صحيحة وهامة.
  • تقديم رسالة شكر مكتوبة للإفصاحات المؤهَّلة.
  • النظر في التعاون التعويضي على أساس كل حالة على حدة للباحثين الذين يتصرفون بحسن نية.

نحتفظ بالحق في إنشاء برنامج مكافآت أخطاء رسمي في المستقبل. سيُنظَر في الاعتراف بأثر رجعي بالباحثين الذين أبلغوا بالفعل عن ثغرات بحسن نية إذا تم إطلاق مثل هذا البرنامج.

6. Third-Party Security

BashWeather relies on the following trusted third-party infrastructure providers, each of which maintains their own rigorous security programs:

  • Google (Authentication & APIs): Google's security infrastructure for OAuth 2.0 authentication is governed by Google's own security policies, ISO 27001 certification, and SOC 2 compliance. We have no control over Google's internal security practices.
  • Cloudflare (Hosting, CDN, WAF, KV Storage): Cloudflare is a publicly traded security company with extensive certifications (ISO 27001, SOC 2 Type II, PCI DSS). Cloudflare Workers and KV Storage form the backbone of our backend infrastructure.
  • Weather Data Providers: We use reputable weather API providers. Data obtained from these providers is weather information only and does not include personal user data.

We perform due diligence when selecting third-party providers and include data processing terms in our agreements where personal data is involved. See our Data Processing Agreement for details.

٦. أمان الأطراف الثالثة

تعتمد BashWeather على مزودي البنية التحتية الموثوقين من الأطراف الثالثة التاليين، وكل منهم يحتفظ ببرامج أمنية صارمة خاصة به:

  • Google (المصادقة وواجهات برمجة التطبيقات): تخضع بنية Google الأمنية التحتية لمصادقة OAuth 2.0 لسياسات الأمان الخاصة بـ Google وشهادة ISO 27001 وامتثال SOC 2. ليس لدينا أي سيطرة على الممارسات الأمنية الداخلية لـ Google.
  • Cloudflare (الاستضافة، شبكة CDN، WAF، تخزين KV): Cloudflare شركة أمان مدرجة في البورصة مع شهادات موسعة (ISO 27001، SOC 2 Type II، PCI DSS). تشكل Cloudflare Workers وKV Storage العمود الفقري لبنيتنا التحتية الخلفية.
  • موفرو بيانات الطقس: نستخدم موفري واجهة برمجة تطبيقات الطقس ذوي السمعة الجيدة. البيانات المستقاة من هؤلاء الموفرين هي معلومات طقس فحسب ولا تتضمن بيانات المستخدم الشخصية.

نقوم بالعناية الواجبة عند اختيار مزودي الأطراف الثالثة وندرج شروط معالجة البيانات في اتفاقياتنا حيثما تكون البيانات الشخصية متضمَّنة. راجع اتفاقية معالجة البيانات للتفاصيل.

7. Data Breach Response

In the event of a confirmed personal data breach, BashWeather will follow these response procedures:

  1. Containment: Immediately isolate and contain the breach to prevent further unauthorized access.
  2. Assessment: Determine the scope, nature, and likely impact of the breach, including which categories of data and how many individuals are affected.
  3. Notification to Supervisory Authority: Where the breach is likely to result in a risk to individuals' rights and freedoms, we will notify the relevant supervisory data protection authority within 72 hours of becoming aware of the breach, in accordance with GDPR Article 33.
  4. Notification to Affected Users: Where the breach is likely to result in a high risk to individuals, we will notify affected users directly without undue delay, in accordance with GDPR Article 34, via email to their registered address.
  5. Remediation: Take steps to address the vulnerabilities that led to the breach and prevent recurrence.
  6. Documentation: Maintain a record of all breaches, their effects, and the remedial action taken, regardless of whether notification was required.
If you believe your BashWeather account has been compromised, please contact us immediately at security@bashweather.app.

٧. الاستجابة لاختراق البيانات

في حالة حدوث اختراق مؤكد للبيانات الشخصية، ستتبع BashWeather إجراءات الاستجابة التالية:

  1. الاحتواء: العزل الفوري للاختراق واحتوائه لمنع المزيد من الوصول غير المصرح به.
  2. التقييم: تحديد نطاق الاختراق وطبيعته وتأثيره المحتمل، بما في ذلك فئات البيانات وعدد الأفراد المتأثرين.
  3. الإخطار للجهة الإشرافية: عندما يُرجَّح أن يتسبب الاختراق في خطر على حقوق الأفراد وحرياتهم، سنخطر سلطة حماية البيانات الإشرافية ذات الصلة خلال ٧٢ ساعة من علمنا بالاختراق، وفقًا للمادة ٣٣ من اللائحة GDPR.
  4. إخطار المستخدمين المتأثرين: عندما يُرجَّح أن يتسبب الاختراق في خطر عالٍ على الأفراد، سنخطر المستخدمين المتأثرين مباشرةً دون تأخير لا مبرر له، وفقًا للمادة ٣٤ من اللائحة GDPR، عبر البريد الإلكتروني لعنوانهم المسجل.
  5. الإصلاح: اتخاذ خطوات لمعالجة الثغرات التي أدت إلى الاختراق ومنع تكراره.
  6. التوثيق: الاحتفاظ بسجل لجميع الاختراقات وتأثيراتها والإجراءات التصحيحية المتخذة، بصرف النظر عما إذا كان الإخطار مطلوبًا.
إذا كنت تعتقد أن حسابك في BashWeather قد تعرَّض للاختراق، يرجى التواصل معنا فورًا على security@bashweather.app.

8. Security Limitations

Important: No system connected to the internet can be guaranteed to be completely secure. While we implement substantial security measures, we cannot guarantee absolute security of your data against all possible threats. Factors outside our control — including vulnerabilities in third-party software, browser security flaws, or attacks on internet infrastructure — may affect the security of your information.

By using BashWeather, you acknowledge and accept that:

  • No data transmission over the internet is guaranteed to be 100% secure.
  • You are responsible for maintaining the security of your Google account credentials.
  • You should use a strong, unique password for your Google account and enable two-factor authentication.
  • You should log out of BashWeather on shared or public devices.
  • BashWeather is not responsible for security incidents resulting from your failure to protect your own account credentials.

٨. القيود الأمنية

هام: لا يمكن ضمان أمان أي نظام متصل بالإنترنت بشكل كامل. على الرغم من تطبيقنا لتدابير أمنية جوهرية، لا يمكننا ضمان الأمان المطلق لبياناتك في مواجهة جميع التهديدات المحتملة. العوامل الخارجة عن سيطرتنا — بما فيها الثغرات في برامج الأطراف الثالثة، أو عيوب أمان المتصفح، أو الهجمات على بنية الإنترنت التحتية — قد تؤثر على أمان معلوماتك.

باستخدامك لـ BashWeather، تُقرّ وتقبل ما يلي:

  • لا يمكن ضمان أمان أي نقل بيانات عبر الإنترنت بنسبة ١٠٠٪.
  • أنت مسؤول عن الحفاظ على أمان بيانات اعتماد حساب Google الخاص بك.
  • يجب عليك استخدام كلمة مرور قوية وفريدة لحساب Google الخاص بك وتمكين المصادقة الثنائية.
  • يجب عليك تسجيل الخروج من BashWeather على الأجهزة المشتركة أو العامة.
  • BashWeather غير مسؤولة عن الحوادث الأمنية الناتجة عن إخفاقك في حماية بيانات اعتماد حسابك الخاصة.

9. Contact Our Security Team

For all security-related inquiries, vulnerability reports, and incident notifications, please contact:

Security Team
BashWeather
security@bashweather.app
Response within 72 hours for vulnerability reports.

For general privacy questions, contact privacy@bashweather.app.

٩. تواصل مع فريق الأمان لدينا

لجميع الاستفسارات المتعلقة بالأمان وتقارير الثغرات وإشعارات الحوادث، يرجى التواصل:

فريق الأمان
BashWeather
security@bashweather.app
الرد خلال ٧٢ ساعة لتقارير الثغرات.

لأسئلة الخصوصية العامة، تواصل مع privacy@bashweather.app.

Privacy Policy Terms of Service Cookie Policy Disclaimer Advertising Copyright API Terms DPA Data Request Opt-Out Security Children Notifications Acceptable Use

© 2026 BashWeather. All rights reserved.