Refusing to Wipe Yourself: RESP Safety When No Password Is Set
There is a well-worn genre of outage story that always opens the same way: a cache was stood up for a quick test, the Redis-protocol port was left on the default bind, no password was set because it was "just a test," and somewhere between a few minutes and a few days later every key was gone. Sometimes it is a misconfigured service discovery pointing production traffic at the test box. More often it is a background scanner on the public internet that found an open port, spoke the protocol, and sent FLUSHALL because that is exactly what the scanners are written to do. The store did what it was told. It had no reason not to — nobody had told it to be careful.
That failure is not really a Redis bug; it is a default. A data store that speaks an unauthenticated protocol and binds to every interface the moment it starts has made a choice on your behalf, and the choice is "trust whoever can reach the socket." For a local development convenience that is fine. For anything with a routable address it is a standing liability, and the liability is worst in the exact window where it is least watched: the first few minutes of a new deployment, before auth is wired up, when the store is already listening and already destroyable.
Zaris inverts that default. When the RESP (Redis-protocol) endpoint is enabled but no password is configured, the store does two things without being asked: it binds the listener to loopback only, and it refuses the commands that can irreversibly destroy data. You have to opt out of that safety to get the wide-open behaviour, and opting out is explicit and auditable. This post is about what that hardening is, where it lives, and how to lift it on purpose.