Skip to content

Conversation

clsv
Copy link

@clsv clsv commented Jul 7, 2025

What kind of change does this PR introduce?

Security improvement

This PR updates the API server configuration to bind only to 127.0.0.1, restricting access to localhost.

Previously, the API could listen on all interfaces (0.0.0.0), which allowed remote connections. Since massCode snippets may contain sensitive or private data, this could pose a serious security risk — especially in environments where a firewall is not enabled or improperly configured. Binding to localhost ensures that only local applications can access the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant