| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
Please do not report security vulnerabilities through public GitHub issues.
If you discover a security vulnerability in this project, please report it privately:
- Email: your.email@example.com (or use GitHub Security tab)
- Subject: "Security Vulnerability in Lost & Found App"
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- We will acknowledge your email within 48 hours
- We will provide a detailed response within 7 days
- We will work on a fix and release a patch
- You will be credited in the security advisory (if desired)
- Never commit API keys, passwords, or secrets
- Always use
.envfiles for sensitive data (not tracked in Git) - Use Firebase Security Rules to protect data
- Validate all user inputs
- Follow OWASP Mobile Security guidelines
- Keep Firebase API keys secure
- Enable Firebase App Check
- Use proper Firebase Security Rules (not test mode)
- Regularly update dependencies:
flutter pub upgrade - Enable 2FA on Firebase Console
- Review Cloud Functions for vulnerabilities
firebase_options.dartcontains Firebase config (not sensitive, but rate-limit APIs)- Use Firebase App Check to prevent API abuse
- Restrict API keys in Google Cloud Console
- Phone OTP uses Firebase Authentication
- Rate limiting implemented to prevent spam
- Consider adding reCAPTCHA for web
- User data encrypted in transit (HTTPS)
- Sensitive fields (NIC numbers) should be blurred in images
- Implement proper Firestore Security Rules:
// Example: Users can only read/write their own data match /users/{userId} { allow read, write: if request.auth.uid == userId; }
- Validate image size (max 5MB per image)
- Scan for malicious content
- Use Cloudinary moderation or Firebase Storage rules
We use:
flutter pub outdatedto check for updates- GitHub Dependabot for automated security updates
dart analyzefor code quality
This app integrates with:
- Firebase (Google) - Security
- Cloudinary (optional) - Security
- Google Maps API - Security Best Practices
- GDPR: User data deletion available
- Children's Privacy: Not designed for users under 13
- Sri Lanka PDPA: Personal data protection compliance
Security patches will be released as:
- Critical: Immediate patch (v1.0.1)
- High: Within 7 days
- Medium: Next minor release (v1.1.0)
- Low: Next major release (v2.0.0)
Contributors who responsibly disclose vulnerabilities:
- (Your name here!)
Thank you for helping keep Lost & Found App secure! 🔒