v2.4.3
Security Hardening
- Timing-safe token comparison: PipeServer now uses
crypto.timingSafeEqual(matches DaemonPipeServer) - TCP port file permissions: Set
0o600to restrict access - Prototype pollution defense: Added JSON.parse reviver to McpRegistrar
- Shell injection prevention: Replaced
execSyncwithexecFileSyncfor PID lookups - CSPRNG for CDP port: Use
crypto.randomInt()instead ofMath.random() - Ref parameter sanitization: Validate ref params against
^[a-zA-Z0-9_-]+$before CSS selector insertion - Reproducible release builds: Changed
npm installtonpm ciin release workflow - Lockfile sync: Aligned package-lock.json version with package.json
Full Changelog: v2.4.2...v2.4.3