Repository navigation
v0.19.1
Security
Hardening pass from a full OWASP Top 10 self-review (no external report this time).
- Removed the unused, UI-unreferenced
host_run_commandaction type — arbitrary shell execution gated only by session auth, with no allowlist. Nothing in the dashboard used it. - UI/agent token generation and cluster-ID generation now fail closed. Both previously fell back to a hardcoded value (
"infracanvas") or a predictable timestamp ifcrypto/randever errored — now they refuse to start instead. - Constant-time comparison for every token/secret check (UI token, agent bearer token, hub resume secret) — closes a theoretical timing side-channel across 5 call sites.
- WebSocket frame size limits added (32MB agent / 4MB browser) — an unbounded frame could previously exhaust memory.
- Security headers on every response — CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and HSTS-when-TLS.
- Per-IP rate limiting on every auth-checking endpoint (20 failed attempts/minute) — previously unlimited guesses were possible against the UI token, agent token, and resume secret.
install-agent.shnow checksum-verifies its first download against the release's publishedchecksums.txt, matching theupdate_agentin-app path fixed in v0.18.1.- kubeconfig parse-error logging now routed through the existing secret redactor as defense-in-depth.
Install on a Linux VM
curl -fsSL https://github.com/bytestrix/InfraCanvas/releases/latest/download/install.sh | bashThe installer brings up the dashboard and prints a public URL via Cloudflare's free quick-tunnel — no firewall config or signup required. Pass --no-tunnel if you'd rather bind a local port directly. See the README for full options.
Full Changelog: v0.19.0...v0.19.1