GitNexus/gitnexus-claude-plugin/hooks
Gergo Magyar 78b6541f5b fix(hooks): harden cross-platform safety and add regression tests
- Remove shell:true from CJS hook npx fallback, use npx.cmd on Windows
- Use sendHookResponse() consistently in both hook variants
- Fix setup.ts path escaping with JSON.stringify for safe interpolation
- Add path.isAbsolute(cwd) guards against crafted stdin input
- Reduce PreToolUse CLI timeout from 8s to 7s
- Truncate debug error messages to 200 chars
- Add 73 regression tests covering shell injection, cwd validation,
  dispatch routing, staleness detection, and cross-platform spawning
2026-03-07 08:46:07 +00:00
..
gitnexus-hook.js fix(hooks): harden cross-platform safety and add regression tests 2026-03-07 08:46:07 +00:00
hooks.json fix(hooks): harden cross-platform safety and add regression tests 2026-03-07 08:46:07 +00:00