v0.1.2 — Security release
Security release. Three high-severity findings from the v0.1.1 audit. No public-API breakage; existing v0.1.1 installs should upgrade.
Security
- Viewer authentication for write endpoints — New
LITOPYS_VIEWER_TOKENenv var gatesPOST/PUT/DELETE /api/node*and quarantine accept/reject with constant-time Bearer comparison. Read endpoints stay open. Loopback without token → read-only mode. Non-loopback without token → refuses mutations. Web UI prompts for token on first 401, stores inlocalStorage. - Constant-time MCP HTTP token comparison —
checkBearerpreviously used!==; replaced withcrypto.timingSafeEqualafter a length-check. - Checksum verification in
install.sh— Release workflow now generatesSHASUMS256.txtfrom all compiled binaries.install.shfetches and verifies SHA-256 before placing the binary on disk. Fails closed on mismatch.LITOPYS_SKIP_VERIFY=1is available as an explicit override.
Fixed
- Stale
LITOPYS_VERSION=v0.1.0-alphaexample ininstall.shheader updated tov0.1.1.
See CHANGELOG for full details.