RoleMule is a self-hosted application that handles authentication, user profiles, resume uploads, and encrypted BYOK (bring-your-own-key) API keys. We take security reports seriously.
Security fixes are applied to the latest release on the main branch. Older tags and forks are not actively supported unless noted in a release announcement.
| Version | Supported |
|---|---|
Latest on main |
✅ |
| Older releases | ❌ |
If you are running a fork or a pinned older commit, please upgrade to the latest main before reporting an issue that may already be fixed.
Do not open a public GitHub issue for security vulnerabilities.
Report security issues privately using one of these channels:
- GitHub Security Advisories (preferred) — use Report a vulnerability on the Security tab.
- Direct contact — message the repository maintainer privately via their GitHub profile.
Public issues for security problems may be deleted or converted to private advisories without notice.
A helpful report includes:
- Summary — what is vulnerable and the potential impact (e.g. auth bypass, data exposure, injection, privilege escalation).
- Affected area — API route, UI page, Chrome extension, workflow agent, etc.
- Steps to reproduce — minimal sequence from a clean install when possible.
- Environment — OS, Docker vs local dev, browser (for UI/extension issues), and relevant config (redact secrets).
- Proof of concept — exploit details, request/response samples, or screenshots (please redact personal data and API keys).
In scope for this policy:
- Authentication, authorization, and session handling
- JWT validation, token revocation, and account lockout
- BYOK key encryption, storage, and transmission
- File upload validation (resumes, job description files)
- XSS, CSRF, SSRF, injection, and path traversal in the web app or extension
- Redis/PostgreSQL data exposure or privilege escalation
- CSP, CORS, and middleware misconfiguration with demonstrable impact
- Rate limiting bypass with security impact
Generally out of scope (unless chained with a vulnerability above):
- Missing security headers with no exploitable impact
- Denial-of-service requiring unrealistic resource exhaustion
- Issues in third-party services (Google Gemini, Google OAuth) — report those to the vendor
- Social engineering or physical access attacks
- Vulnerabilities in dependencies already fixed upstream — please confirm you are on the latest
main
We aim to:
- Acknowledge reports as soon as possible — typically within a few business days
- Assess severity and ask follow-up questions if needed
- Ship a fix for confirmed issues as soon as practicable; critical issues on
mainare prioritized - Credit reporters in the advisory or release notes when they wish to be named
Complex issues may take longer. We will keep you informed of progress.
We support good-faith security research. If you follow this policy — private disclosure, no data destruction, no access beyond what is needed to demonstrate the issue, and no public disclosure before a fix or agreed timeline — we will not pursue legal action against you for your research.
When running your own instance:
- Keep
DEBUG=falsein any shared or production environment - Set strong, unique values for
JWT_SECRETandENCRYPTION_KEY(generated automatically bymake setup/make start) - Do not commit
.envfiles or expose the app to the public internet without TLS and a reverse proxy - Rotate
JWT_SECRETonly after confirmingENCRYPTION_KEYis set — rotating JWT without encryption key corrupts stored BYOK keys - Review the README environment variables section and
.env.local.example
RoleMule runs continuous security checks on main:
| Check | Where | Notes |
|---|---|---|
| CodeQL | Code scanning | Python + TypeScript/JavaScript (ui/src/, extension/); config in .github/codeql/codeql-config.yml |
| Secret scanning | Secret scanning | Flags leaked API keys; use non-AIza test keys in tests |
| Dependabot | Dependabot alerts | CVE alerts + automated security update PRs |
| Ruff lint | GitHub Actions ci.yml |
Style + unused-import checks on every push |
| Security grep | GitHub Actions ci.yml |
Convention checks via scripts/ci-security-grep.sh |
| E2E (live) | GitHub Actions ci.yml |
Full Playwright suite when UI/backend/e2e paths change |
Contributors: run ruff check . locally before pushing. Dashboard XSS helpers live in ui/src/shared/dom-security.ts. Dynamic Python log values must use sanitize_log_value() / mask_email() — see .cursor/rules/codeql-security-scanning.mdc.
For general contribution and bug-reporting guidelines, see CONTRIBUTING.md.