Security & Vulnerability Disclosure
How dymenu protects restaurant workspaces, diner sessions and payment webhooks — and how security researchers can safely report vulnerabilities.
Last updated: 14 November 2026 · Version 2026.11 · Diemen, Gaya, Bihar, India · Jurisdiction: Patna, Bihar, India
Security by Default. Every restaurant workspace on dymenu is tenant-isolated in application logic and backed by PostgreSQL Row-Level Security (RLS). Passwords are bcrypt-hashed, license keys and IP addresses are SHA-256-hashed, session cookies are HttpOnly, and production refuses to boot authentication without a configured secret.
1. Platform Security Controls
- Encryption in Transit & at Rest: All traffic across dymenu is served exclusively over HTTPS/TLS 1.2+. Persistent database volumes and object storage on Supabase and edge infrastructure on Vercel encrypt stored data at rest.
- Credential & Key Hashing: Owner, staff and restaurant-customer passwords are hashed with bcrypt. Offline license keys are stored exclusively as SHA-256 digests (raw keys are shown once at issuance and never persisted). Client IP addresses used for order/vote anti-abuse are irreversibly hashed with a server-side salt (
SHA-256truncated digest). - Tenant Isolation & Database Lockdown: Every multi-tenant table carries a mandatory
tenant_idenforced in server-side queries, reinforced by PostgreSQL Row-Level Security (RLS) policies and revokedanon/publicprivileges on sensitive customer, order and push-subscription tables. The Supabase service-role key is strictly server-only and never shipped to browsers. - Session & Guest Capability Cookies: Sessions use short-lived, domain-separated HMAC-SHA256 JWTs stored in
HttpOnly,SameSite=Lax,Secure(production) cookies with distinct signing keys/issuers so a guest order or restaurant-customer cookie can never impersonate an owner dashboard token. - Payment & Cron Authentication: Card numbers and UPI PINs never touch Diemen servers. Stripe and Razorpay webhooks are verified using constant-time
crypto.timingSafeEqualHMAC-SHA256 checks (with 5-minute replay rejection on Stripe timestamps). Scheduled availability sweeps (/api/cron/availability-reset) fail closed (HTTP 503) unless authenticated withCRON_SECRET. - AI Agent Guardrails: Marcus copilot tools are strictly read-only, server-injected with the caller’s
tenantId, prompt-sanitised against guest-comment injection, and require explicit human confirmation in/api/marcus/act(which re-verifies role permissions, subscription status and tenant ownership) before any write occurs. - Clickjacking, Crawl & Rate-Limit Protections: Responses emit
X-Frame-Options: SAMEORIGIN; private routes (/dashboard,/admin,/m/[token],/api) carryX-Robots-Tag: noindex, nofollow; and authentication, signup, customer login and order endpoints enforce strict rate-limiting and transactional idempotency. - Immutable Audit Logging: Privileged actions (license issuance/revocation, tenant suspension, order/availability undo operations, Marcus confirmed actions and admin bootstrap grants) are written to an append-only
audit_logstable.
2. Incident Response & Statutory Reporting
Diemen maintains an incident-triage workflow aligned with India’s DPDP Act, 2023 and applicable CERT-In cybersecurity directions. Upon confirming any security breach affecting personal data or tenant confidentiality, we revoke compromised tokens/keys, patch the root cause, preserve forensic audit logs, and notify impacted Restaurant Owners within 48 hours alongside required regulatory notifications.
3. Responsible Vulnerability Disclosure Program
We welcome good-faith reports from independent security researchers. Our machine-readable disclosure metadata is published at /.well-known/security.txt.
3.1 Scope & Rules of Engagement
- In Scope: Cross-tenant data access (IDOR), authentication/cookie bypass, privilege escalation, SQL/RPC injection, stored XSS, SSRF, license-key or webhook signature bypass, and Marcus prompt-injection leading to unauthorised state mutation on
dymenu. - Strictly Out of Scope: Volumetric DDoS/rate-limit flooding, automated scanners that degrade live restaurant service, phishing or social engineering of Diemen staff or partner restaurants, physical testing at restaurant premises, or placing fake orders on real live restaurants (create a test workspace or inspect static behaviour instead).
- Researcher Commitments: Stop at the minimum proof-of-concept needed to demonstrate impact; never view, modify, exfiltrate or retain another restaurant’s or diner’s data; and give us a reasonable window (up to 30 days, or mutually agreed for complex fixes) to remediate before any public disclosure.
3.2 Good-Faith Safe Harbor
If you conduct security research in good faith and strictly follow Section 3.1 above, Diemen considers your testing authorised, will not initiate civil action or law-enforcement complaints against you under the Information Technology Act, 2000 solely for circumventing technical controls to verify the reported flaw, and will gladly credit your discovery upon fix if you wish. (We do not currently run a paid cash bug-bounty programme unless separately announced.)
3.3 How to Report & Response Timeline
- Email supportdiemen@gmail.com with subject “Security Vulnerability Report”.
- Include the affected URL/API route, clear reproduction steps, HTTP request/response snippets (redacting any incidental third-party tokens), and impact assessment.
- Timeline: Initial acknowledgement within 24 hours, triage confirmation within 3 business days, and priority remediation based on severity.