NetworkLock privacy and security
What NetworkLock stores, which connections it makes, what the usage statistics contain and how to report a vulnerability.
On this page
What NetworkLock stores#
On disk, only its config files: config.yml on every proxy and game server, and messages.yml on proxies. There is no database. See Where the files go.
In memory, while the server or proxy runs:
- on game servers, the used signatures, for about 35 seconds each, so they cannot be used twice;
- on proxies, the login limiter's counters and temporary blocks per IP address;
- the counters shown by
/networklock stats.
All of it is gone after a restart.
Keys#
- A proxy key is 32 random bytes. It stays in the config files and never travels over the network. Only signatures do.
- Keys are never logged or shown. Logs and commands only show a short fingerprint.
- Config errors never print the value that caused them.
- On Linux, NetworkLock creates its config files readable only by their owner where the file system allows it.
doctorwarns if a config is readable by other users. - You can keep keys out of
config.ymlwithenv:orfile:. See Keys from environment variables or files.
Connections it makes#
NetworkLock makes two outgoing connections, both over HTTPS and both on by default. Each one shows your server's IP address to the service it talks to. Neither follows redirects, and errors never affect the server.
| Connection | Where | How often | Turn off |
|---|---|---|---|
| Update check | GitHub API (api.github.com) | 5 seconds after start, then every 12 hours | updates.check: false |
| Usage statistics | api.kori.my | 5 minutes after start, then once a day | metrics.enabled: false |
The update check only asks GitHub for the newest NetworkLock release. It sends nothing about your server except the plugin version in the User-Agent header.
Both stay off while no valid config is loaded. Turning either off, also with /networklock reload, stops its traffic.
Usage statistics#
Once a day each proxy and game server sends one POST to https://api.kori.my/networklock/v1/ping, so kori.my can show how many servers NetworkLock protects. It contains:
- an anonymous ID: a one-way hash made from the secret key bytes, so the same server is counted once. It cannot be turned back into a key, and it cannot be worked out from the key fingerprints shown in logs;
- the NetworkLock version;
- the platform, for example
velocity,bungeecord,paperorsponge; - whether it is a proxy or a game server.
No IP addresses, player names, server names or keys are sent. The response is ignored. Set metrics.enabled: false and run /networklock reload to turn it off. See Usage statistics and the Privacy Policy.
Logs#
- Refused logins are logged with the player name, the reason and what to fix. Player names are cleaned first, so a crafted name cannot fake console lines.
- Refused and limited logins are logged at most 20 times every 10 seconds, then one
Suppressedsummary. - With
logging.debug: true, the proxy logs every connection it signs with the player name, and game servers log every accepted player with name, UUID and profile data. Leave debug off when you do not need it. logging.redact-addresses: truehides the end of IP addresses in NetworkLock's log lines.
Keep your network safe#
- Firewall your game servers so only your proxies can reach them.
- Keep the link between proxy and game server on a private network or VPN.
- Give every proxy its own key and every game server its own
server-id. - If a key may have leaked, remove it from every game server and run
/networklock reload. See Changing a key without downtime. - Keep server clocks in sync.
- Give
networklock.adminonly to staff.
What NetworkLock does not protect against is on Limitations.
Report a vulnerability#
Do not open a public issue. Report it privately on GitHub, in the Security tab under "Report a vulnerability", or as described in Report a security issue. Include the NetworkLock version, your server and proxy versions, your config with the keys removed, and the steps to reproduce. You should get a reply within 3 days. Never send real keys.
Source: NetworkLock v1.0.1 SECURITY.md, docs/THREAT-MODEL.md, docs/SECURITY-AUDIT.md, UsageStats.java, UpdateChecker.java and docs/CONFIGURATION.md, checked 9 November 2026.