# Security policy

## Reporting a vulnerability

Please **do not open a public issue** for security problems.

Report them privately through GitHub: on the repository page open **Security → Report a vulnerability**
([direct link](https://github.com/chkalyvas/kvrocks-gui/security/advisories/new)). Include what you found, how to
reproduce it and the version or commit you tested.

You can expect an acknowledgement within a week. Once a fix is ready it is released and the advisory is
published, crediting you unless you prefer otherwise.

## Supported versions

This is an early project: only the latest release (and `main`) receives fixes.

## Scope

The GUI server proxies Redis-protocol traffic, so anyone who can reach it can reach the databases it can reach.
The intended deployment is local (`127.0.0.1`, the default) or behind authentication; see
[Security notes](README.md#security-notes). Reports are especially welcome on:

- ways around the read-only connection mode, the command allow-list or the same-origin WebSocket check;
- the server reading files or running commands it should not;
- cross-site scripting through key names or values shown in the UI.

Problems in upstream projects (Another Redis Desktop Manager, ioredis, Apache Kvrocks) are best reported to them
as well.
