Repository navigation
legends-obs v0.1.5
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
GetAsyncKeyStateclick ripple polling by default (enable_left_click = false,enable_right_click = false) inextras/cursor/legends_cursor_filter.lua, gatedffi.cdef/user32loading strictly behind explicit opt-in insidepoll_click_edges(), excluded GPL-2.0extras/cursor/**from the MIT npm package tarball, and added.luascanning toscripts/check_release.py. - Hardened
ffprobemedia inspection (validateLocalMediaPath, explicit-ibefore target path,15stimeout,4 MiBmax buffer) and addedsrc/safe-io.ts(readSafeTextFile,readSafeJsonFile,writeSafeFileAtomicwithlstatSyncsymlink refusal and byte bounds). - Enforced loopback host allowlist (
127.0.0.1,localhost,::1) on unencryptedws://connections unless--allow-remoteorwss://is explicitly used, omittedauthenticationresponses whenauthRequired === false, and capped incoming WebSocket frames at16 MiB. - Validated
--from-file(.jsonextension,64 KiBcap, workspace containment) and--from-shellbinary paths insrc/vision-switch.ts. - Aligned
src/manifest.ts,src/index.ts, anddocs/AGENT-RECIPE.md1:1 across all CLI subcommands and standardized state directory documentation (~/.legends-obs-kit,LEGENDS_OBS_KIT_HOME,.legends-obs-kit).