Skip to content

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 14 Aug 19:20
· 59 commits to main since this release

Security

Hardening pass from a full OWASP Top 10 self-review (no external report this time).

  • Removed the unused, UI-unreferenced host_run_command action 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 if crypto/rand ever 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.sh now checksum-verifies its first download against the release's published checksums.txt, matching the update_agent in-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 | bash

The 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