If you discover a security vulnerability in Masaar CRM, please report it responsibly.
Do NOT open a public GitHub issue for security vulnerabilities.
- Email: security@dynamicweblab.com
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgment within 48 hours
- Assessment within 1 week
- Fix timeline communicated upon confirmation
- Credit in release notes (unless you prefer anonymity)
- Never use default values for
JWT_SECRET,DB_PASSWORD, orREDIS_PASSWORDin production. - Generate strong secrets:
openssl rand -hex 32
- Restrict database and Redis ports to localhost only.
- Use HTTPS in production (reverse proxy with Let's Encrypt recommended).
- Set
ALLOWED_ORIGINSto your actual frontend domain.
- Always configure
WA_APP_SECRETto validate inbound webhook signatures. - Never expose WhatsApp credentials in client-side code.
- API keys are stored as SHA-256 hashes in the database.
- Only the first 8 characters are stored in plaintext for identification.
- Rotate keys regularly.
- Keep dependencies updated (
go mod tidy,npm audit fix). - Monitor GitHub Security Advisories for updates.
Masaar CRM is designed to comply with UAE Personal Data Protection Law (PDPL):
- All customer data stays on your self-hosted infrastructure.
- AI processing (Ollama) runs locally - no PII sent to external services.
- Audit logs track all data access and modifications.
- Role-based access control enforces least-privilege principle.
| Version | Supported |
|---|---|
| Latest | Yes |
| < Latest | No |
Always run the latest version for security patches.