If you discover a security vulnerability in Rumi, please report it responsibly.
Do not open a public GitHub issue for security vulnerabilities.
Preferred channel: open a private report via GitHub Security Advisories. The maintainer team is notified automatically.
Forks: replace this section with your own intake (private email or your fork's GitHub Security Advisories tab) before publishing this repository to a user-facing audience.
Include:
- Description of the vulnerability
- Steps to reproduce
- Affected versions or components
- Any potential impact assessment
- Acknowledgment: within 48 hours
- Initial assessment: within 5 business days
- Fix timeline: depends on severity, typically within 30 days for critical issues
The following are in scope:
bot/— WhatsApp bot application codeinfrastructure/supabase/— database schema and RLS policies.env.template— environment variable handling- Authentication and authorization flows
- Data handling and storage
The following are out of scope:
- Third-party services (Supabase, Railway, OpenRouter, WhatsApp Cloud API)
- Issues requiring physical access to infrastructure
- Social engineering attacks
We consider security research conducted in good faith to be authorized. We will not pursue legal action against researchers who:
- Make a good faith effort to avoid privacy violations, data destruction, or service disruption
- Only interact with accounts they own or with explicit permission
- Report vulnerabilities promptly and do not exploit them beyond what is necessary to demonstrate the issue
| Version | Supported |
|---|---|
| Latest release | Yes |
| Previous major | Best effort |
npm audit --omit=dev in bot/ reports advisories that come with the Matrix channel's SDK,
matrix-bot-sdk (0.8). On 2026-10-02 the audit counted 21 (3 critical, 7 high, 10 moderate, 1 low);
6 of them, and one severity increase, arrive through matrix-bot-sdk. It uses the deprecated request HTTP
client, which has a critical "Server-Side Request Forgery in Request" advisory and no fixed release,
and with it a nested form-data (critical), tough-cookie, request-promise and
request-promise-core (moderate). sanitize-html (moderate) is used only by the SDK's rich-reply
helper, which Rumi does not call, and matrix-bot-sdk itself is flagged (moderate) because of these.
We accept these for now. request only ever talks to one server: the homeserver in
MATRIX_HOMESERVER_URL, which the operator sets and runs. Every SDK call Rumi makes is a Matrix API
path on that server. The one piece of user-sent data that reaches it is an attachment's mxc://
address, which the SDK URL-encodes into a download path on the same homeserver; no full URL from a
message is ever fetched. Deployments without the Matrix channel never load the SDK. The move off
request is tracked upstream in
matrix-bot-sdk#90; we will update the SDK, or
replace it, when that lands.
This project follows these security practices:
- No credentials committed to the repository (enforced by CI and gitleaks)
- Environment variables for all secrets (
.env.templatedocuments required keys) - Supabase Row Level Security on all tables
- Input validation on webhook endpoints
- Rate limiting on API routes