Skip to content

Security: AndreaBonn/LifeTrackByBonn

Security

SECURITY.md

Security Policy

Life Tracker by Bonn

Versione Italiana Β  README


πŸ”’ Security Overview

Life Tracker takes security and privacy seriously. This document outlines our security practices, how we protect your data, and how to report security vulnerabilities.


πŸ›‘οΈ Security Measures

Authentication

  • Firebase Authentication β€” Industry-standard authentication system
  • Email verification β€” Required for account activation
  • Secure password storage β€” Passwords are hashed and never stored in plain text
  • Session management β€” Automatic session expiration and secure token handling

Data Protection

  • Encryption in transit β€” All data is transmitted over HTTPS
  • Encryption at rest β€” Data stored in Firebase Firestore is encrypted
  • User isolation β€” Each user can only access their own data
  • Firestore Security Rules β€” Advanced rules prevent unauthorized access

Infrastructure

  • Firebase Hosting β€” Secure, scalable hosting with automatic SSL certificates
  • Cloud Functions β€” Backend logic runs in isolated, secure environments
  • European data centers β€” Data stored in Europe (region: europe-west1)
  • Regular updates β€” Dependencies and libraries are kept up to date

Application Security

  • Input validation β€” All user inputs are validated on both client and server
  • XSS prevention β€” HTML sanitization to prevent cross-site scripting attacks
  • CSRF protection β€” Firebase Authentication provides built-in CSRF protection
  • Rate limiting β€” Protection against brute-force attacks and abuse
  • Audit logging β€” Critical operations are logged for security monitoring

πŸ” Data Privacy

What data we collect

Life Tracker collects only the data you explicitly provide:

  • Account information: Email, name, profile details
  • Health data: Weight, sleep, calories, steps, vital parameters, meals, medications
  • Usage data: Timestamps, device information (for sync purposes)

What we DON'T collect

  • ❌ We do NOT track your browsing behavior
  • ❌ We do NOT sell your data to third parties
  • ❌ We do NOT use your data for advertising
  • ❌ We do NOT share your data without your consent

Data storage

  • All data is stored in Firebase Firestore (Google Cloud)
  • Data is stored in European data centers (region: europe-west1)
  • Data is encrypted at rest and in transit
  • You can export or delete your data at any time

Third-party integrations

Life Tracker integrates with:

  • Google Fit (optional) β€” Only if you explicitly authorize it
  • Telegram (optional) β€” Only if you provide your bot token and chat ID

These integrations are opt-in and can be disconnected at any time.


🚨 Reporting Security Vulnerabilities

If you discover a security vulnerability in Life Tracker, please report it responsibly.

How to report

  1. DO NOT open a public issue on GitHub
  2. Contact me directly via GitHub profile or email
  3. Provide details: Description, steps to reproduce, potential impact
  4. Wait for response: I will acknowledge your report within 48 hours

What to expect

  • Acknowledgment within 48 hours
  • Investigation and assessment of the vulnerability
  • Fix deployed as soon as possible (depending on severity)
  • Credit in the acknowledgments section (if you wish)

Responsible disclosure

Please allow reasonable time for the vulnerability to be fixed before public disclosure. I appreciate your cooperation in keeping Life Tracker secure for all users.


πŸ” Security Best Practices for Users

To keep your account secure:

  • βœ… Use a strong, unique password (at least 8 characters, mix of letters, numbers, symbols)
  • βœ… Verify your email after registration
  • βœ… Log out when using shared devices
  • βœ… Don't share your password with anyone
  • βœ… Enable two-factor authentication (if available in the future)
  • βœ… Keep your browser updated for the latest security patches

πŸ“‹ Security Checklist

Life Tracker implements the following security measures:

  • HTTPS encryption for all connections
  • Firebase Authentication with email verification
  • Firestore Security Rules for data isolation
  • Input validation and sanitization
  • XSS and CSRF protection
  • Rate limiting on sensitive operations
  • Audit logging for critical actions
  • Regular dependency updates
  • Secure password storage (hashed)
  • Session management and automatic expiration
  • European data centers (GDPR compliant)
  • Data export and deletion capabilities

πŸ”„ Security Updates

Security updates are deployed automatically:

  • Critical vulnerabilities: Fixed within 24-48 hours
  • High-priority issues: Fixed within 1 week
  • Medium-priority issues: Fixed within 2 weeks
  • Low-priority issues: Fixed in the next regular update

Users are automatically updated when they reload the application (PWA auto-update).


πŸ“œ Compliance

Life Tracker is designed with privacy and security in mind:

  • GDPR compliant β€” Data stored in European data centers
  • Data portability β€” Export your data in CSV format
  • Right to deletion β€” Delete your account and all data at any time
  • Transparency β€” Clear information about data collection and usage

πŸ“ž Contact

For security-related questions or concerns:

  • GitHub: @AndreaBonn
  • Security issues: Contact me directly via GitHub profile

For general support, see the README.


πŸ™ Acknowledgments

I would like to thank the security researchers and users who have helped improve Life Tracker's security.

If you have reported a vulnerability and would like to be acknowledged, please let me know.


Last updated: January 2025

Β© 2025 Andrea Bonacci β€” All Rights Reserved

Versione Italiana Β  README

There aren’t any published security advisories