Security & Data Protection Policy
Effective Date: November 18, 2026 • Technical Safeguards & Architecture
1. Authentication & Password Security
- Salting & Hashing: User passwords are never stored in plaintext. Passwords are hashed with bcrypt using high-entropy salt rounds before database storage.
- Password Policy: Strong password complexity rules are enforced upon registration (minimum 10 characters).
- Token Management: Secure JSON Web Tokens (JWT) with restricted lifetimes are utilized for API authentication. Refresh tokens are securely rotated upon usage.
2. Mobile Application Security
- Hardware-Backed Secure Storage: Mobile authentication tokens are stored exclusively in hardware-backed storage (iOS Keychain and Android Keystore) via Expo SecureStore. Sensitive tokens are never written to unencrypted AsyncStorage.
- Zero Sensitive Data in Debug Logs: Logging of passwords, authentication tokens, and user credentials in production releases is strictly suppressed.
- No Unnecessary Android Permissions: The application does not request high-risk permissions such as READ_SMS, ACCESS_FINE_LOCATION, or READ_CONTACTS.
3. API & Network Security
- Strict TLS/HTTPS: All traffic between the mobile application and cloud backend requires modern TLS 1.3 / 1.2 encryption. Plain HTTP requests are rejected.
- Rate Limiting & Brute-Force Mitigation: Sensitive endpoints (login, register, forgot-password) are shielded by strict IP-based rate limiting to prevent brute-force attacks and credential stuffing.
- HTTP Security Headers: The server implements defensive headers via Helmet, including X-Content-Type-Options, Strict-Transport-Security (HSTS), and X-Frame-Options.
- Input Validation & Sanitization: All incoming payloads are validated against strict Joi schemas to protect against injection and unexpected fields.
4. Database Security & Multi-Tenant Isolation
- Strict User Isolation: Every database query for transactions, accounts, budgets, goals, and bills is explicitly filtered and scoped by the authenticated user's ID (userId: req.user._id), preventing Insecure Direct Object Reference (IDOR) vulnerabilities.
- Least Privilege: Database servers are shielded in private subnets, inaccessible directly from the public internet.
5. Immediate Account Deletion
When an account is deleted by a user, 9Penny initiates an immediate hard-delete sequence across all database collections, purging user credentials, profiles, transactions, accounts, budgets, goals, and notification tokens.
6. Security Vulnerability Reporting
If you identify a security vulnerability or incident, please notify our security engineering team immediately at: support@scalelotcloudsolution.in with "SECURITY DISCLOSURE" in the subject line.