What happened
`~/.zgrok/config.yaml` stores your API key. Until this release zgrok wrote that file with whatever permissions your system's default gave it — on a typical macOS or Linux setup that is `0644`, meaning any other user account on the same machine could read it. The tools this sits alongside (`~/.ssh/id_*`, `~/.aws/credentials`) have always been owner-only.
How it affects you
Only if you have used zgrok on a machine you share with other user accounts — a build agent, a jump host, a shared workstation, a multi-user container. On a personal laptop where you are the only account, nothing could read the file that could not already read everything else you own. This does not affect the tunnel server, your tunnels, or anyone else's account. There is no evidence of any key being read this way, and no remote path to the file. Worth being clear about the limit of the fix: file permissions stop *another user* on the machine. They do not stop programs running as **you** — a build script, an editor extension, a dependency you installed. That is true of every credential file on your system, and it is why an API key you no longer need is best deleted rather than left lying around.
What to do
Nothing, for most people. Upgrade to v0.20.0 or later and zgrok tightens the file the next time it runs, printing one line to say it did. **If you have run zgrok on a shared machine and another account there is not one you trust,** rotate the key: create a new one at https://zgrok.io/dashboard/api-keys, run `zgrok config add-authtoken <new key>`, then revoke the old one from the same page.