Skip to content

legends-obs v0.1.5

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:15
· 4 commits to main since this release

legends-obs v0.1.5

Security hardening, Windows Defender EDR compliance, and 1:1 CLI-to-recipe parity for @avalonreset/legends-obs.

What Changed

  • Disabled Win32 GetAsyncKeyState click ripple polling by default (enable_left_click = false, enable_right_click = false) in extras/cursor/legends_cursor_filter.lua, gated ffi.cdef / user32 loading strictly behind explicit opt-in inside poll_click_edges(), excluded GPL-2.0 extras/cursor/** from the MIT npm package tarball, and added .lua scanning to scripts/check_release.py.
  • Hardened ffprobe media inspection (validateLocalMediaPath, explicit -i before target path, 15s timeout, 4 MiB max buffer) and added src/safe-io.ts (readSafeTextFile, readSafeJsonFile, writeSafeFileAtomic with lstatSync symlink refusal and byte bounds).
  • Enforced loopback host allowlist (127.0.0.1, localhost, ::1) on unencrypted ws:// connections unless --allow-remote or wss:// is explicitly used, omitted authentication responses when authRequired === false, and capped incoming WebSocket frames at 16 MiB.
  • Validated --from-file (.json extension, 64 KiB cap, workspace containment) and --from-shell binary paths in src/vision-switch.ts.
  • Aligned src/manifest.ts, src/index.ts, and docs/AGENT-RECIPE.md 1:1 across all CLI subcommands and standardized state directory documentation (~/.legends-obs-kit, LEGENDS_OBS_KIT_HOME, .legends-obs-kit).