Skip to content

Security: Orenda-Project/rumi-platform

Security

SECURITY.md

Security Policy

Reporting a Vulnerability

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

Response Timeline

  • Acknowledgment: within 48 hours
  • Initial assessment: within 5 business days
  • Fix timeline: depends on severity, typically within 30 days for critical issues

Scope

The following are in scope:

  • bot/ — WhatsApp bot application code
  • infrastructure/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

Safe Harbor

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

Supported Versions

Version Supported
Latest release Yes
Previous major Best effort

Accepted dependency advisories

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.

Security Practices

This project follows these security practices:

  • No credentials committed to the repository (enforced by CI and gitleaks)
  • Environment variables for all secrets (.env.template documents required keys)
  • Supabase Row Level Security on all tables
  • Input validation on webhook endpoints
  • Rate limiting on API routes

There aren't any published security advisories