Only the latest published version of dx-server-js receives security fixes.
Please report vulnerabilities privately through GitHub Security Advisories instead of opening a public issue. Include the version, the command line used and the steps to reproduce.
--devis a development server. It exposes endpoints that write to disk (/dx-lang) and serves your sources without authentication. By default it binds to::(reachable from your local network, a warning is printed): use--network 127.0.0.1to restrict it to your machine. Never expose--devto the internet.--prodserves static files only (plus your optionaldx-server.middleware.js). Put it behind a reverse proxy with real certificates for public deployments.- The live-reload token only stops other websites from using the event stream. It is not an authentication.
- By default the port is freed by killing whatever process is using it. Use
--no-killon shared machines. dx-server.middleware.jsand--watch-commandrun your own code with your user permissions.