If you discover a security vulnerability, please email: security@smallbasket.app
DO NOT open a public issue.
✅ Authentication
- Firebase Auth with email verification
- JWT tokens with automatic refresh
- Session management
✅ Data Protection
- HTTPS for all communication
- Auth tokens never logged
- Sensitive data sanitized in logs
- ProGuard obfuscation in release builds
✅ Location Privacy
- Location only tracked when app is open
- Users can delete all data
- Device ID for counting only (not tracking)
- Clear privacy policy in-app
✅ Rate Limiting
- Server-side: 6 requests/minute per IP
- Client-side: 10-second cooldown
- Prevents abuse and DoS attacks
✅ Input Validation
- All API inputs validated server-side
- SQL injection prevention (using Firestore)
- XSS prevention
-
Never commit sensitive files:
google-services.jsonsecrets.properties- Keystores (
.jks,.keystore)
-
Always use:
- BuildConfig for API URLs
- ProGuard for release builds
- Proper logging (no sensitive data)
-
Before committing:
- Check for hardcoded credentials
- Verify
.gitignoreis working - Test with ProGuard enabled
Security updates released within 48 hours of discovery.
- 2026-02-25: Initial security audit and hardening
- Removed hardcoded API URLs
- Added ProGuard rules
- Secured logging configuration
- Added privacy policy