The following versions of SahiDawa currently receive security updates:
| Version | Supported |
|---|---|
main (latest) |
✅ Active support |
| Older branches | ❌ No support |
SahiDawa is currently in active development (pre-release). We recommend always using the latest code from the
mainbranch.
We take security seriously — especially given that SahiDawa handles sensitive health and medicine data for millions of citizens.
Please do NOT report security vulnerabilities via public GitHub Issues.
- Preferred method: Use GitHub's Private Security Disclosure to submit a confidential report.
- Alternative: Email the maintainers directly at the contact listed in the repository profile or Discord.
Please provide as much of the following as possible to help us understand and reproduce the issue:
- A clear description of the vulnerability
- Steps to reproduce (proof of concept if available)
- The potential impact (data exposure, authentication bypass, etc.)
- Affected component (frontend, API, ML service, database, etc.)
- Any suggested mitigation or fix
| Stage | Timeline |
|---|---|
| Initial acknowledgement | Within 48–72 hours |
| Status update | Within 7 days |
| Patch / resolution | Depends on severity (critical: ASAP, others: within 30 days) |
We will keep you informed throughout the process and credit you in the release notes (unless you prefer to remain anonymous).
The following are in scope for security reports:
- Authentication or authorization flaws
- SQL injection, XSS, or other injection vulnerabilities
- Exposure of sensitive medicine or health data
- Insecure API endpoints (e.g., unauthenticated access to drug data)
- Dependency vulnerabilities with a direct exploit path
- Broken access control in Supabase RLS policies
The following are out of scope:
- Rate limiting on non-sensitive endpoints
- Issues on third-party services (Supabase, Vercel, Railway) that are not within our control
- Theoretical vulnerabilities with no practical exploit
- Issues in development/local-only environments
SahiDawa is built with the following security principles:
- No sensitive data sold or shared — SahiDawa is 100% ad-free and never monetizes user health data
- Supabase Row Level Security (RLS) — Database access is scoped per user/role
- Environment variables — All secrets (API keys, DB URLs) are stored in
.envand never committed (see.env.example) - Input validation — All user-submitted medicine scan data and symptom reports are validated server-side
- Minimal data collection — We collect only what is necessary to provide the service
- Open source transparency — All code is public and auditable by the community
We follow Coordinated Disclosure:
- Reporter submits the vulnerability privately
- We confirm, investigate, and develop a fix
- We release the fix and notify the reporter
- A public disclosure (GitHub Security Advisory) is published after the patch is live
We kindly ask reporters to allow us a reasonable time to patch before any public disclosure.
For non-urgent security questions, you can also reach us on the SahiDawa Discord in the #security channel.
Thank you for helping keep SahiDawa safe for 1.4 billion Indians. 🇮🇳